New advertisers: 50% off your first month with code FIRSTMONTHSee slots
marcelorodrigo avatar

Conventional Commit

Structured git commit guidance that enforces Conventional Commits types, scopes, and subject rules.

skills.sh installs
964
GitHub stars
20
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers commit header format, 12 commit types (feat, fix, refactor, deps, and others), and body guidelines for what and why
  • Includes branch naming pattern <type>/<short-description> plus examples for fixes, features, refactors, breaking changes, and reverts
  • Enforces lowercase subjects with no trailing period, a 70-character subject limit, and 100-character line limit
  • Designed for agents committing code changes, writing commit messages, or formatting git history on feature branches

Install

$ npx -y skills add marcelorodrigo/agent-skills --skill conventional-commit -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Conventional Commit Messages

Follow these conventions when creating commits.

Prerequisites

Before committing, ensure you're working on a feature branch, not the main branch.

# Check current branch
git branch --show-current

If you're on main or master, create a new branch first:

# Create and switch to a new branch
git checkout -b <type>/<short-description>

Branch naming should follow the pattern: <type>/<short-description> where type matches the commit type (e.g., feat/add-user-auth, fix/null-pointer-error, refactor/extract-validation).

Format

<type>(<scope>): <subject>

<body>

<footer>

The header is required. Scope is optional. All lines must stay under 100 characters.

Commit Types

Details

Repository
github.com/marcelorodrigo/agent-skills
Category
Git & Releases
First seen
May 16, 2026

More from marcelorodrigo/agent-skills

All 2

Similar to Conventional Commit

More Git & Releases