jyn514/dotfiles/commit-quality

Claude Code and agent skill by jyn514/dotfiles

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Write or review commit messages, split work into atomic commits, and prepare a finished change for commit. Use whenever creating commits, deciding commit boundaries, proposing messages, or judging commit quality.

Install

npx vskill@latest install jyn514/dotfiles/commit-quality

SKILL.md

The same SKILL.md was published earlier as jyn514/dotfiles/commit-quality.

Commit Quality

Write for the next person who will debug or review the change. Use a concise, imperative subject that names the affected behavior; do not merely label the diff.

When drafting, revising, or reviewing a commit message, follow holistic-writing's shared editorial pass. Use the commit's diff, intended reader, and scope established here rather than restarting task setup.

If the diff does not make the reason, failure mode, constraints, or verification obvious, explain the relevant points in the body:

  • the user-visible or operational problem;
  • why the previous behavior was wrong;
  • the important design choice or constraint behind the fix;
  • verification only when it records non-obvious evidence, an unusual test boundary, or a material limitation.

Record only what a reader would otherwise have to reconstruct. Do not narrate files or repeat the subject. Do not append a routine Verification: section or command list. Ordinary test, lint, and formatting results belong in the review report or CI record, not the commit message.

For bug fixes, describe the causal chain, not just the symptom. For tests, say what regression they would have caught. For security changes, state which authority is granted or restricted and why the boundary remains safe. Mention verification when it establishes something durable and non-obvious, such as a production reproduction, migration result, compatibility limit, or test environment that future readers might otherwise assume was covered.

Before committing, inspect the complete diff and check the repository's existing issue tracker for affected tickets. Reconcile their status with the actual acceptance of the change using the tracker's procedures and your existing authority; do not close partial work or initialize a tracker just for this check.

Include affected remote issue references in the commit description, using syntax supported by the hosting platform and a repository-qualified identity when needed. Use a closing reference only when the full issue is resolved, and a nonclosing reference for partial or related work; for example, on GitHub use Fixes #123 or Refs #123 respectively. Closing behavior depends on the platform and merge context; a reference does not establish that an issue is already closed.

Then write the message to describe the finished change.

Atomic commits

Partition the owned diff by purpose before committing. Each commit should be independently coherent: it establishes one behavior, invariant, migration step, or policy change and includes the tests and documentation needed to make that result complete.

Do not confuse atomic with small. Keep inseparable behavior, tests, generated artifacts, and user-facing documentation together. Separate changes that can be reviewed, reverted, or explained independently; never absorb unrelated pre-existing work merely to leave a clean working tree.

For files with pre-existing edits, use jj-workflow's split procedure to commit only your changes.

For commits that exclude other edits, settle the intended parent and selected changes before final acceptance. Resolve required owned prerequisites in that candidate before requesting independent acceptance review. An ownership diff against a dirty baseline is not necessarily a patch against that parent. When excluded edits could affect a check, run it in disposable state containing only the intended parent plus selected changes. Verify that the committed content matches the tested candidate. Exploratory and component checks may run earlier. Reuse applicable evidence; selecting the candidate alone does not justify another full-suite run. Earlier candidate preparation replaces late reconstruction and retesting. Ordinary whole-path commits without excluded dependencies need no extra candidate-building stage.

Order commits so every intermediate revision is valid under the repository's required checks. Preparatory refactors must be useful and behavior-preserving on their own, not incomplete pieces whose only justification appears in a later commit.

Paragraph breaks

Pass each paragraph as a separate -m argument so Jujutsu inserts real blank lines:

bash
jj commit path/to/file \
-m 'Fix clipboard publication' \
-m 'Explain the failure mode and design choice.' \
-m 'Record any verification that matters later.'

Do not write -m 'First paragraph.\n\nSecond paragraph.'; ordinary shell quotes preserve \n literally. When constructing one message dynamically, generate actual newline bytes and pass the result as one quoted argument:

bash
message=$(printf '%s\n' 'Subject' '' 'First paragraph.' '' 'Second paragraph.')
jj commit path/to/file -m "$message"

After committing, inspect description.escape_json() when exact whitespace matters; real paragraph breaks appear as \n\n, while accidental literal backslashes appear as \\n\\n.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/jyn514/dotfiles/commit-quality/badge)](https://verified-skill.com/skills/jyn514/dotfiles/commit-quality)

Something wrong with this skill or its page? Tell us.