Receber por email
← Voltar para o catálogo

commit

Token-efficient Claude Code workspace with parallel agents and persistent memory. Research → Plan → Implement → Validate workflow.

18estrelas
Atualizado há 3 meses

Ver no GitHub ↗

Como adicionar

/plugin marketplace add coalesce-labs/catalyst

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/commit-coalesce-labs/svg)](https://www.skillteca.com.br/skills/commit-coalesce-labs)

Skills relacionadas

Ver todas de Pesquisa e Web →

Alerta por categoria

Receba novas skills de Pesquisa e Web toda segunda

1 email curto, só com as skills novas de Pesquisa e Web. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

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:
  2. Review the conversation history and understand what was accomplished
  3. Run git status to see current changes
  4. Run git diff --cached to see staged changes (if any)
  5. Run git diff to see unstaged changes
  6. Get changed file list: git diff --name-only and git diff --cached --name-only
  1. Auto-detect conventional commit components:

Type detection (suggest to user):

  • If only *.md files in docs/: suggest docs
  • If only test files (test, spec): suggest test
  • If package.json, *.lock files: suggest build
  • If .github/workflows/: suggest ci
  • If mix of changes: suggest feat or fix based on context
  • Otherwise: ask user to choose from: feat, fix, refactor, chore, docs, style,

perf, test, build, ci

Scope detection (suggest to user):

  • Parse changed file paths
  • Map to scopes:
  • agents/*.md → agents
  • commands/*.md → commands
  • scripts/* → scripts
  • docs/*.md → docs
  • .claude/ → claude
  • Multiple dirs or root files → empty scope (cross-cutting)

Extract ticket reference:

  • Get current branch: git branch --show-current
  • Extract ticket pattern: {PREFIX}-{NUMBER} (e.g., ENG-123, PROJ-456)
  • Will be added to commit footer
  1. Generate conventional commit message:

Format:

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

<body - optional but recommended>

<footer - ticket reference> ```

Rules:

  • Header max 100 characters
  • Type: lowercase
  • Subject: imperative mood, no period, no capital first letter
  • Body: explain WHY, not what (optional for simple changes)
  • Footer: Refs: TICKET-123 if ticket in branch name

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:
  2. Show detected type and scope with confidence
  3. Show generated commit message
  4. Explain: "Detected changes suggest: <type>(<scope>): <summary>"
  5. List files to be committed
  6. Ask: "Proceed with this commit? [Y/n/e(dit)]"
  7. Y: execute as-is
  8. n: abort
  9. e: allow user to edit message
  1. Execute commit:
  2. Stage files: git add <specific-files> (NEVER use -A or .)
  3. Create commit with message
  4. Show result: git log --oneline -n 1
  5. Show summary: git show --stat HEAD

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:

  • feat - New feature
  • fix - Bug fix
  • perf - Performance improvement
  • revert - Revert previous commit

Internal types:

  • docs - Documentation only
  • style - Formatting, no code change
  • refactor - Code restructuring, no behavior change
  • test - Adding/updating tests
  • build - Build system or dependencies
  • ci - CI/CD configuration
  • chore - Maintenance tasks

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:

  • NEVER add co-author information or Claude attribution
  • Commits should be authored solely by the user
  • Do not include any "Generated with Claude" messages
  • Do not add "Co-Authored-By" lines
  • Write commit messages as if the user wrote them
  • Use conventional format for consistency and changelog generation
  • Keep header under 100 characters
  • Use imperative mood: "add feature" not "added feature"

Remember:

  • You have the full context of what was done in this session
  • Group related changes together logically
  • Keep commits focused and atomic when possible
  • The user trusts your judgment - they asked you to commit
  • Suggest type and scope based on file analysis
  • Extract ticket from branch name automatically
  • Allow user to override suggestions
Compartilhar X LinkedIn