Commit
SkillCommunicationAuto-fix, lint, test, and commit changes with a conventional commit message
Available today. Use it from your connected AI after setup.
No other account needed.
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
-
Run rector + cs-fixer on changed files:
composer fix -
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.
-
Static analysis:
composer quality -
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
-
Stage files — add specific changed files by name (never
git add -A). -
Draft commit message using conventional commit format:
- If
$ARGUMENTSis 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
- If
-
Commit:
git commit -m "<message>" -
CHANGELOG check — if the commit prefix is
feat:orfix:, verify thatCHANGELOG.mdhas been updated under## Unreleased. If not, warn the user before committing. -
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