Agent Skills
› FradSer/dotclaude
› commit
commit
GitHub使用标准 Git 命令创建符合 Conventional Commits 规范的原子化提交。通过检查状态、暂存文件、生成规范消息并执行提交,确保代码变更记录清晰整洁。
Trigger Scenarios
用户要求 'commit' 或 'git commit'
用户要求创建提交或处理已暂存/未暂存的更改
Install
npx skills add FradSer/dotclaude --skill commit -g -y
SKILL.md
Frontmatter
{
"name": "commit",
"description": "Creates clean, conventional git commits using standard git. Use when the user asks to \"commit\", \"git commit\", \"create commit\", or wants to commit staged or unstaged changes.",
"allowed-tools": [
"bash"
],
"argument-hint": "[optional commit message or instructions]",
"user-invocable": true
}
Commit Skill (Standard Git)
Create clean, atomic Conventional Commits using standard git commands.
Workflow
- Inspect status and diff:
git status --porcelain git diff --staged git diff - Stage files:
Stage relevant modified or untracked files explicitly:
git add <file1> <file2> ... - Formulate Conventional Commit Message:
Follow the specification:
<type>(<optional scope>): <short description>Types:feat,fix,docs,style,refactor,perf,test,build,ci,chore. - Commit:
Execute standard
git commit:
If a co-author trailer is required or requested, followgit commit -m "<type>(<scope>): <summary>"../../references/coauthor-attribution.md.
Version History
- 6f2a0b2 Current 2026-08-20 10:58


