Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
spencerpauly avatar

Writing Commit Messages

  • 256 installs
  • 655 repo stars
  • Updated August 2, 2026
  • spencerpauly/awesome-cursor-skills

Helps with git & pull requests tasks.

About

writing-commit-messages is a Claude Code skill for git & pull requests. It helps solo builders move faster with AI-assisted coding.

  • writing-commit-messages
  • Git & Pull Requests
  • AI-coding skill

Writing Commit Messages by the numbers

  • 256 all-time installs (skills.sh)
  • +28 installs in the week ending Aug 5, 2026 (Skillselion tracking)
  • Ranked #155 of 733 Git & Pull Requests skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/spencerpauly/awesome-cursor-skills --skill writing-commit-messages

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs256
repo stars655
Last updatedAugust 2, 2026
Repositoryspencerpauly/awesome-cursor-skills

What it does

Helps with git & pull requests tasks.

Files

SKILL.mdMarkdownGitHub ↗

Writing Commit Messages

Write commit messages that are useful for humans and machines.

Format

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

<optional body>

<optional footer>

Subject Line Rules

  • 50 characters or less for the subject
  • Use imperative mood: "add feature" not "added feature" or "adding feature"
  • Don't capitalize the first letter after the type prefix
  • No period at the end

Types

TypeWhen to use
featNew user-facing feature
fixBug fix
refactorCode restructuring without behavior change
docsDocumentation changes
testAdding or updating tests
choreBuild, CI, tooling, deps
perfPerformance improvement
styleFormatting, whitespace (not CSS)
ciCI/CD pipeline changes
revertReverting a previous commit

Scope (Optional)

The area of the codebase affected:

  • feat(auth): add OAuth2 login flow
  • fix(api): handle null response from payments endpoint
  • refactor(db): extract query builder into module

Body (When Needed)

Explain why, not what (the diff shows what):

fix(checkout): prevent duplicate order submissions

The submit button was not disabled after the first click,
allowing users to create multiple orders. This caused
duplicate charges in Stripe.

Footer (When Needed)

BREAKING CHANGE: rename `getUserById` to `findUser`

Closes #456
Co-authored-by: Name <email>

Examples

Good:

feat(dashboard): add real-time notification bell
fix: resolve race condition in WebSocket reconnect
refactor(api): consolidate error handling middleware
test: add integration tests for payment webhook
chore: upgrade TypeScript to 5.4

Bad:

fixed stuff
WIP
update
changes
asdf

When to Commit

  • Each commit should represent one logical change
  • Don't mix refactoring with feature work in the same commit
  • Don't commit half-working code (use git stash instead)
  • Commit early and often on feature branches, squash before merge if needed

Breaking Changes

If the commit introduces a breaking change: 1. Add ! after the type: feat(api)!: change auth token format 2. Add BREAKING CHANGE: in the footer with migration instructions

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.