codevira: Skill for Claude Code

.claude/skills/open-source-quality/SKILL.md

open-source-quality is a skill for Claude Code from sachinshelke/codevira. It costs 101 tokens per session (1,733 once invoked), scanned A, original, MIT.

A checklist for maintaining the quality of an open-source code project before committing, pushing, or opening a pull request. It covers commit wording, focused changes, code style, documentation, tests, and changelog updates.

In plain words
What is it for?
Use it when finalizing a change, creating a conventional commit, checking code quality, or preparing a pull request.
Why use it?
It catches common maintenance and review problems before changes become part of the shared project history.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is sachinshelke/codevira's own configuration. It tells Claude Code how to work on codevira itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything codevira configures →

Reuse

Borrowing it

Nothing to install: this file belongs to sachinshelke/codevira. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/sachinshelke/codevira/main/.claude/skills/open-source-quality/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/sachinshelke/codevira

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for open-source-quality

README.md
[![agentmods](https://agentmods.dev/badge/skills/sachinshelke/codevira/open-source-quality/github.svg)](https://agentmods.dev/skills/sachinshelke/codevira/open-source-quality)
Your own site
<a href="https://agentmods.dev/skills/sachinshelke/codevira/open-source-quality"><img src="https://agentmods.dev/badge/skills/sachinshelke/codevira/open-source-quality/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for open-source-quality

Your own site · 80×15
<a href="https://agentmods.dev/skills/sachinshelke/codevira/open-source-quality"><img src="https://agentmods.dev/badge/skills/sachinshelke/codevira/open-source-quality.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 101 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,733 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00101 $0.01733
Opus 5.5 $0.00040 $0.00693
Sonnet 5.5 $0.00020 $0.00347
Haiku 4.5 $0.00010 $0.00173

Measured 1mo ago against content hash f6dbe789f187, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

open-source-quality scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/open-source-quality/SKILL.md · 228 lines

How it starts

The opening of the file, as written. The whole thing — 228 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Open-source quality — non-skippable checks at commit time

The codevira repo is open-source. Every commit ends up in git log that future contributors read to learn the codebase. Bad commits = unreadable history = onboarding pain for everyone who comes after.

When this skill triggers, walk through the checklist below BEFORE calling the Bash tool with git commit. Skip a step → commit is not ready.

Commit message discipline

Conventional Commits format

Every commit message follows: type: short imperative summary

Types:

  • feat: — new feature (user-visible)
  • fix: — bug fix (user-visible)
  • docs: — documentation only
  • refactor: — code restructure, no behavior change
  • test: — adding or fixing tests
  • chore: — build, tooling, deps
  • release: — version bump for publishing
  • perf: — performance improvement
  • style: — formatting / whitespace

Subject line:

  • Imperative mood: "add foo" not "added foo"
  • < 70 characters
  • No trailing period
  • Lowercase after the type

Atomic commits

One logical change per commit. Examples:

  • ✗ "fix bug and refactor tests and update docs" → 3 commits
  • ✓ "fix(indexer): single matcher between configure and index"
  • ✓ "test(indexer): regression test for split-config bug"
  • ✓ "docs: explain shared file matcher in indexer README"

If your diff spans 3 unrelated concerns, split into 3 commits before pushing. Use git add -p (interactive staging) or commit-by-file.

Body explains WHY

Subject is WHAT. Body is WHY.

fix(indexer): single matcher between configure and index

Previously configure used discover_source_files() but index used a
separate hand-rolled matcher in cmd_incremental. They diverged: docs-
only repos passed configure but failed indexing silently.

The split was a latent bug since v1.6 when discover_source_files
landed. Unifying eliminates the entire class of "discovery vs
indexing" mismatches surfaced as Bug A in the 2026-05-15 audit.

Co-Authored-By: <name>

Code style

Before commit, ALL of these must pass:

Read the full file on GitHub · 228 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 228 lines · 101 tokens per session scan A f6dbe789f187

Subscribe to this mod's changes

open-source-quality is a skill published in the GitHub repository sachinshelke/codevira (12 stars, last pushed 1mo ago), licensed MIT. It adds 101 tokens to every session and 1,733 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories