commit-confirm
Use only for explicit commit-confirm invocation: propose whole-tree commits and wait for go.
How do I install this agent skill?
npx skills add https://github.com/legendapp/legend-skills --skill commit-confirmIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill is a wrapper for a Git commit tool that enforces a manual approval step before any changes are staged or committed. It recommends a dependency from the same author's repository and processes local file changes for committing.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
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 commit
Then 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.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/legendapp/legend-skills/commit-confirm">View commit-confirm on skillZs</a>