Provides conventional commits guidance and auto-generates commit messages from git changes. Integrates with /ccpm:commit for automated git commits linked to Linear issues. Auto-activates when users ask about committing, creating git commits, or discussing commit message formats.
View on GitHubduongdev/ccpm
ccpm
January 24, 2026
Select agents to install to:
npx add-skill https://github.com/duongdev/ccpm/blob/main/skills/commit-assistant/SKILL.md -a claude-code --skill commit-assistantInstallation paths:
.claude/skills/commit-assistant/# Commit Assistant Comprehensive guidance on conventional commits with automatic message generation integrated with CCPM's Linear workflow. Ensures all commits are properly formatted, issue-linked, and semantically meaningful. ## When to Use This skill auto-activates when: - User asks **"commit my changes"**, **"create a git commit"**, **"how do I commit"** - User asks about **"conventional commits"** or **"commit message format"** - Running **`/ccpm:commit`** command - Making changes that need to be committed to version control - Need guidance on **commit type** or **commit message structure** - Need help **generating commit messages** from code changes ## Core Principles ### 1. Conventional Commits Format All commits in CCPM follow [Conventional Commits](https://www.conventionalcommits.org/) specification: ``` type(scope): message [optional body] [optional footer] ``` **Format breakdown**: - **type**: What kind of change (feat, fix, docs, refactor, test, chore, perf, style) - **scope**: What component or module changed (optional but recommended) - **message**: Clear, concise description in imperative mood - **body**: Detailed explanation (only for complex changes) - **footer**: Issue references, breaking changes (optional) ### 2. Why Conventional Commits Matter **Conventional commits enable**: - ✅ Automatic changelog generation - ✅ Semantic versioning (SemVer) automation - ✅ Better git history readability - ✅ Linear issue linking - ✅ Filtered log searches (`git log --grep="^feat"`) - ✅ CI/CD pipeline triggers (e.g., deploy on "feat:" commits) ### 3. Imperative Mood Always write commit messages in **imperative mood** (command form): **✅ Correct**: - "add user authentication" - "fix database connection timeout" - "refactor auth module for clarity" - "update API documentation" **❌ Incorrect**: - "added user authentication" - "fixed database connection timeout" - "refactoring auth module" - "updates API documentation" **Why**: Imperative mood matches