Claude Skills
CollectionsCompareWorkflowsNominate
Sign inSign up
© 2026 Curated Agent Skills·Learn more about Agent Skills
Back to repository

git-commit

verified

Commit changes with a structured message

View on GitHub

Marketplace

clauding

e-stpierre/clauding

Plugin

interactive-sdlc

sdlc

Repository

e-stpierre/clauding

plugins/interactive-sdlc/skills/git-commit/SKILL.md

Last Verified

February 1, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/e-stpierre/clauding/blob/main/plugins/interactive-sdlc/skills/git-commit/SKILL.md -a claude-code --skill git-commit

Installation paths:

Claude
.claude/skills/git-commit/
Powered by add-skill CLI

Instructions

# Git Commit

## Overview

Create a well-structured commit with a concise title and optional bullet-point description for staged changes. Always includes AI attribution with the model name.

## Arguments

### Definitions

- **`[message]`** (optional): Override commit title. If not provided, auto-generate from changes.

### Values

$ARGUMENTS

## Core Principles

- Title must be short (50 chars ideal, 120 max) and focus on the main task completed
- Description is optional for small commits
- Description uses 1-5 bullet points for larger commits highlighting important aspects
- Always include AI attribution with your model name: `Co-Authored-By: Claude <model> <noreply@anthropic.com>`

## Skill-Specific Guidelines

### Plan Step Reference

When following a plan (implementation plan, milestone plan, etc.), include the current step reference at the start of the commit title in brackets:

- **Task-based plans**: `[Task N]` where N is the task number (e.g., `[Task 1]`, `[Task 8]`)
- **Milestone-based plans**: `[Milestone N]` when committing after completing a milestone
- **Nested plans**: `[Task M.N]` for tasks within milestones (e.g., `[Task 1.1]`, `[Task 2.3]`)

Only include this prefix if you are actively following a plan with numbered steps. If no plan context exists, omit the brackets entirely.

**Examples:**

- `[Task 8] Update CLI with orchestrator integration`
- `[Milestone 1] Complete authentication module`
- `[Task 2.3] Add unit tests for validation logic`
- `Add helper function for date parsing` (no plan context)

## Instructions

1. Run `git status` to verify there are changes to commit
2. Run `git diff --staged` to analyze staged changes (if none, stage all with `git add .`)
3. Analyze the changes to determine:
   - Primary purpose of the changes (the "what")
   - Impact and scope (small fix vs. larger feature)
4. Determine plan step reference (if following a plan):
   - Check if there is an active plan with numbered tasks or milestones
   - Identify which ta

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
2759 chars