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

commit

verified

Create git commits with conventional commit messages. Use when user says /commit.

View on GitHub

Marketplace

dohernandez-claude-skills

dohernandez/claude-skills

Plugin

commit

Repository

dohernandez/claude-skills

plugins/commit/skills/commit/SKILL.md

Last Verified

February 1, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/dohernandez/claude-skills/blob/main/plugins/commit/skills/commit/SKILL.md -a claude-code --skill commit

Installation paths:

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

Instructions

# Commit

## Purpose

Create standardized git commits following Conventional Commits specification. Analyzes changes to determine appropriate type, scope, and message.

## Quick Reference

- **Setup**: `/commit configure` (run once per project)
- **Usage**: `/commit` (uses saved scopes)
- **Update**: `/commit learn` (re-analyze scopes from recent commits)
- **Config**: Depends on installation model (see Save Location)

## Commands

| Command | Purpose | When to Use |
|---------|---------|-------------|
| `/commit configure` | Analyze project for commit scopes | First time in a project |
| `/commit learn` | Update scopes from recent commits | After project changes |
| `/commit` | Create commit using saved scopes | Normal usage |

---

## /commit configure

**When**: First time using `/commit` in a project

**What it does**:
1. Scans project structure for scope candidates
2. Analyzes recent commit history for patterns
3. Proposes scope configuration to user
4. Saves config based on plugin installation scope

### Discovery Process

```
1. SCAN PROJECT STRUCTURE
   ├─ Top-level src/ directories
   ├─ Workspace packages (package.json workspaces)
   ├─ Go modules (go.work)
   └─ Python packages (pyproject.toml)

2. ANALYZE COMMIT HISTORY
   ├─ Extract scopes from last 100 commits
   ├─ Count frequency of each scope
   └─ Identify naming patterns

3. PROPOSE TO USER
   └─ Show discovered scopes, wait for approval
```

### Proposal Format

```yaml
# Proposed Commit Configuration
# Review and approve to save to .claude/skills/commit.yaml

scopes:
  - name: api
    description: "REST API endpoints"
    paths: ["src/api/", "api/"]
  - name: auth
    description: "Authentication and authorization"
    paths: ["src/auth/", "src/middleware/auth"]
  - name: db
    description: "Database and migrations"
    paths: ["src/db/", "migrations/"]
  - name: ui
    description: "User interface components"
    paths: ["src/components/", "src/pages/"]
  - name: core
    description: "Core bu

Validation Details

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