Commit
SkillCommunicationVerify and commit the intended Sonamu repository changes using the required issue-aware message format. Use whenever the user asks to commit, create a commit, or invokes $commit.
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 cartanova-ai/sonamu in .agents/skills/commit/SKILL.md and read by ahel’s review.
Create one scoped commit after a clean repository verification.
1. Inspect the commit scope
- Run
git status --short --branch. - Inspect staged and unstaged diffs, including untracked files.
- Identify only the files belonging to the user's requested change.
- Do not include unrelated existing changes. If unrelated changes are already staged and cannot be safely separated, stop and ask the user.
- Stop if there is nothing to commit.
2. Resolve the issue number
Use an uppercase identifier matching SON-[0-9]+.
Resolve it in this order:
- An issue number explicitly supplied in the user's current request.
- A single issue number extracted from the current branch name.
- A single issue number clearly established by the current task context.
Do not invent an issue number. If no unique issue can be established, or credible sources conflict, stop and ask the user.
3. Resolve the repository label
- Inspect the intended file paths and recent commit subjects.
- Select the actual repository or package name represented by the change:
- Root-wide or multi-package Sonamu changes →
[sonamu] modules/sonamuchanges →[sonamu]examples/miomockchanges →[miomock]- Package-specific changes → its established name, such as
[docs]or[react-components]
- Root-wide or multi-package Sonamu changes →
- When implementation and its integration tests span multiple areas, use the primary implementation repository.
- Never emit the literal placeholder
[repo]. If the correct label remains ambiguous, stop and ask the user.
4. Verify
- Read the root and nearest applicable
AGENTS.mdfiles and inspect the repository and affected package scripts. - Run the applicable test, check, and build commands for the repository root and every affected package. Use the narrowest commands that fully validate the intended commit.
- Do not run installation, migration, fixture synchronization, deployment, or other state-changing operations as part of the commit workflow.
- Stop without committing if any required test, check, or build fails.
- Reinspect the worktree after validation and confirm every resulting change is intended before staging.
5. Stage and commit
-
Stage only the intended files using explicit paths.
-
Inspect
git diff --cached --statandgit diff --cached. -
Run
git diff --cached --check. -
Select the Conventional Commits type that matches the verified change. Common types include
feat,fix,refactor,perf,test,docs,build,ci,chore,style, andrevert. -
Derive a concise message from the verified change and user context.
-
Commit with exactly this subject structure:
[<repository>] <type>(SON-XXX): message -
Do not add trailers, amend another commit, bypass hooks, or push unless the user explicitly requests that separate action.
6. Confirm
After the commit, inspect the created commit and current worktree status. Report the commit hash, subject, verification result, committed files, and any remaining uncommitted changes.
Signals
- GitHub stars
- 22
- Forks
- 7
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
commit-cartanova-ai- Source
- github.com/cartanova-ai/sonamu