Commit

From coalesce-labs/catalyst · View interactive version

Commit is an AI agent skill from the GitHub repository coalesce-labs/catalyst. Automatically analyzes code changes and creates git commits with conventional commit messages when the user indicates they want to save their work, commit changes, or says 'commit this', 'save my changes', 'let's commit'. Auto-detects commit type, scope, and ticket reference from branch name.

How to use this skill

Skill file

Commit Changes

You are tasked with creating git commits using conventional commit format for the changes made during this session.

Process:

  1. Analyze what changed:
  1. Auto-detect conventional commit components:

Type detection (suggest to user):

perf, test, build, ci

Scope detection (suggest to user):

Extract ticket reference:

  1. Generate conventional commit message:

Format:

```

<type>(<scope>): <short summary>

<body - optional but recommended>

<footer - ticket reference>

```

Rules:

Example:

```

feat(commands): add conventional commit support to /commit

Updates the commit command to automatically detect commit type

and scope from changed files, following conventional commits spec.

Extracts ticket references from branch names for traceability.

Refs: ENG-123

```

  1. Present plan to user:
  1. Execute commit:

Configuration

Reads from .catalyst/config.json:

{
  "catalyst": {
    "commit": {
      "useConventional": true,
      "scopes": ["agents", "commands", "scripts", "docs", "config"],
      "autoDetectType": true,
      "autoDetectScope": true,
      "requireBody": false
    },
    "project": {
      "ticketPrefix": "PROJ"
    }
  }
}

Type Reference

Types that appear in CHANGELOG:

Internal types:

Examples

Feature:

feat(agents): add codebase-pattern-finder agent

Implements new agent for finding similar code patterns across
the codebase with concrete examples and file references.

Refs: ENG-456

Fix:

fix(commands): handle missing PR template gracefully

Previously crashed when thoughts/shared/pr_description.md was
missing. Now provides clear error with setup instructions.

Refs: ENG-789

Documentation:

docs(scripts): add README for setup scripts

Documents all scripts in scripts/ directory with usage examples
and explains when to use each setup method.

Refs: ENG-012

Chore (no ticket):

chore(config): update conventional commit scopes

Adds new scopes for agents and commands directories.

Important:

Remember:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.