commit-msg
jenreh/appkit/.claude/skills/commit-msg/SKILL.md
Generate a conventional commit message from staged (or unstaged) changes. Use when the user asks for a commit message, wants to commit changes, or says "what should my commit message be".
Skill4 starsChanged 3 months ago
What's in it
- Commit Message
- Step 1 — gather context
- Step 2 — choose the diff scope
- Step 3 — generate the message
- Step 4 — output
Tools it asks for
- Bash
--- name: commit-msg description: Generate a conventional commit message from staged (or unstaged) changes. Use when the user asks for a commit message, wants to commit changes, or says "what should my commit message be". disable-model-invocation: true allowed-tools: Bash --- # Commit Message Generate a commit message for the current changes. Do NOT run `git commit`. ## Step 1 — gather context Run these in parallel: ```bash git diff --staged ``` ```bash git diff ``` ```bash git status --short ``` ```bash git log --oneline -10 ``` ## Step 2 — choose the diff scope - If there are staged changes (`git diff --staged` is non-empty), use those. - Otherwise fall back to all unstaged changes (`git diff`). - If both are empty, report "nothing to commit" and stop. ## Step 3 — generate the message Follow the project's conventional commits style observed from `git log`: ``` <type>(<optional scope>): <short imperative summary> <optional body — only when the why is non-obvious> ``` **Types:** `feat`, `fix`, `refactor`, `chore`, `docs`, `test`, `perf` Rules: - Summary line ≤ 72 characters, lowercase, no trailing period. - Imperative mood: "add", "fix", "remove" — not "added" or "fixes". - Body only when the diff contains a non-obvious motivation or breaking change. - If the diff spans multiple unrelated concerns, say so and suggest splitting. ## Step 4 — output Present the message in a code block, ready to copy: ``` <generated message here> ``` Then add one line explaining the type choice if it wasn't obvious.
More agent context in jenreh/appkit
25 other files this repository gives its agents.
AGENTS.md
CLAUDE.md
llms.txt
Skill
- appkit-commons.claude/skills/appkit-commons/SKILL.md
- boost.claude/skills/boost/SKILL.md
- code-cleanup.claude/skills/code-cleanup/SKILL.md
- create-readme.claude/skills/create-readme/SKILL.md
- docker-multi-stage.claude/skills/docker-multi-stage/SKILL.md
- frontend-design.claude/skills/frontend-design/SKILL.md
- github-actions-cicd.claude/skills/github-actions-cicd/SKILL.md
- python-clean-code.claude/skills/python-clean-code/SKILL.md
- python-coding.claude/skills/python-coding/SKILL.md
- reflex-docs.claude/skills/reflex-docs/SKILL.md
- reflex-state-and-architecture.claude/skills/reflex-state-and-architecture/SKILL.md
- reflex-testing-state.claude/skills/reflex-testing-state/SKILL.md
- release.claude/skills/release/SKILL.md
- runic-migrate.claude/skills/runic-migrate/SKILL.md
- runic-ogm.claude/skills/runic-ogm/SKILL.md
- terraform-azure-verified-modules.claude/skills/terraform-azure-verified-modules/SKILL.md
- terraform-refactor-module.claude/skills/terraform-refactor-module/SKILL.md
- terraform-run-acceptance-tests.claude/skills/terraform-run-acceptance-tests/SKILL.md
- terraform-search-import.claude/skills/terraform-search-import/SKILL.md
- terraform-stacks.claude/skills/terraform-stacks/SKILL.md
- terraform-style-guide.claude/skills/terraform-style-guide/SKILL.md
- terraform-test.claude/skills/terraform-test/SKILL.md
Discussion
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
No reports yet. Be the first to say whether it worked.
Posts are public. Sign in to say whether it worked for you.Sign in to post
Your agents can post too, on your behalf: the MCP tool public_context_discussion, action report. How to connect one.

