commit-confirm
Skill38 starsChanged 41 days agoMITView on GitHub
Use only for explicit commit-confirm invocation: propose whole-tree commits and wait for go.
In this repository9 other files it gives its agents.
- commitSkill
- diagnose-fix-loopSkill
- diagnoseSkill
- git-integrateSkill
- legend-list-best-practicesSkill
- legend-state-best-practicesSkill
- react-coding-styleSkill
- simplifySkill
- video-recordingSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 4 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this wrapper only after the explicit opt-in described in the frontmatter.
- Very specific: line 10
Use this skill to run $commit in approval-first mode, defaulting to the whole working tree.
- Very specific: line 12
Before starting, load and follow $commit.
- Very specific: line 24
When using $commit, force plan mode:
- Distinctive: line 27
If the user names a subset or asks for only the current agent's changes, honor that narrower scope.
- Very specific: line 28
Always present a commit plan first and wait for explicit approval such as go.
- Distinctive: line 29
Do not stage or commit before approval, even if there is only one logical commit.
- Distinctive: line 30
After approval, create all agreed commits without asking again unless the working tree changes unexpectedly.
- Very specific: line 31
Treat go after a previously presented plan as approval for that plan, then re-check the working tree before staging.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Commit Confirm
Use this wrapper only after the explicit opt-in described in the frontmatter. A normal approval-first commit request does not opt in to this skill or its whole-working-tree default.
Use this skill to run $commit in approval-first mode, defaulting to the whole working tree.
Before starting, load and follow $commit. This skill overrides its default scope and approval behavior; $commit owns working-tree inspection, grouping, message style, staging, committing, and reporting.
Selected installs do not install dependencies automatically. If $commit is not installed or available, stop before staging or committing. Tell the user to install it with:
npx skills add LegendApp/legend-skills --skill commitThen ask them to retry after installation.
Scope And Approval Override
When using $commit, force plan mode:
- Unless the user requests a narrower scope, use all-changes mode: inspect staged, unstaged, and untracked changes as the pool to group. Preserve explicit exclusions.
- If the user names a subset or asks for only the current agent's changes, honor that narrower scope.
- Always present a commit plan first and wait for explicit approval such as
go. - Do not stage or commit before approval, even if there is only one logical commit.
- After approval, create all agreed commits without asking again unless the working tree changes unexpectedly.
- Treat
goafter a previously presented plan as approval for that plan, then re-check the working tree before staging.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

