Skip to content
Documentation
Skill

/conventional-commits

Use when writing git commit messages in this repository. Enforces the project's conventional commit format — type prefix, GitHub issue reference, and atomic commits — as defined in .gitmessage and .github/COMMIT_CONVENTION.md.

From plugin
claude-code-best-practices
2641 skill10 agents6 commands

Claude Code

$ npx -y skills add awattar/claude-code-best-practices --skill conventional-commits --agent claude-code

SKILL.md

conventional-commits.SKILL.md
name: conventional-commits
description: Use when writing git commit messages in this repository. Enforces the project's conventional commit format — type prefix, GitHub issue reference, and atomic commits — as defined in .gitmessage and .github/COMMIT_CONVENTION.md.

Conventional Commits

When creating any git commit in this repository, follow the project's commit convention. Unlike the `/commit` command (which the user invokes explicitly), this skill applies automatically whenever a commit message is being authored.

Format

Single-line, when a GitHub issue applies:

<type>: (#<issue_number>) <issue_name> - <description>.

Single-line, when no GitHub issue applies:

<type>: <description>.

Multiline, when the change spans multiple concerns:

<type>: (#<issue_number>) <issue_name>:

  • <description_line_1>.
  • <description_line_2>.

Rules

  • `<type>` is exactly one of: `New feature`, `Fix issue`, `Other`.
  • Single-line messages end with `.`; the first line of a multiline message ends with `:`.
  • Every bullet starts with `- ` and ends with `.`.
  • Use present tense, imperative mood ("add feature", not "added feature").
  • Keep commits atomic — one logical concern per commit. Split unrelated changes into

separate commits.

  • NEVER add trailers such as "Generated with Claude Code", author info, or co-author lines.

References

  • Full template with examples: `.gitmessage`
  • Commit-splitting guidance and workflow integration: `.github/COMMIT_CONVENTION.md`
  • For an interactive, guided commit flow, use the `/commit` command.
Read more
@awattar
Ships withclaude-code-best-practices

A practical guide to using Claude Code, Anthropic’s agentic coding assistant, effectively in real-world development workflows. This repo distills best practices, patterns, and examples for integrating Claude Code into your terminal-based coding environment.

2641 skill10 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
264
Star history of awattar/claude-code-best-practices on GitHub, a chart by star-history.com

More skills from other plugins.

context7-cli

context7-cli

Use the ctx7 CLI to fetch library documentation and configure Context7 MCP. Activate when the user mentions "ctx7" or "context7",…

context712d64k
@upstash@upstashInstall Skill
docs-components

docs-components

Comprehensive MDX component patterns (Note, Pitfall, DeepDive, Recipes, etc.) for all documentation types. Authoritative source…

@reactjs@reactjsInstall Skill
codebase-wiki

codebase-wiki

How to work in a Codebase Wiki project (the `codebase-wiki` starter pack): an agent-authored, source-grounded wiki of the…

@inkeep@inkeepInstall Skill

Questions about conventional-commits.

Which coding agents can use conventional-commits?
conventional-commits installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.