gcm
Generate Git Commit Message
Overview
This skill analyzes the current git staged changes and generates an appropriate English commit message. It follows Conventional Commits format and provides clear, informative commit messages that accurately reflect the nature of the changes.
Workflow
1. Analyze Current State
First, check the current git status and staged changes.
# Check current state
git status
# Analyze staged changes
git diff --cached
# Check recent commit history to understand the style
git log --oneline -5
2. Generate Commit Message
Based on the staged changes analysis, generate an appropriate English commit message with:
Subject Line
- Maximum 50 characters
- Summary of the changes
- Use Conventional Commits format:
feat:- New feature additionfix:- Bug fixrefactor:- Code refactoring (no functional change)test:- Test addition or modificationdocs:- Documentation changeschore:- Build process or auxiliary tool changesstyle:- Code style changes (formatting, missing semicolons, etc.)perf:- Performance improvementsci:- CI configuration changes
Body (optional but recommended)
- Detailed explanation of the changes
- Reason for the changes
- Impact scope
- Blank line between subject and body
- Wrap each body line at 72 characters for readability in
git logand email-style tools
Subject Style Conventions
- Capitalize the first word after the type prefix (e.g.,
fix: Reject empty inputnotfix: reject empty input) - Do not end the subject with a period
- Use the imperative mood (e.g., "Add", "Fix", "Reject" — not "Added", "Fixes")
Breaking Changes
For backward-incompatible changes, mark the commit using either form:
feat!: Drop support for Node 18
BREAKING CHANGE: Node 20+ is now required. CI users must upgrade
their runtime before pulling this commit.
The ! after the type and the BREAKING CHANGE: footer should both be present so tooling (semantic-release, changelog generators) detects the breaking change.
3. Output Format
Generate commit messages in the following format:
<type>: <concise summary of changes>
<detailed description of what changed and why>
<impact scope or additional context if applicable>
Example
For a change that fixes a parameter format issue:
fix: Change servercode parameter format to use snake_case
Change trace_info.model_dump(by_alias=True) to by_alias=False to send
parameters in snake_case format (request_id, trace_header, root_trace_id)
instead of camelCase format (requestId, traceHeader, rootTraceId).
This resolves staging environment 504 errors where customer servercode
expects snake_case parameter names according to the API specification.
Use Cases
- Bug fix commit messages
- Feature addition commit messages
- Refactoring description
- Configuration change recording
- Maintaining consistent commit history
Guidelines
- Be specific - Describe what actually changed, not vague descriptions
- Focus on the "why" - Explain the reason for the change, not just the "what"
- Keep it concise - Subject line should be scannable in git log
- Match project style - Reference recent commits to maintain consistency
- Technical accuracy - Ensure the message accurately reflects the code changes
More from takuan-osho/ccmarketplace
k6-docs
Use this skill when writing or debugging Grafana k6 load testing code. Provides access to the latest official k6 documentation including API references, examples, and best practices for creating performance tests.
56interview
Conduct structured interviews to clarify scope, surface constraints, and reach a "do / don't do / done" agreement before starting non-trivial work. Use when receiving an ambiguous request, a vague task description, or before entering plan mode for any non-trivial implementation. Skip for one-line concrete fixes ("rename foo to bar") or single-fact questions. Supports requirements definition, debugging investigation, architecture review, security review, documentation creation, and general exploration.
32gemini-search
Web search using Google Gemini CLI. This skill should be used when performing web searches through the Gemini CLI tool instead of the built-in WebSearch tool. Requires the Gemini CLI to be installed and configured.
19tdl
This skill should be used when implementing or improving Traceable Development Lifecycle (TDL) practices in software projects. Use this skill to establish traceability across the 5-phase workflow (analysis → requirements → ADR → design → implementation). Provides tools, templates, and best practices for ADRs, commit messages, PR templates, structured logging, and traceability analysis as cross-cutting code-integration patterns.
13multi-ai-collab
Orchestrate multiple AI agents with specialized personas for cross-review and collaborative development
13report
Create Investigation/Analysis Report. This skill should be used when summarizing investigation or analysis work into a structured GitHub Flavored Markdown report. Use it after completing research, debugging, security audits, or other analytical tasks.
12