lean-commit Skill
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 /prompt-studio:lean-commit. Offer it when the user stages changes.
- GitHub Stars
- 9
- Dateien
- 1
- Letzter Commit
- 31. Aug. 2026
- Lizenz
- Apache-2.0
- Erlaubte Tools
- —
Was macht der lean-commit Skill?
lean-commit ist ein Agent Skill. 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 /prompt-studio:lean-commit. Offer it when the user stages changes.
So installierst du den lean-commit Skill
Jeder Befehl kopiert den Skill-Ordner in das Skills-Verzeichnis des Clients. Starte den Client neu oder beginne eine neue Session, um ihn zu laden.Den lean-commit Skill in Plugin installieren
/plugin marketplace add utk2103/Prompt-Studio /plugin install prompt-studio@prompt-studio
Den lean-commit Skill in Claude Code installieren
~/.claude/skills/lean-commit/SKILL.md
$ npx degit utk2103/Prompt-Studio/skills/lean-commit ~/.claude/skills/lean-commitDen lean-commit Skill in Claude Code (project) installieren
.claude/skills/lean-commit/SKILL.md
$ npx degit utk2103/Prompt-Studio/skills/lean-commit .claude/skills/lean-commitDen lean-commit Skill in Codex installieren
~/.agents/skills/lean-commit/SKILL.md
$ npx degit utk2103/Prompt-Studio/skills/lean-commit ~/.agents/skills/lean-commitDen lean-commit Skill in Gemini CLI installieren
~/.gemini/skills/lean-commit/SKILL.md
$ npx degit utk2103/Prompt-Studio/skills/lean-commit ~/.gemini/skills/lean-commitDen lean-commit Skill in Claude.ai installieren
npx degit utk2103/Prompt-Studio/skills/lean-commit lean-commit && zip -r lean-commit.zip lean-commit # claude.ai → Customize → Skills → + → Create skill → Upload a skill → lean-commit.zip
SKILL.md
Auf GitHub ansehenWrite commit messages terse and exact. Conventional Commits format. No fluff. Why over what.
Rules
Subject line:
<type>(<scope>): <imperative summary>—<scope>optional- Types:
feat,fix,refactor,perf,docs,test,chore,build,ci,style,revert - Imperative mood: "add", "fix", "remove" — not "added", "adds", "adding"
- ≤50 chars when possible, hard cap 72
- No trailing period
- Match project convention for capitalization after the colon
Body (only if needed):
- Skip entirely when subject is self-explanatory
- Add body only for: non-obvious why, breaking changes, migration notes, linked issues
- Wrap at 72 chars
- Bullets
-not* - Reference issues/PRs at end:
Closes #42,Refs #17
What NEVER goes in:
- "This commit does X", "I", "we", "now", "currently" — the diff says what
- "As requested by..." — use Co-authored-by trailer
- "Generated with Claude Code" or any AI attribution — unless the user's own rule requires an
Assisted-by/AI-attribution trailer, then add it as a trailer - Emoji (unless project convention requires)
- Restating the file name when scope already says it
Examples
Diff: new endpoint for user profile with body explaining the why
- ❌ "feat: add a new endpoint to get user profile information from the database"
- ✅
feat(api): add GET /users/:id/profile Mobile client needs profile data without the full user payload to reduce LTE bandwidth on cold-launch screens. Closes #128
Diff: breaking API change
- ✅
feat(api)!: rename /v1/orders to /v1/checkout BREAKING CHANGE: clients on /v1/orders must migrate to /v1/checkout before 2026-06-01. Old route returns 410 after that date.
Auto-Clarity
Always include body for: breaking changes, security fixes, data migrations, anything reverting a prior commit. Never compress these into subject-only — future debuggers need the context.
Boundaries
Only generates the commit message. Does not run git commit, does not stage files, does not amend. Output the message as a code block ready to paste. "stop lean-commit" or "normal mode": revert to verbose commit style.
Dateien in diesem Skill
1lean-commit Skill-Fragen
Wie installiere ich den lean-commit Skill in Claude Code?
Führe npx degit utk2103/Prompt-Studio/skills/lean-commit ~/.claude/skills/lean-commit aus. Claude Code lädt Skills aus ~/.claude/skills (alle Projekte) oder .claude/skills (ein Projekt) und nutzt einen Skill, wenn seine Beschreibung zur Aufgabe passt.
Welche Clients können den lean-commit Skill nutzen?
Jeder Client, der das Agent Skills-Format liest: Claude Code, Codex, Gemini CLI und claude.ai (als ZIP hochladen). Skripte im Skill laufen nur dort, wo der Client Codeausführung erlaubt.