rengwu/cv-gen/generate-commit-message

Claude Code and agent skill by rengwu/cv-gen

Trust tier 3
  • community
Source check pending

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

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

  1. Gather context

``bash git status --short git diff --staged --stat git diff --staged --name-only git log --oneline -10 ``

  1. 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
  1. Load project context

``bash ls -1 .context/ | sort ` Read the most recent .context/` files, up to 6, to understand recent work and decisions.

  1. 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
  1. 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")
  1. 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

feat: add CategoryPills island, Button component, and dev workflow fixes
- Replace inline vanilla JS category fetch with React CategoryPills island
hydrated on expense add/edit forms
- Add reusable Button.tsx component with 6 variants (primary, secondary,
neutral, ghost, danger, pill)
- Add templates/partials/button.html Go partial kept in sync with Button.tsx
- Convert all template buttons to use the shared partial
- Makefile: `make dev` now starts both Go and Vite servers in one command
- Fix Vite dev proxy to bypass Vite internals via `bypass()` function
- Add React Refresh preamble to DevClient for HMR support
- Fix AssetHelper.ScriptTag to match manifest entries by Name or Src path

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

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/rengwu/cv-gen/generate-commit-message/badge)](https://verified-skill.com/skills/rengwu/cv-gen/generate-commit-message)

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