/ash:confirm-before-pushfrom ash
Asks for explicit confirmation before every git push, merge, or fast-forward operation. Protects against unintended remote updates.
Ships in ash. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Always ask before pushing to a remote, merging to a protected branch, or fast-forwarding a protected branch. Each action needs its own explicit authorisation. Past approvals in the same session do not extend to future ones.
This skill fires on:
git push to a remotegit merge into main, master, or another protected branchgit push origin HEAD:main)--force, --force-with-lease)This skill applies even when the project's convention is direct-to-main solo shipping. The convention defines where work lands; this skill defines the per-action authorisation gate before it lands.
After committing locally, summarise what's on the branch and ask before pushing. Examples:
<sha> <message>. Three files, plus one migration. Ready to push to origin?"Wait for explicit confirmation. Words like "yes", "push it", "go ahead", "proceed" are clear authorisations. Ambiguous responses ("looks good", "nice") are not.
Do not push with --force or rewrite published history without explicit per-action approval that names the force operation specifically.
When a multi-step push is authorised, the canonical sequence is:
git log --oneline <remote>/<branch>)git log --oneline <remote>/<protected-branch>If any step fails, stop and report rather than continuing to the next.
Local commits do not require this gate. Commit freely; the gate is on the moment work leaves the machine or lands on a protected branch.
Branch creation, worktree setup, and similar local operations are not push events and do not trigger this skill.
Pushing is visible to others and hard to reverse. CI runs, deploy webhooks, and anyone watching the repository all consume pushes the moment they land. Even on a solo direct-to-main project, every push is the moment a commit becomes off-machine durable and shared. Per-action authorisation prevents the case where standing approval from earlier in a session is used to push work the user has not yet reviewed.
The gate extends to deleting any remote branch, including --delete-branch on a merge.
Deleting a branch an open PR points at closes the PR unrecoverably (a fresh PR gets a new
number; one deletion left the work's only surviving copy in a local object store). Before
any branch delete, run the mechanical preflight:
gh pr list --head <branch> --state all
gh pr list --base <branch>
git log main..<branch>
In a squash-merge repo, "merged" is a PR fact, never an ancestry fact — git branch --merged lies in both directions. Judge a stale branch by the diff it would apply to main
today. Redundancy means content-on-main AND no open PR — never a name or someone's say-so.
git diff $(git merge-base main branch) branch, not main..branch —
the symmetric diff misleads for branches forked before a main-side hotfix. After merging
onto a hotfixed base, grep the queries the branch introduced (see blast-radius-grep).gh pr merge from a worktree can error on the local step while the remote merge
succeeded: verify the real outcome with gh pr view --json state,mergedAt and sync main
separately with git -C.Enforcement note: the push-gate hook (hooks/push-gate.mjs) mechanises this gate by forcing the permission prompt on pushes, PR merges, and remote ref deletion. The hook is the control; this skill is the policy and the preflight.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
60 skills in this plugin
/ai-surface-disciplineApply input minimisation, output discipline, and a human-in-the-loop gate to every surface that sends data to an LLM. Triggers when building or editing any send-to-LLM path: an Edge Function calling a model, a draft-commentary or summary generator, an auto-resolver, a cash-allocation suggestion, a classification call, or any new AI-assist feature, and when changing the model or the prompt behind one, especially in a RICS or UK GDPR regulated context./blast-radius-grepThe unit of change is the action or the fact, never the list of places someone handed you. Load BEFORE editing when a change reaches code or text it does not name: deleting, moving or renaming anything; rewording a message or label; changing what a status, total or column means; narrowing a grant; adding a constraint, gate or new kind; a lookup on an email, reference or name; fixing one instance of a bug; working from a spec's list of affected places; correcting a duplicated fact; or concluding from a sweep that errored or was truncated. Grep the whole repo and fix every occurrence in one pass. Not for citations in prose (verified-citations)./checkpoint-logKeep a live, committed checkpoint log during any work unit expected to span multiple commits or sessions. Each commit ships with a short note in the log, what the commit did, the key decision and why, any deviation from plan; closing the unit requires an explicit walk of the checklist including the wiring steps. Triggers when starting multi-commit work, when resuming a unit after a crash or a gap, and when declaring a multi-commit work unit done. Does not fire on single-commit fixes, where the commit message carries the note./commission-the-rosterBefore spawning a fleet of agents, publish a roster for the operator's approval - role, model tier, token budget, scope and single artifact per agent - and brief each agent with pre-verified facts instead of questions. Triggers when appointing a lead agent, delegating a multi-agent wave, planning a commission whose shape is not yet known, choosing which model tier does which job, or when a usage window emptied faster than the work justified. Does not fire on spawning one agent for one bounded task, and does not price the result (price-the-spend reports the burn afterwards)./committee-reviewRun a three-lens committee review of a whole project or major subsystem: positive, adversarial, and neutral-chair reviewers over one shared evidence base, with attribution-stripped consolidation and item-by-item voting. Use when the user asks for a committee review, a multi-perspective audit, a "three Fable review", or wants findings that survive adversarial challenge before becoming a work programme. Not for single-file reviews or quick checks; this is a large, deliberate, token-expensive process that needs explicit user opt-in./constant-time-secret-compareCompare bearer tokens, API secrets, signatures, and password-equivalents with a constant-time comparison (hash both sides, then crypto.timingSafeEqual) — never == or short-circuiting string equality. Triggers when writing any code that checks a secret against a stored or expected value. Does not fire on comparing non-secret identifiers.npx claudepluginhub randommonicle/claude-skills --plugin ashOther plugins' skills for the same job