commit
Create a git commit with an impact-focused conventional commit message referencing the owning spec id.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Create a git commit with an impact-focused conventional commit message referencing the owning spec id.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Initialize a session by executing the cross-agent New Sessions protocol declared in AGENTS.md.
One-time contributor setup. Install the spec-spine CLI, verify the Node toolchain, and verify the governed loop (compile, index check, lint, couple) so /init can report lifecycle and structural counts.
Review the current diff for correctness bugs, content-rule violations, and spec drift, then emit an evidence-oriented findings list
Governed pre-PR sequence: run the gate locally, review the diff, conventional commit on a feature branch, open a PR via gh
| name | commit |
| description | Create a git commit with an impact-focused conventional commit message referencing the owning spec id. |
| allowed-tools | Bash |
Create a git commit following these steps.
git status
git diff --cached
git diff
git log --oneline -5
Identify what is staged vs unstaged, the nature of each change (feature, fix, refactor, docs, test, chore), and the user-visible impact. Match the scoping conventions visible in recent history.
If any specs/*/spec.md or other hashed input changed (standards/**,
.github/workflows/**, .claude/**, spec-spine.toml, package.json),
regenerate and stage the committed .derived/ shards with the change:
spec-spine compile && spec-spine index
Before every commit the gates must be green (AGENTS.md § Working the backlog):
spec-spine compile && spec-spine index && spec-spine lint --fail-on-warn && spec-spine index check
Plus the site build once spec 001 lands: npm ci && npm run build. Halt on
any failure; do not commit over a red gate.
Format: type(scope): subject
Type (required): feat, fix, refactor, docs, test, chore.
The scope is the owning spec id when the work belongs to a spec, e.g.
feat(001):, docs(002):, per the backlog protocol in AGENTS.md; use a
topical scope (chore(claude):) for work with no owning spec.
Subject line:
Good vs bad:
refactor: extract layout helperfix(001): docs route no longer 404s on the placeholder pagefeat: add new pagefeat(002): product family table with licenses and repo linksBody (optional): separate from the subject with a blank line. Use dash-prefixed bullets only for multiple distinct changes. Keep lines under 72 characters. Explain how only when it is non-obvious; the subject already covers what and why.
Issue linking: Fixes #NNN or Closes #NNN on its own line after
the body, when applicable.
Use git add with specific paths. Include the regenerated .derived/
shards when a hashed input changed. Do not use git add -A or git add .
unless every changed file belongs in this commit. Never stage files that
look like secrets (.env, credentials, tokens).
Pass the message via heredoc:
git commit -m "$(cat <<'EOF'
type(scope): subject line here
Optional body with details.
EOF
)"
Run git status to confirm the commit succeeded and the tree is in the
expected state.
Co-Authored-By or any AI/Claude attribution line.$ARGUMENTS