milad-ahmd/agent-skills/commit-craft
Claude Code and agent skill by milad-ahmd/agent-skills
- community
Checking that the SKILL.md file is still in the repository.
Turns messy working-tree changes into clean, atomic Conventional Commits, splitting unrelated changes into separate commits with clear messages. Use when the user asks to commit, write a commit message, split changes into commits, or clean up git history before a PR.
Install
npx vskill@latest install milad-ahmd/agent-skills/commit-craftSKILL.md
The same SKILL.md was published earlier as milad-ahmd/agent-skills/commit-craft.
Commit Craft
Make the git history something reviewers enjoy reading.
Workflow
- Inspect state (read-only):
``bash git status --porcelain git --no-pager diff --stat; git --no-pager diff git --no-pager diff --cached git --no-pager log --oneline -15 # learn the repo's existing message style ``
- Group changes by intent, not by file. One commit = one reason to change (a feature, a fix, a refactor, docs, deps, formatting). Formatting-only and dependency bumps always go in their own commits.
- Propose the plan first and wait for confirmation:
```text
- feat(auth): add refresh-token rotation → src/auth/token.ts, src/auth/session.ts
- test(auth): cover refresh-token rotation → tests/auth/token.test.ts
- chore(deps): bump jsonwebtoken to 9.0.2 → package.json, package-lock.json
```
- Execute each commit with explicit paths (
git add <paths>, orgit add -pfor files containing mixed intents), thengit commit. - Show the final
git log --onelinefor the new commits.
Message format (Conventional Commits)
Types: feat, fix, refactor, perf, test, docs, style, build, ci, chore, revert.
Rules
- If the repo already uses a different convention (for example gitmoji or ticket prefixes), follow the repo.
- Use the imperative mood ("add", not "added" or "adds"). Describe behaviour, not files.
- Never commit secrets,
.envfiles, build output or huge binaries. Warn instead. - Never run
git push,rebase,reset --hardor--amendon pushed commits unless the user explicitly asks. - Mark breaking changes with
!(for examplefeat(api)!:) and add aBREAKING CHANGE:footer.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/commit-craft/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/milad-ahmd/agent-skills/commit-craft)