Use when adding new error messages to React, or seeing "unknown error code" warnings.
npx skills add TheSimpleApp/agent-skills --skill "commit-helper"
Install specific skill from multi-skill repository
# Description
Generates clear, conventional commit messages. Use when committing changes, writing commit messages, or following conventional commits format.
# SKILL.md
name: commit-helper
description: Generates clear, conventional commit messages. Use when committing changes, writing commit messages, or following conventional commits format.
license: MIT
metadata:
author: thesimpleapp
version: "1.0"
Commit Helper
Generate commit messages following the Conventional Commits specification.
Format
<type>(<scope>): <description>
[optional body]
[optional footer]
Types
| Type | Description |
|---|---|
feat |
New feature |
fix |
Bug fix |
docs |
Documentation only |
style |
Formatting, no code change |
refactor |
Code change, no feature/fix |
perf |
Performance improvement |
test |
Adding/fixing tests |
chore |
Build, config, deps |
ci |
CI/CD changes |
Rules
- Subject line: Max 50 characters, imperative mood ("Add" not "Added")
- Scope: Optional, indicates area affected (e.g.,
auth,api,ui) - Body: Explain what and why, not how. Wrap at 72 characters.
- Footer: Reference issues, breaking changes
Examples
Simple feature:
feat(auth): add password reset flow
Bug fix with context:
fix(api): handle null response from payment gateway
The payment API occasionally returns null instead of an error object.
Added null check and proper error handling.
Fixes #123
Breaking change:
refactor(api)!: change user endpoint response format
BREAKING CHANGE: User endpoint now returns nested address object
instead of flat fields. Update all clients to use user.address.city
instead of user.city.
Process
- Analyze staged changes with
git diff --staged - Identify the primary type of change
- Determine scope from affected files/modules
- Write concise, meaningful description
- Add body for non-obvious changes
- Reference related issues
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.