executing-plans-preflight
10
总安装量
10
周安装量
#30059
全站排名
安装命令
npx skills add https://github.com/shihyuho/skills --skill executing-plans-preflight
Agent 安装分布
github-copilot
10
codex
10
kimi-cli
10
gemini-cli
10
cursor
10
opencode
10
Skill 文档
Executing Plans Preflight
Run a preflight gate before implementation so superpowers:executing-plans starts only after policy checks pass.
Overview
- Enforce a deterministic preflight gate before editing files or executing plan tasks.
- Execute gate policy in
references/preflight-gates.mdand stop on blocking failures. - Read gate details from
references/gates/*.mdas directed by policy.
Trigger Contract
Trigger this skill when the user asks to:
- implement a plan
- start coding
- refactor/fix/add features
- continue implementation after planning
Common trigger phrases:
- “start implementation”
- “implement this plan”
- “start coding”
- “éå§å¯¦ä½”
- “å·è¡è¨å”
Preflight Flow
Core model:
- Read
references/preflight-gates.md. - Evaluate gates in listed order.
- For each gate, apply policy rules defined in
references/preflight-gates.md. - Collect evidence and decision (
PASS/BLOCK/SKIP). - If preflight decision is
BLOCK, halt plan execution and propose concrete next actions. - Ask the user to confirm which suggested action to take.
- Invoke
superpowers:executing-plansonly after preflight passes.
Integration with superpowers:executing-plans
REQUIRED SUB-SKILL ORDER:
- Invoke
executing-plans-preflightfirst. - Complete preflight decision.
- Invoke
superpowers:executing-plansonly after preflight passes.
BLOCKING GATE:
- Do NOT start Task 1 of
superpowers:executing-planswhen preflight decision isBLOCK. - Report every blocking reason before asking user to resolve it.
- Provide suggested remediation actions (with commands when applicable), then require user confirmation for the chosen next step.
When user says “execute plan” or equivalent, run this skill as pre-step and report:
- executed gates
- skipped gates and why
- blocking reasons (if any)
- whether plan execution is allowed or blocked
If blocked, also report:
- suggested remediation actions
- recommended default action
- explicit user confirmation prompt for next step
Guardrails
- MUST run preflight before any plan execution or code edits.
- MUST follow gate order and decision semantics in
references/preflight-gates.md. - MUST read each gate’s detail file before evaluating it.
- MUST detect git context first and mark git-dependent gates as
SKIPwhen not inside a git repository. - MUST report evidence and decision for every evaluated gate.
- MUST explicitly gate
superpowers:executing-planson preflight result. - MUST propose concrete remediation actions whenever preflight decision is
BLOCK. - MUST get user confirmation for the next action before resolving blockers.
- MUST NOT ignore any listed gate unless its
skip_ifcondition is met. - MUST NOT start Task 1 when policy returns blocking result.
Verification
- Gate policy loaded from
references/preflight-gates.md. - Gate commands/checks executed and output interpreted.
- Preflight decision communicated clearly.
- Implementation starts only after preflight passes.
superpowers:executing-plansis invoked only after preflight gate passes.
References
references/preflight-gates.md– Gate policy and decision semanticsreferences/gates/g1-branch-context.md– G.1 gate implementation detailsreferences/gates/g2-worktree-clean.md– G.2 gate implementation detailsreferences/gates/g3-remote-sync.md– G.3 gate implementation details