Skip to content
Development
Skill

/ase-repo-commit

Determine commit message for staged Git changes. Use when the user asks to "give", "write", "craft", "suggest", or "propose" a "commit message", or wants to know how to "describe" or "phrase" the staged changes for a commit.

From plugin
ase
7762 skills11 agents

Claude Code

$ npx -y skills add rse/ase --skill ase-repo-commit --agent claude-code

SKILL.md

ase-repo-commit.SKILL.md
name: ase-repo-commit
argument-hint: "[--help|-h]"
description: >
    Determine commit message for staged Git changes. Use when the user
    asks to "give", "write", "craft", "suggest", or "propose" a "commit
    message", or wants to know how to "describe" or "phrase" the staged
    changes for a commit.
user-invocable: true
disable-model-invocation: false
effort: medium
allowed-tools:
    - "Bash(git diff *)"
    - "Bash(git ls-files *)"

@${CLAUDE_SKILL_DIR}/../../meta/ase-control.md @${CLAUDE_SKILL_DIR}/../../meta/ase-skill.md @${CLAUDE_SKILL_DIR}/../../meta/ase-getopt.md

<purpose name="ase-repo-commit"> Git Commit </purpose>

<expand name="getopt" arg1="ase-repo-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-repo-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-repo-diff` and `ase-repo-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
  • Never add `Co-Authored-By` trailers to commit messages

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), is *not* itself part of the staged changes, but carries *unstaged* changes (check with the command `git diff --name-only -- <changelog-path/>`) "> <ase-tpl-hint level="minimal"> The `CHANGELOG.md` changes are still unstaged -- use `git add -p CHANGELOG.md` or `/ase-repo-stage --entry` to stage them before committing. </ase-tpl-hint> </if> <elseif 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-repo-changelog` to update its entries before committing. </ase-tpl-hint> </elseif>

</step>

</flow>

Read more
@rse
Ships withase

Agentic Software Engineering (ASE)

7762 skills11 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
77
Star history of rse/ase on GitHub, a chart by star-history.com

Other skills on ase.

hello

hello

Show a nice greeting message with a timestamp. Use this when the user wants to greet or say hello, optionally to a certain…

@rse@rseInstall Skill
ase-arch-analyze

ase-arch-analyze

Review software architecture, including package cohesion and inter-package coupling

@rse@rseInstall Skill
ase-arch-discover

ase-arch-discover

Discover additional, third-party components (libraries/frameworks) for the technology stack to provide needed functionality.

@rse@rseInstall Skill
ase-code-analyze

ase-code-analyze

Analyze the source code for problems in either the logic and semantics and its related control flow, performance and efficiency,…

@rse@rseInstall Skill
ase-code-edit

ase-code-edit

Edit Source Code: Use when the user wants to "edit" the code base in one shot from a query or a bare analyzer issue id like "P1",…

@rse@rseInstall Skill
ase-code-explain

ase-code-explain

Explains code with WHAT, WHY, ANALOGY, DIAGRAM, CRUXES, and GOTCHAS. Use when you want to know how code works or when the user…

@rse@rseInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills3w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc3w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react11d252k
@facebook@facebookInstall Skill

Questions about ase-repo-commit.

Which coding agents can use ase-repo-commit?
ase-repo-commit installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.