一键导入
commit-messages
Generate clear commit messages following project conventions. Use when writing commit messages, reviewing staged changes, or preparing releases.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate clear commit messages following project conventions. Use when writing commit messages, reviewing staged changes, or preparing releases.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Audit Ansible playbooks, roles, collections, and inventories for production readiness. Use when reviewing an Ansible repo, before merging IaC PRs, before promoting a role to a collection, or when the user mentions ansible-lint, idempotency, vault, or molecule.
Enter planning mode — interview the user, design a phased approach, and produce an implementation plan before writing code.
Execute an approved /plan unattended — phases, agents, commits — stopping only on hard safety failures (hook exit 2, sandbox/network deny, repeated test failures). Use after /plan when the user wants hands-off execution.
Run a full read-only audit of the current project — code review, security analysis, and documentation freshness check. Use to assess project health without making changes.
Start implementing a feature with user story validation, phased execution, and quality gates. Use after planning is complete.
Take a project from "it works" to "it's shippable." Runs audit, fixes findings, walks the Definition of Done checklist, and generates a release readiness score. Use before releasing, after feature-complete, or when quality feels prototype-y.
| name | commit-messages |
| description | Generate clear commit messages following project conventions. Use when writing commit messages, reviewing staged changes, or preparing releases. |
| model | haiku |
| allowed-tools | Bash(git *) |
Generate consistent, informative commit messages following project conventions.
git commit commandgit diff --staged to see what's being committedgit log --oneline -5 to match existing styleBrief summary (50 chars or less)
Detailed explanation if needed (wrap at 72 chars):
- What changed
- Why it changed
- Any breaking changes
- Related issues/tickets
Co-Authored-By: Claude <noreply@anthropic.com>
| Action | When to use | Example |
|---|---|---|
Add | Wholly new feature | Add user authentication |
Update | Enhancement to existing | Update search to include fuzzy matching |
Fix | Bug fix | Fix null pointer in cart |
Remove | Deletion | Remove deprecated API endpoints |
Refactor | Code restructure | Refactor database layer |
Move | Relocation | Move utils to shared package |
Fixes #123 to close issuesRelated to #456 to reference without closingCo-Authored-By: Claude <noreply@anthropic.com>Use HEREDOC for multi-line messages:
git commit -m "$(cat <<'EOF'
Brief summary here
Detailed explanation if needed.
Co-Authored-By: Claude <noreply@anthropic.com>
EOF
)"
Add dark mode toggle to settings
Implements user preference for dark/light theme with
localStorage persistence.
Co-Authored-By: Claude <noreply@anthropic.com>
Fix cart duplicate items on rapid clicks
Add debounce to add-to-cart button and check for
existing items before insertion.
Fixes #234
Co-Authored-By: Claude <noreply@anthropic.com>
Refactor authentication to use middleware pattern
- Extract JWT handling to dedicated service
- Move session management from controller
- Add refresh token rotation
Co-Authored-By: Claude <noreply@anthropic.com>
When generating a commit message: