skills/git-commit/SKILL.md
Use when inspecting local git changes, drafting or validating Conventional Commit messages, checking type or scope choices, explaining breaking changes, or creating a focused commit from the actual diff.
npx skillsauth add narumiruna/agent-skills git-commitInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Inspect the actual diff before writing the message. Prefer one coherent commit per intent, then map that intent to a Conventional Commits title and only add extra sections when they carry concrete information.
Read references/conventional-commits.md when the type is ambiguous, when you need trailers or breaking-change wording, or when the user asks for exact format details.
git status --short. If the user asks for a commit, inspect git diff --cached first; inspect git diff too when unstaged changes might affect the commit boundary.<type>[optional scope][!]: <description>. Keep the description short, specific, and grounded in the diff.BREAKING CHANGE:.feat for a new capability and fix for incorrect behavior or regressions.refactor when behavior should stay the same, and docs when only documentation changes.Co-authored-by, Generated-by, Created-by, Coding-Agent, model names, tool names, or agent attribution footers.references/conventional-commits.md: exact format, common types, footer rules, breaking-change wording, and examples.development
Maintains concise repository MEMORY.md notes for gotchas, stale memory corrections, and durable user preferences. Use at the start of repository conversations, when the user mentions MEMORY.md, when an error should be remembered to avoid repeating it, or when MEMORY.md content may be wrong.
testing
Use only when the user explicitly names the work-log-writer skill; never auto-activate from generic work log, daily log, EOD summary, status update, or date-range summary requests.
development
Use when implementing non-trivial code changes that should follow TDD (write a failing test first, make the smallest passing change, then refactor safely).
tools
Use when designing, implementing, reviewing, or debugging Codex CLI hooks, including `hooks.json`, `.codex/hooks.json`, feature-flag setup, matcher behavior, event-specific stdin/stdout payloads, and hook scripts for `SessionStart`, `PreToolUse`, `PostToolUse`, `UserPromptSubmit`, or `Stop`.