milad-ahmd/agent-skills/commit-craft

Claude Code and agent skill by milad-ahmd/agent-skills

Trust tier 2
  • community
LLM review pending
Source check pending

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-craft

SKILL.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

  1. 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 ``

  1. 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.
  2. Propose the plan first and wait for confirmation:

```text

  1. feat(auth): add refresh-token rotation → src/auth/token.ts, src/auth/session.ts
  2. test(auth): cover refresh-token rotation → tests/auth/token.test.ts
  3. chore(deps): bump jsonwebtoken to 9.0.2 → package.json, package-lock.json

```

  1. Execute each commit with explicit paths (git add <paths>, or git add -p for files containing mixed intents), then git commit.
  2. Show the final git log --oneline for the new commits.

Message format (Conventional Commits)

text
<type>(<optional scope>): <imperative summary, ≤ 72 chars, no period>
<optional body: WHY the change was made, wrapped at 72 chars>
<optional footer: BREAKING CHANGE: ..., Closes #123>

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, .env files, build output or huge binaries. Warn instead.
  • Never run git push, rebase, reset --hard or --amend on pushed commits unless the user explicitly asks.
  • Mark breaking changes with ! (for example feat(api)!:) and add a BREAKING 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/milad-ahmd/agent-skills/commit-craft/badge)](https://verified-skill.com/skills/milad-ahmd/agent-skills/commit-craft)

Something wrong with this skill or its page? Tell us.