skills/git-commit/SKILL.md
Plans and executes git commits with optional TICKET_ID prefix. Analyzes staged changes, proposes optimal commit structure (single or multiple), generates descriptive messages with technical context, and executes after user approval. Use when committing code changes, creating atomic commits, or splitting large changesets.
npx skillsauth add antoniocascais/claude-code-toolkit git-commitInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Analyze staged changes and create optimal commit plan, then execute after user approval.
$ARGUMENTS may contain a TICKET_ID (e.g., JIRA-123, GH-456).
TICKET_ID: git status --porcelain
Show user:
Ask user to confirm scope:
If nothing to commit (no staged + no changes) → inform and exit.
Run in parallel:
git diff --staged --stat
git diff --staged --name-only
git log --oneline -5 # for message style reference
Assess:
Single commit when:
Multiple commits when:
Title format (max 60 chars):
TICKET-123: Add user authenticationAdd user authentication middlewarePrefixes: Add, Fix, Update, Refactor, Remove, Implement
Body (technical context for future readers):
Target ~50-150 words. Audience: technical people reading git history to understand WHY.
Style:
Anti-patterns:
Example:
TICKET-123: Fix memory leak in cache service
Cache entries weren't being cleaned up when TTL expired, causing
memory to grow unbounded under sustained load. This adds reference
counting to track active cache users and a cleanup routine in the
TTL handler that only removes entries with zero references.
Format:
COMMIT PLAN
===========
Files: X | Lines: +Y/-Z
Commit 1: [message title]
file1.js (new)
file2.ts (modified)
Body:
[technical explanation]
[If multiple commits, show each]
Approve? (yes/no/modify)
After approval:
Single commit:
git commit -m "title" -m "body"
Multiple commits:
git reset (unstage all)git add [specific files]git commit -m "title" -m "body"git log --oneline -3
git log -1 --format=medium
Show:
tools
Reviews Claude Code sessions and proposes workflow improvements. Use when: (1) /workflow-review command, (2) "review my workflow", "how can I improve", (3) after long sessions when nudged, (4) start of session with pending review. Analyzes tool usage patterns, CLAUDE.md configuration, and compares against CC best practices. Proposes: CLAUDE.md updates, new skills, underused CC features. Saves session summaries to .claude/workflow-reviews/ for cross-session continuity.
devops
Activates voice conversation mode using Pocket TTS Docker container. Use when user says "voice mode", "let's talk", "talk to me", "speak your responses", or wants Claude to respond with spoken audio. Speaks all responses through TTS and plays via speakers.
testing
Guides strong, effective unit test generation using proven testing techniques. Use when writing unit tests, reviewing test quality, improving existing tests, generating test cases, checking test coverage strength, or when tests exist but may be weak. Triggers on: unit test, test quality, test coverage, write tests, improve tests, review tests, test strength, mutation testing, boundary testing.
development
Creates new Claude Code skills with proper structure and best practices. Use when user wants to create a skill, update an existing skill, add a new command, scaffold a workflow, define skill hooks, or asks "how do I make a skill".