Skilllibrary approval-gates
Insert explicit approval gates before risky, destructive, expensive, or irreversible transitions in an autonomous workflow. Use when the task crosses a trust boundary such as production rollout, deletion, mass refactor, network spend, external publication, or policy-sensitive change, and when the workflow needs a clear stop-until-approved checkpoint. Do not use for low-risk local edits with no meaningful blast radius.
git clone https://github.com/merceralex397-collab/skilllibrary
T=$(mktemp -d) && git clone --depth=1 https://github.com/merceralex397-collab/skilllibrary "$T" && mkdir -p ~/.claude/skills && cp -r "$T/05-agentic-orchestration-and-autonomy/approval-gates" ~/.claude/skills/merceralex397-collab-skilllibrary-approval-gates && rm -rf "$T"
05-agentic-orchestration-and-autonomy/approval-gates/SKILL.mdPurpose
Use this skill to stop automation at the right moments instead of after damage.
When to use this skill
Use this skill when:
- a workflow includes destructive or irreversible operations
- the next stage spends meaningful money, time, or trust
- a publish, merge, rollout, or external-facing action is about to happen
- the process needs a human checkpoint before advancing
Do not use this skill when
- the action is low-risk and reversible
- the approval adds ceremony without reducing risk
Operating procedure
-
Identify the transition boundary. Name the exact action that should not happen automatically.
-
State the approval reason. Tie the gate to risk: destructive change, blast radius, user impact, spend, or compliance.
-
Define the pre-gate evidence. List what must be present before asking for approval.
-
Freeze the workflow at the gate. Do not speculate that approval will be granted. Stop cleanly and summarize what is ready.
-
State the post-approval action. Make it obvious what happens only after approval arrives.
Decision rules
- Add a gate for irreversible deletion, production-impacting rollout, external publication, or sensitive permission change.
- Do not add a gate just because a task is large; tie it to actual risk.
- If evidence is missing, do not ask for approval yet. First gather the missing receipts.
Output requirements
Return:
Approval GateWhy Approval Is RequiredEvidence ReadyAction After Approval
References
- Read
for common approval boundaries.references/gate-triggers.md - Read
for receipt expectations.references/pre-approval-evidence.md - Read
for a compact gate summary.references/approval-message-template.md
Failure handling
- If the action is risky but no gate exists in the plan, add one and explain why.
- If the user explicitly waives a low-value gate, note that and proceed.
- If the workflow already crossed the boundary without approval, flag that as a process failure.