Draft a Conventional-Commits message from the current `git diff --staged` using a local LLM (Ollama). User edits before commit.
Scanned 9/12/2026
Install to Claude Code
npx -y skills add VMAFx/vmafx --skill dev-llm-commitmsg --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Dev Llm Commitmsg?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/vmafx-dev-llm-commitmsg)More formats (shields.io, HTML) on the badges page.
---
name: dev-llm-commitmsg
description: Draft a Conventional-Commits message from the current `git diff --staged` using a local LLM (Ollama). User edits before commit.
---
<!-- markdownlint-disable MD013 -->
# /dev-llm-commitmsg
## Invocation
```text
/dev-llm-commitmsg [--model <name>]
```
## Steps
1. Verify `git diff --staged` has content. If empty, tell the user to
stage changes first (`git add -p`) and exit.
2. Verify `vmaf-dev-llm check` is green (see `dev-llm-review` for the
pre-flight).
3. Run `vmaf-dev-llm commitmsg` (add `-m <model>` if provided). Capture
its stdout — that's the draft.
4. Present the draft and ask the user to:
- **accept** — emit `git commit -m "<heredoc>"` using the draft verbatim,
- **edit** — open `$EDITOR` with the draft and let the user refine,
- **regenerate** — re-run step 3.
Do NOT commit automatically — the user must confirm.
## Guardrails
- Refuses to run on `master` or a protected branch.
- Strips any `Co-Authored-By:` or `Signed-off-by:` lines from the draft —
those are added by the pipeline.
- First line must match `^(feat|fix|perf|refactor|docs|test|build|ci|chore|revert)(\\([a-z0-9-]+\\))?: .+` before being accepted; otherwise regenerate.
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Ultra-compressed commit message generator. Cuts noise from commit messages while preserving intent and reasoning. Conventional Commits format. Subject ≤50 chars, body only when "why" isn't obvious. Use when user says "write a commit", "commit message", "generate commit", "/commit", or invokes /caveman-commit. Auto-triggers when staging changes.
Ultra-compressed code review comments. Cuts noise from PR feedback while preserving the actionable signal. Each comment is one line: location, problem, fix. Use when user says "review this PR", "code review", "review the diff", "/review", or invokes /caveman-review. Auto-triggers when reviewing pull requests.
Verification loop for Spring Boot projects: build, static analysis, tests with coverage, security scans, and diff review before release or PR.
一个全面的 Claude Code 会话验证系统。
Verification loop for Django projects: migrations, linting, tests with coverage, security scans, and deployment readiness checks before release or PR.