一键导入
suggest-commits
Summarize uncommitted changes and suggest logical commit groupings with messages. Use before committing to plan clean, atomic commits.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Summarize uncommitted changes and suggest logical commit groupings with messages. Use before committing to plan clean, atomic commits.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | suggest-commits |
| description | Summarize uncommitted changes and suggest logical commit groupings with messages. Use before committing to plan clean, atomic commits. |
| allowed-tools | Bash, Read, Grep, Glob |
Analyze the current working tree and propose a commit plan with atomic, logical groupings.
git status and git diff (staged + unstaged) to understand all changes## Commit Plan
### Commit 1: <message>
Files:
- path/to/file1
- path/to/file2
Rationale: <why these belong together>
### Commit 2: <message>
Files:
- path/to/file3
Rationale: <why these belong together>
---
Unstaged/untracked files not included: <list if any, with reason>
Do NOT run git add or git commit. Only analyze and suggest.
Critically challenge the current changes. Ask probing questions about edge cases, design decisions, and potential issues. Do not approve until all concerns are addressed.
Test-driven development workflow. Write failing tests first, then implement the minimum code to make them pass. Use when implementing features or fixing bugs.
Scan recently changed files for tech debt — dead code, duplication, bloated abstractions, and stale comments. Run at the end of a session to catch agent-introduced bloat.