Agent skill
git-commit-master
按照 Conventional Commits 规范执行高质量的 git 提交,处理暂存、消息生成及钩子修复。
Install this agent skill to your Project
npx add-skill https://github.com/lordhamster-dev/dotfiles/tree/main/crush/skills/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.
obsidian
This skill should be used when working with Obsidian, a personal knowledge management and note-taking application. Use when the user wants to manage notes, search the vault, create or edit files, manage tasks, handle daily notes, work with tags/properties/links, or control Obsidian itself via the CLI.
scaffold-exercises
Create exercise directory structures with sections, problems, solutions, and explainers that pass linting. Use when user wants to scaffold exercises, create exercise stubs, or set up a new course section.
handoff
Compact the current conversation into a handoff document for another agent to pick up.
git-guardrails-claude-code
Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute. Use when user wants to prevent destructive git operations, add git safety hooks, or block git push/reset in Claude Code.
obsidian-vault
Search, create, and manage notes in the Obsidian vault with wikilinks and index notes. Use when user wants to find, create, or organize notes in Obsidian.
edit-article
Edit and improve articles by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, or improve an article draft.
Didn't find tool you were looking for?