Agent skill
git-commit-master
按照 Conventional Commits 规范执行高质量的 git 提交,处理暂存、消息生成及钩子修复。
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/git-commit-master
SKILL.md
核心逻辑
- 分析变更: 必须运行
git diff --cached分析已暂存内容。若无暂存,先询问用户是否全选。 - 规范化消息: 严格执行
<type>(<scope>): <subject>格式。feat: 新功能fix: 修补 bugdocs: 文档变更refactor: 重构chore: 其他更改
- 需要用户检查:
- 执行前询问用户确认变更。
使用场景
- 用户输入 "commit", "提交", "保存更改"。
- 完成一个独立的功能模块后建议使用。
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?