rengwu/cv-gen/generate-commit-message
Claude Code and agent skill by rengwu/cv-gen
- community
Checking that the SKILL.md file is still in the repository.
Reads staged git changes, recent commit history, and project context to generate a well-structured conventional commit message. Present it to the user for approval before committing.
Install
npx vskill@latest install rengwu/cv-gen/generate-commit-messageSKILL.md
Generate Commit Message
Analyze the current staged changes, recent commit style, and project context to craft a commit message that accurately describes what was done and why.
Steps
- Gather context
``bash git status --short git diff --staged --stat git diff --staged --name-only git log --oneline -10 ``
- Read key changed files (optional but helpful)
- For new files: read them to understand their purpose
- For significant modifications: read the diff or the file
- Load project context
``bash ls -1 .context/ | sort ` Read the most recent .context/` files, up to 6, to understand recent work and decisions.
- Analyze and synthesize
- Group changes into logical themes (e.g., "dev workflow", "new feature", "refactor", "bugfix")
- Identify the primary change that defines the commit
- Note secondary changes that support it
- Check if there are any "hidden" fixes (e.g., proxy bug, HMR preamble) that aren't obvious from filenames
- Draft the message
- Use Conventional Commits format:
type(scope?): subject type:feat,fix,refactor,docs,test,chore,build- Keep subject line under 72 characters
- Add a blank line, then bullet points for significant details
- Each bullet should answer what and why, not just what
- Reference context files or decisions when relevant (e.g., "per golang-react-islands-spec")
- Present to user
Show the full message in a code block. Ask: > "Does this look right? Say 'commit' to stage it, or tell me what to change."
Rules
- Do NOT commit automatically — always wait for explicit user confirmation.
- If there are unrelated changes mixed together, warn the user and suggest splitting.
- Match the style of recent commits (check
git log --oneline). - If
.context/exists, use it — it contains the "why" behind the changes. If it does not exist, create it. - For delete operations, mention what was removed and why.
- For new files, mention their purpose, not just their names.
- Keep bullet points parallel in structure (start with verb, same tense).
Example Output
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.skills/generate-commit-message/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/rengwu/cv-gen/generate-commit-message)