/ase-meta-commit
Determine commit message for staged Git changes.
$ npx -y skills add rse/ase --skill ase-meta-commit --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/ase-meta-commit
Context preview
The summary Claude sees to decide when to auto-load this skill.
Determine commit message for staged Git changes.
SKILL.md
ase-meta-commit.SKILL.mdname: ase-meta-commit
argument-hint: "[--help|-h]"
description: >
Determine commit message for staged Git changes.
user-invocable: true
disable-model-invocation: false
effort: medium
allowed-tools:
- "Bash(git diff *)"@${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:
`git diff --cached`
</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 functionality or configuration
- `REFACTOR`: refactored functionality or configuration
The rules for generating <summary/> are:
- Use a maximum of 60-80 characters
- Use imperative mood ("add" not "added")
- Use *no* period at the end
- Use *no* Markdown formatting
Output this crafted commit message with the following <template/>:
<template> Commit Message: **<message/>** </template>
Do *not* output any further explanation.
Finally, give the closing hint by expanding the following (which, depending on the configured <ase-guidance-level/>, may expand into nothing and hence emit no output at all):
<if condition=" a `CHANGELOG.md` file exists in the project (or in any affected sub-package) and is *not* itself part of the staged changes "> <ase-tpl-hint level="normal"> The staged changes do not touch `CHANGELOG.md` -- use `/ase-meta-changelog` to update its entries before committing. </ase-tpl-hint> </if>
</step>
</flow>
Read more
name: ase-meta-commit
argument-hint: "[--help|-h]"
description: >
Determine commit message for staged Git changes.
user-invocable: true
disable-model-invocation: false
effort: medium
allowed-tools:
- "Bash(git diff *)"@${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:
`git diff --cached`
</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 functionality or configuration
- `REFACTOR`: refactored functionality or configuration
The rules for generating <summary/> are:
- Use a maximum of 60-80 characters
- Use imperative mood ("add" not "added")
- Use *no* period at the end
- Use *no* Markdown formatting
Output this crafted commit message with the following <template/>:
<template> Commit Message: **<message/>** </template>
Do *not* output any further explanation.
Finally, give the closing hint by expanding the following (which, depending on the configured <ase-guidance-level/>, may expand into nothing and hence emit no output at all):
<if condition=" a `CHANGELOG.md` file exists in the project (or in any affected sub-package) and is *not* itself part of the staged changes "> <ase-tpl-hint level="normal"> The staged changes do not touch `CHANGELOG.md` -- use `/ase-meta-changelog` to update its entries before committing. </ase-tpl-hint> </if>
</step>
</flow>
Repo: rse/ase
Other skills on ase.
- /hello
Show a nice greeting message with a timestamp. Use this, when the user wants to greet or say hello, optionally to a certain subject <subject> and in a certain language <language>.
Open skill - /ase-arch-analyze
Review software architecture, including package cohesion and inter-package coupling
Open skill - /ase-arch-discover
Discover additional, third-party components (libraries/frameworks) for the technology stack to provide needed functionality.
Open skill - /ase-code-analyze
Analyze the source code for problems in either the logic and semantics and its related control flow, performance and efficiency, or security.
Open skill - /ase-code-craft
Craft Source Code: Use when user wants to "create", "add", or "craft" a new feature from scratch.
Open skill - /ase-code-dissect
Dissect the current Git change set, treated as an epic, domain-wise and logically into cohesive parts and materialize each part in its own dedicated Git WorkTree. Use when the user calls to "dissect", "split", "break up", or "decompose" a large change set into atomic, separately
Open skill

