Generates conventional commit message suggestions based on staged git changes, respecting the repository's commit style. Invoked when the user asks for a commit message or says 'suggest commit'.
Ships in git. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
NEVER use cd <path> && git compound commands — they trigger security approval prompts. Run git commands directly (the working directory is already the target repo), or use git -C <path> if you need to target a different directory.
ALWAYS:
git diff --cached output from THIS invocation--cached) — unstaged changes, untracked files, and working tree modifications are irrelevantNEVER:
#123, AB#4567, JIRA-89), plan item numbers ("Phase 2, item 3") or similar IDs — not even when the branch name, the conversation or a plan file contains one. Describe what the code change does, nothing elseThese footers are for actual commits only, NOT for commit suggestions.
Why this matters: The user may have viewed, edited, or discussed many files during the conversation. Only the files that appear in
git diff --cachedoutput are staged and relevant. Everything else must be ignored completely.
Run these commands every time this skill is invoked. Do not rely on previous context, conversation history, or memory — the output of these commands is the ONLY source of truth:
git diff --cached --stat # Change overview with insertions/deletions
git diff --cached --name-only # List of staged files
git log --oneline -15 # Recent commits for style reference
Important: If the git diff --cached commands return empty output, there are NO staged changes — report that to the user and stop. Do NOT fall back to unstaged changes or conversation context.
If no staged changes: Inform the user there is nothing to commit.
If changes exist: Determine if this is a small or large changeset:
For large changesets, also run:
git diff --cached # Full diff for understanding changes
Follow Conventional Commits format matching the repository's style:
type(scope): short description
- Bullet point explaining what changed
- Another bullet if needed
Rules:
| Instead of | Write |
|---|---|
fix(auth): resolve bug #482 in token refresh | fix(auth): refresh expired tokens before retrying |
feat(api): implement phase 2 item 3 of the plan | feat(api): add paging to device search |
| Type | When to Use |
|---|---|
feat | New functionality, features |
fix | Bug fixes, correcting behavior |
docs | Documentation only (.md files, comments) |
chore | Maintenance, config, dependencies |
refactor | Code restructuring without behavior change |
test | Adding or updating tests |
perf | Performance improvements |
style | Formatting, whitespace (no logic changes) |
build | Build system, CI configuration |
ci | CI/CD pipeline changes |
Determine scope from file paths:
plugins/azure-iot/ -> azure-iotsrc/Services/Auth* -> authdocs/guides/ -> docs or omit scopeWhen suggesting multiple commits:
Output ONLY the commit suggestion inside a code fence — nothing else. Do not add any preamble before it or commentary after it: no analysis of the staged changes, no summary of what you did, no closing remarks, no offers to help further. The fenced block is the complete response. Stop immediately after the closing fence.
feat(api): add deviceType filter to GetDeviceIdentities endpoint
- Add optional deviceType query parameter to filter devices
- Add DevicesByType query for filtering without text filter
- Consolidate duplicate query methods
## Suggested Commits
### Commit 1
feat(auth): implement JWT token service
- Add JwtTokenService for token generation
- Add token validation logic
**Files:**
- src/Services/JwtTokenService.cs
- tests/JwtTokenServiceTests.cs
---
### Commit 2
feat(api): add authentication endpoint
- Add login endpoint with JWT response
- Add request/response models
**Files:**
- src/Controllers/AuthController.cs
- src/Models/LoginRequest.cs
- src/Models/LoginResponse.cs
---
### Commit 3
docs: add authentication setup guide
**Files:**
- docs/AUTHENTICATION.md
What SKILL.md sets; muted values are Claude Code's defaults
/git:suggest-commitfrom git
npx claudepluginhub atc-net/atc-agentic-toolkit --plugin git3 skills in this plugin
/rebase-branchFetch a base branch (the default branch, unless another is named, such as develop) and rebase the current branch onto it, keeping uncommitted work exactly as it was — staged stays staged, unstaged stays unstaged, untracked files stay. Use when the user wants to update or sync their branch with main, rebase onto main or another base branch, or says "rebase branch" or "rebase on main"./suggest-prGenerate a pull request title and well-structured markdown summary from the commits on the current branch. Use when the user wants to create or draft a PR description, asks for a PR summary, or says "suggest PR".Other plugins' skills for the same job