commit
Create a git commit with an impact-focused conventional commit message.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Create a git commit with an impact-focused conventional commit message.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
One-time contributor setup. Install spec-spine 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 and spec drift, then emit an evidence-oriented findings list
Initialize a session by executing the cross-agent New Sessions protocol declared in AGENTS.md.
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. |
| 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.
Never commit with the gates red. Run:
spec-spine compile && spec-spine index && \
spec-spine lint --fail-on-warn && spec-spine index check
After spec 002 lands, code changes also need the chassis gates green:
npm run typecheck && npm test.
If any specs/*/spec.md or hashed input (manifests, standards/**,
workflows, .claude/**) changed, compile/index regenerate the
committed .derived/ shards: stage them with the change that produced
them, never as a separate follow-up commit.
Format: type(scope): subject
Type (required): feat, fix, refactor, docs, test, chore.
Use the spec id as the scope when the work belongs to a backlog spec, e.g.
feat(004): ... (the AGENTS.md convention); otherwise a clarifying area
scope, e.g. docs(standards):, chore(claude):.
Subject line:
Good vs bad:
refactor: extract helper for diagnostic formattingfix(005): factory no longer stalls on an empty template.tomlfeat: add new endpoint handlerfeat(004): tenant creation keyed off installation_idBody (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. Do not use git add -A or git add .
unless every changed file belongs in this commit. Include the regenerated
.derived/ shards when a hashed input changed. Never stage files that
look like secrets (.env, credentials, tokens, keys/).
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