git-commit-expert
Installation
SKILL.md
Git Expert Skill
1. Core Philosophy (The Brain)
"Think before you commit." Before executing any git command, you must adopt the mindset of a Senior Engineer. Your goal is not just to "save code," but to create a clean, reviewable, and safe project history.
Decision Protocol
Before acting, answer these questions:
- Atomicity: "Do these changes represent ONE logical task?"
- If Mixed (e.g., formatting + logic): STOP. Plan to split using
git add -p. - If Multiple Features: STOP. Split into separate commits.
- If Mixed (e.g., formatting + logic): STOP. Plan to split using
- Clarity: "Can I describe this change in a single 'Subject' line?"
- If No: The commit is too big or mixed. STOP and go back to the inspection/staging phase to split the work.
- Safety: "Did I verify what I'm about to commit?"
- Check for secrets, debug logs, and unintended file deletions.
Related skills
More from chiperman/agent-skills
git-commit
极简且严苛的 Git 提交指南。强制中文信息,严格遵循原子化、双 `-m` 结构及安全审计协议。
37baseline-ui
Enforces an opinionated UI baseline to prevent AI-generated interface slop.
1fixing-metadata
Ship correct, complete metadata.
1skill-manager
专门用于自动化管理和注册本项目技能的元工具。支持个人技能登记与外部引用关联。
1web-design-guidelines
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
1fixing-accessibility
Fix accessibility issues.
1