chemitaro/spec-dock/git-commit-conventional-ja
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Delegate git commit work to an appropriate sub-agent and create safe Japanese multi-line Conventional Commits messages based on the actual staged diff. Use when Codex is asked to inspect git changes, choose an appropriate Conventional Commits type/scope/subject/body/footer, handle pre-commit or commit-hook failures safely, and return the resulting commit hash and message.
Install
npx vskill@latest install chemitaro/spec-dock/git-commit-conventional-jaSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
Git Commit Conventional JA
Inspect the actual commit target before writing anything. Read references/conventional-commits-v1.0.0.md only when exact normative wording, edge cases, or allowed footer syntax matter.
Delegation Guidance
- Prefer delegating commit work to an appropriate sub-agent instead of spending main-session context on routine git operations.
spark_workerorutility_workerare usually good fits for this kind of bounded git task. Choose whichever best matches the task size and complexity.- When delegating, pass the intended commit scope, any staging constraints, whether hook failures may be investigated, and the required return values: commit hash, exact committed message, or a clear blocker.
Workflow
- Inspect
git status --short, staged diff stats, and staged hunks first. Usegit diff --cached --statandgit diff --cachedas the default source of truth. - If nothing is staged, inspect unstaged changes before acting. Do not silently stage unrelated files; stage only the intended scope or ask when the target commit set is unclear.
- Choose
type, optionalscope,summary, bullet body, and optional footer from the reviewed diff, not from filenames or branch names alone. - If the staged diff mixes unrelated concerns, split the work into multiple commits instead of forcing one broad message.
- Write the message in a file and use
git commit -F <file>to avoid shell-escaping mistakes when the delegated worker or fallback executor performs the commit. - After commit, return the commit hash and the exact committed message.
Message Rules
- Keep Conventional Commits tokens exactly as specified:
feat,fix,BREAKING CHANGE. Keep these tokens in English and preserve required casing. - Write the human explanation in Japanese: summary, bullet body text, and footer values should be Japanese unless a spec token or identifier must stay as-is.
- Use this shape:
- Keep
scopeoptional and short. Omit it when it does not add useful context. - Prefer concise Japanese summaries on the first line. Keep the body as flat bullet points that explain the reviewed changes and their intent.
- Use only footers grounded in the task, typically
BREAKING CHANGE:,Refs:, orCloses #.... - Common types:
feat,fix,docs,refactor,test,chore,build,ci,perf,revert. For exact rules and footer grammar, consult the reference.
Breaking Change Judgment
- Treat the commit as breaking when it changes a public API, CLI contract, schema, required configuration, data shape, default behavior, or any other behavior that can require downstream action.
- Use
!immediately before:in the header when the change is breaking. - Add a
BREAKING CHANGE:footer whenever the reader needs a concrete migration or impact note. Prefer including the footer even when!is already present if the impact needs explanation. - If the impact is ambiguous after inspecting the diff and nearby docs/tests, pause and clarify instead of guessing.
Hook Failure Handling
- If
git committriggers hooks and they fail, do not bypass them with--no-verifyunless the user explicitly requests that. - Capture the failing command or output, fix what is safely fixable, rerun the relevant checks, and retry the commit.
- If the failure is environmental or outside the reviewed change set, explain the blocker clearly and stop before creating a misleading commit.
Minimal Command Pattern
Security
- Security scanPassed, 90 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.
Extension points
hookPre/post lifecycle hooks
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
[](https://verified-skill.com/skills/chemitaro/spec-dock/git-commit-conventional-ja)