commit-format
Formats commit messages according to Conventional Commits. Ensures standardized titles, scopes, and descriptions.
Install
mkdir -p .claude/skills/commit-format && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/18309" && unzip -o skill.zip -d .claude/skills/commit-format && rm skill.zipInstalls to .claude/skills/commit-format
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Formats GitHub commit messages following Conventional Commits style with title and optional description. Use when proposing or implementing code changes, writing commit messages, or when the user asks for commit message suggestions.Key capabilities
- →Format commit messages with a title and optional description
- →Enforce markdown blockquote structure for commits
- →Validate use of Conventional Commits types
- →Require a short, human-readable scope
- →Use backticks for code references in descriptions
How it works
The skill applies a template and a set of rules to format commit messages, ensuring they follow Conventional Commits style with specific markdown and content requirements.
Inputs & outputs
When to use commit-format
- →Formatting commit messages
- →Suggesting commit titles
- →Standardizing commit history
About this skill
Commit Format
Template (copy this structure exactly)
Title only — raw markdown:
> **Commit title:** `type(scope): short description here`
Title with description — raw markdown:
> **Commit title:** `type(scope): short description here`
>
> Description sentence one. Description sentence two with `codeRef()` references.
Rules
- Use markdown blockquote (
>prefix) — no exceptions - Title goes after
**Commit title:**wrapped in exactly ONE backtick pair - NEVER put backticks inside the title — the whole title is one code span, no nesting
- Description uses backticks for code references — title does NOT
- Conventional Commits types:
fix,feat,perf,refactor,docs,chore - Always include a scope — a short, human-readable area name (e.g.
reply modal,mod queue), matching how this repo actually commits (see thecommitskill) - Use
perffor performance optimizations (notfix) - Description: 2-3 sentences about the solution, no bullet points, only if title isn't enough
Wrong vs Right
❌ WRONG — missing backticks around title:
> **Commit title:** refactor(mod queue): rename from /queue to /modqueue
❌ WRONG — backticks around individual words instead of whole title:
> **Commit title:** refactor(mod queue): rename from `/queue` to `/modqueue`
❌ WRONG — missing scope:
> **Commit title:** `refactor: rename from /queue to /modqueue`
✅ CORRECT — entire title in one backtick pair, no backticks inside, scope present:
> **Commit title:** `refactor(mod queue): rename from /queue to /modqueue`
Self-check
Before outputting, verify:
- Lines start with
> - Title is wrapped in exactly one backtick pair:
`like this` - Title has the form
type(scope): description - No backticks inside the title text
- Code references in description (not title) use backticks
When not to use it
- →When the user does not want Conventional Commits style
- →When the user wants to use backticks inside the commit title
- →When the user wants bullet points in the description
Limitations
- →The skill requires the entire title to be wrapped in exactly one backtick pair.
- →The skill does not allow backticks inside the title text.
- →The skill limits descriptions to 2-3 sentences without bullet points.
How it compares
This skill enforces a strict Conventional Commits format with specific markdown and content rules, providing a standardized structure that differs from free-form commit messages.
Compared to similar skills
commit-format side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| commit-format (this skill) | 0 | 24d | No flags | Beginner |
| run-nx-generator | 5 | 2mo | Review | Intermediate |
| git-commit | 11 | 6mo | Review | Beginner |
| morph-search | 9 | 6mo | Review | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by bitsocialnet
View all by bitsocialnet →You might also like
run-nx-generator
nrwl
Run Nx generators with prioritization for workspace-plugin generators. Use this when generating code, scaffolding new features, or automating repetitive tasks in the monorepo.
git-commit
github
Execute git commit with conventional commit message analysis, intelligent staging, and message generation. Use when user asks to commit changes, create a git commit, or mentions "/commit". Supports: (1) Auto-detecting type and scope from changes, (2) Generating conventional commit messages from diff, (3) Interactive commit with optional type/scope/description overrides, (4) Intelligent file staging for logical grouping
morph-search
parcadei
Fast codebase search via WarpGrep (20x faster than grep)
upgrading-expo
sickn33
Upgrade Expo SDK versions
continue-implementation
LibPDF-js
Continue implementing a spec from a previous session
fix-dependabot-prs
bannzai
dependabotから上がってきた複数のPRを一括で解決し、まとめPRを作成する。dependabotのPR対応を依頼された時に使用。