一键导入
commit-conventions
Use when making git commits. Conventional commit format and rules.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when making git commits. Conventional commit format and rules.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when reviewing architecture decisions. C4 model, dependency inversion, hexagonal boundaries.
Use during discuss-slice and plan-slice to stress-test a spec or plan against domain vocabulary before approval.
Use during research-slice to build disposable experiments that answer technical uncertainty.
Use during project:init to scaffold repo-level agent configuration (CLAUDE.md, AGENTS.md, tracker labels).
Use when debugging. 4-phase investigation, root cause, minimal fix.
Use when implementing features/fixes. Iron law: ¬∃ production code without failing test.
| name | commit-conventions |
| description | Use when making git commits. Conventional commit format and rules. |
| version | 1.0.0 |
| tags | ["process","git"] |
∀ git commits.
<type>(<scope>): <summary>| Type | When |
|---|---|
feat | New feature ∨ capability |
fix | Bug fix |
refactor | Code restructuring without behavior change |
test | Adding ∨ updating tests |
docs | Documentation changes |
chore | Tooling, config, dependencies |
Scope: feature work → auth/login | module → api/users | general → omit scope
feat(auth/login): add user validation
fix(auth/login): handle null email in signup
test(auth/login): add failing spec for email validation
docs(api): update API documentation
revert(auth/login): undo broken migration
chore: update dependencies
PR titles become the squash-merge commit on main — same conventional-commit rules apply:
| Kind | Format | Example |
|---|---|---|
| Slice PR | <type>(S<NN>): <summary> | feat(S03): /pi-rules doctor diagnostic CLI |
| Milestone PR | <type>(M<NN>): <name> | feat(M01): rule discovery expansion |
Always squash-merge — never merge-commit. Merge-commit messages
(Merge pull request #N from …) are non-conventional and break release tooling.
git add . ¬git add -A)Enforced by lefthook commit-msg hook. ¬bypass with --¬-verify.