git-staged-review-commit
Installation
SKILL.md
Git Staged Review Commit
Overview
Review staged diffs, decide whether to fix issues or proceed, and if proceeding generate a structured Chinese commit message and commit the staged changes.
Workflow
1) Inspect the staged changes
- Run
git status -sbandgit diff --staged(orgit diff --staged --statfirst for a quick scan). - If nothing is staged, ask the user to stage files and stop.
2) Review the staged diff
- Focus on bugs, behavioral regressions, missing tests, and risky changes.
- If there are findings, list them clearly with file/line references.
- If no findings, explicitly say there are none.
- Review output must be in Chinese.