commit-messages

Generate imperative Git commit messages with subject lines and contextual bodies.

2|2|Updated Jan 11, 2026
One-click install
npx skills add https://github.com/CrypticSwarm/Swarmforge --skill commit-messages-crypticswarm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit-messages
Source: https://github.com/CrypticSwarm/Swarmforge/tree/main/opencode/config/skills/commit-messages
Command: npx skills add https://github.com/CrypticSwarm/Swarmforge --skill commit-messages-crypticswarm

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Drafting clear, consistent Git commit messages is often error-prone and hard to review. This Skill provides a guided workflow to produce precise subject lines and informative bodies, improving history readability and code review efficiency.

Core Features & Use Cases

  • Enforces imperative subject lines and concise bodies.
  • Provides a structured template and workflow for writing PR-friendly messages.
  • Useful for individual commits, PR reviews, and release-note generation.

Quick Start

Ask the AI to generate a concise, imperative commit message for your changes.

Frequently Asked Questions about commit-messages

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write a good Git commit message for a code review?

A good Git commit message uses an imperative subject line within 50 characters and an informative body with rationale. This structured workflow improves history readability and code review efficiency.

What is the best way to structure Git commit message bodies?

The best way to structure Git commit message bodies is by using a reusable template that provides an informative context explaining the changes. This ensures consistent messaging across version control history.

Do I need a specific template to automate Git commit messages?

You do not need a specific external template to automate Git commit messages. This workflow provides a reusable template internally to enforce imperative subject lines and concise bodies for local commits and pull requests.

Can I generate pull request descriptions from local commits?

Yes, you can generate pull request descriptions and release notes from local commits. The workflow applies the same structured template to ensure PR-friendly messages and clear contextual bodies during code reviews.

Why does my Git commit message template fail code review checks?

Your Git commit message might fail code review checks if the subject line exceeds 50 characters or lacks an imperative mood. Enforcing these constraints ensures consistent version control history and review efficiency.