Commit

SkillCommunication

Auto-fix, lint, test, and commit changes with a conventional commit message

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Commit skill

What this skill tells your AI

The instructions your AI receives, as published by gacela-project/gacela in .claude/skills/commit/SKILL.md and read by ahel’s review.

Context

!git diff --stat !git diff --cached --stat !git status --short

Instructions

Phase 1: Auto-fix

  1. Run rector + cs-fixer on changed files:

    composer fix
    
  2. If fixer modified files, review the changes and stage them.

Phase 2: Quality gates

Run each step in order. Stop and fix issues before continuing.

  1. Static analysis:

    composer quality
    
  2. Unit + integration + feature tests:

    composer phpunit
    

If any step fails, fix the issue and re-run from that step. Do NOT proceed to commit with failures.

Note: The pre-commit hook runs composer quality + composer phpunit. These gates catch issues early to avoid a slow hook failure.

Phase 3: Commit

  1. Stage files — add specific changed files by name (never git add -A).

  2. Draft commit message using conventional commit format:

    • If $ARGUMENTS is provided, use it as the commit message
    • Otherwise, analyze the staged diff and generate one
    • Prefixes: feat:, fix:, ref:, chore:, docs:, test:
    • Add (<scope>) when changes are scoped to a single module
    • NEVER mention AI/Claude in the message
  3. Commit:

    git commit -m "<message>"
    
  4. CHANGELOG check — if the commit prefix is feat: or fix:, verify that CHANGELOG.md has been updated under ## Unreleased. If not, warn the user before committing.

  5. Report: commit hash, message, and files included.

Signals

GitHub stars
133
Forks
8
Last commit
Aug 2026
Advanced
Catalog kind
skill
Gateway key
commit-gacela-project
Source
github.com/gacela-project/gacela