一键导入
fix
Diagnose, plan, approve, repair, and prove a defect fix.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Diagnose, plan, approve, repair, and prove a defect fix.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Turn a repetitive manual procedure into a proven, repeatable mechanism. Use when the user explicitly invokes the automation pipeline.
Plan, approve, implement, verify, and record a software change. Use when the user explicitly invokes the build pipeline.
Record a durable architecture decision with alternatives and consequences.
Discover, approve, implement, prove, review, and record a software change. Use when the user explicitly invokes the delivery pipeline.
Leave unfinished repository work safe for another human or agent to resume.
Evaluate whether retained evidence supports the delivery claims being made.
基于 SOC 职业分类
| name | fix |
| description | Diagnose, plan, approve, repair, and prove a defect fix. |
| disable-model-invocation | true |
| argument-hint | <task> |
Use this pipeline when something is broken and the cause is not yet established. The diagnosis bounds the plan: do not plan past what the reproduction demonstrates, and do not widen the repair beyond the diagnosed cause.
Task: $ARGUMENTS
Record harness as claude in the run ledger.
Clarify the requested outcome from available context. Inspect the repository before asking
questions that the files can answer. Create the run folder and write task.md containing the
outcome, constraints, assumptions, and acceptance checks. Reserve an empty evidence/ folder.
Reproduce the reported behavior first and capture the failing command and its output in the run
folder as diagnosis.md, then isolate the smallest cause that explains it. State the root cause,
the affected surface, and nearby risks. If the failure cannot be reproduced, stop and report that
instead of guessing at a fix.
Write plan.md in the run folder. Name the files or components to change, the intended behavior,
the verification commands, and material risks. Keep the plan executable by another capable agent.
STOP after completing this stage. Do not execute until the user explicitly approves the written plan. Request the verdict by writing approvals/plan-approval.md.request in the run folder describing what needs approval, then stop. The verdict is recorded from outside the session: base approve <run-slug> plan-approval (or --deny) writes approvals/plan-approval.md — a standing directive counts only when recorded that way, with --note citing it. Never create the verdict artifact yourself. If the recorded verdict is denied, skip to record with outcome aborted.
Implement the approved plan without widening scope. Run the planned checks and capture a concise
result.md with changed paths, verification results, and any remaining limitations. Put durable
proof files under evidence/ when useful.
Run the acceptance checks named in task.md and the approved plan. Capture the commands and their
real output as files under evidence/; reference them from result.md with a pass or fail verdict
per check. A failing check means the run is not completed — fix it or record the honest outcome.
Never substitute a claim for a captured result.
Always run this stage, including after rejection, failure, or abort. Append exactly one compact JSON
object line to .base/history.jsonl with slug, date, pipeline, harness, outcome, and
paths. Use completed, aborted, or failed for outcome; never rewrite previous lines.