writing-commits

Generate structured Git commit messages with imperative subjects and detailed bodies.

13|6|Updated Feb 23, 2013
One-click install
npx skills add https://github.com/abhinav/home --skill writing-commits
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-commits
Source: https://github.com/abhinav/home/tree/main/.claude/skills/writing-commits
Command: npx skills add https://github.com/abhinav/home --skill writing-commits

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill resolves the problem of inconsistent, uninformative, or poorly formatted commit messages that hinder code history tracking and team collaboration, ensuring every commit clearly communicates its purpose.

Core Features & Use Cases

  • Structured Commit Format: Enforces a clear <subject> and <body> structure for all commit messages.
  • Concise & Imperative Subjects: Guides on writing short, action-oriented subject lines (e.g., "Add feature" not "Added feature").
  • Detailed Bodies: Promotes comprehensive commit bodies that explain the "why" behind changes, not just the "what," using Markdown and semantic line breaks.
  • Use Case: Automatically generate a professional, standardized commit message for a new feature or bug fix, ensuring clear communication and a maintainable Git history for your team.

Quick Start

Example of a well-formatted commit message

feat(auth): Add user login endpoint

This commit introduces a new API endpoint for user authentication. It handles JWT token generation and validation, improving security and user experience.

Co-Authored-By: Claude [email protected]