Commit Helper Skill
Purpose
This skill helps generate high-quality commit messages following conventional commit format.
Instructions
- •Run
git diff --stagedto see changes to be committed - •Analyze the changes to understand:
- •What files were modified
- •What type of change (feat, fix, refactor, docs, etc.)
- •What the impact of the change is
- •Generate a commit message with:
- •A summary line under 50 characters
- •A blank line
- •A detailed description explaining the "why"
- •Optional: List of affected components
Commit Types
- •
feat: New feature - •
fix: Bug fix - •
refactor: Code refactoring - •
docs: Documentation changes - •
test: Adding or updating tests - •
chore: Maintenance tasks
Examples
code
feat: add user authentication flow Implement OAuth2 authentication with support for Google and GitHub providers. This enables users to sign in without creating separate credentials. Affected: src/auth/, src/components/Login.tsx