ase-meta-commitlisted
Install: claude install-skill rse/ase
@${CLAUDE_SKILL_DIR}/../../meta/ase-control.md
@${CLAUDE_SKILL_DIR}/../../meta/ase-skill.md
@${CLAUDE_SKILL_DIR}/../../meta/ase-getopt.md
<purpose name="ase-meta-commit">
Git Commit
</purpose>
<expand name="getopt" arg1="ase-meta-commit">
$ARGUMENTS
</expand>
<objective>
Help to *craft* a *concise commit message* for the
currently staged Git changes.
</objective>
<flow>
1. <step id="STEP 1: Find out staged changes">
Run the following command to find out details of what changes are
currently staged in the Git *index* for commit, capturing its output
into <diff/>:
`git diff --cached`
<if condition="<diff/> is empty">
Only output the following <template/> and then *STOP* immediately:
<template>
⧉ **ASE**: ✪ skill: **ase-meta-commit**, ▶ status: **no changes to commit**
</template>
</if>
</step>
2. <step id="STEP 2: Craft a consolidated commit message">
Craft a commit <message/> in the following format:
`<type/>: <summary/>`
The known <type/>s (kept deliberately in sync with the intent groups
of the `ase-meta-diff` and `ase-meta-changelog` skills) and their
usual corresponding kind of change are:
- `FEATURE`: new functionality or configuration
- `IMPROVEMENT`: improved functionality or configuration
- `BUGFIX`: corrected functionality or configuration
- `UPDATE`: updated functionality or configuration
- `CLEANUP`: cleaned up functionali