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 스타
- 9
- 파일
- 1
- 마지막 커밋
- 2026년 8월 31일
- 라이선스
- Apache-2.0
- 허용된 도구
- —
lean-commit skill은 무엇을 하나요?
lean-commit은(는) 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.
lean-commit skill 설치 방법
각 명령은 skill 폴더를 클라이언트의 skills 디렉터리에 복사합니다. 클라이언트를 재시작하거나 새 세션을 시작하여 로드하세요.플러그인에 lean-commit skill 설치
/plugin marketplace add utk2103/Prompt-Studio /plugin install prompt-studio@prompt-studio
Claude Code에 lean-commit skill 설치
~/.claude/skills/lean-commit/SKILL.md
$ npx degit utk2103/Prompt-Studio/skills/lean-commit ~/.claude/skills/lean-commitClaude Code (project)에 lean-commit skill 설치
.claude/skills/lean-commit/SKILL.md
$ npx degit utk2103/Prompt-Studio/skills/lean-commit .claude/skills/lean-commitCodex에 lean-commit skill 설치
~/.agents/skills/lean-commit/SKILL.md
$ npx degit utk2103/Prompt-Studio/skills/lean-commit ~/.agents/skills/lean-commitGemini CLI에 lean-commit skill 설치
~/.gemini/skills/lean-commit/SKILL.md
$ npx degit utk2103/Prompt-Studio/skills/lean-commit ~/.gemini/skills/lean-commitClaude.ai에 lean-commit skill 설치
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
GitHub에서 보기Write 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.
이 스킬의 파일
1lean-commit skill 질문
Claude Code에 lean-commit skill을 어떻게 설치하나요?
npx degit utk2103/Prompt-Studio/skills/lean-commit ~/.claude/skills/lean-commit를 실행합니다. Claude Code는 ~/.claude/skills(모든 프로젝트) 또는 .claude/skills(한 프로젝트)에서 skills를 로드하며, 설명이 작업과 일치할 때 skill을 사용합니다.
lean-commit skill을 사용할 수 있는 클라이언트는 무엇인가요?
Agent Skills 형식을 읽는 모든 클라이언트(Claude Code, Codex, Gemini CLI, claude.ai(ZIP으로 업로드))가 사용할 수 있습니다. skill 내 스크립트는 클라이언트가 코드 실행을 허용하는 경우에만 실행됩니다.