一键导入
automation
Turn a repetitive manual procedure into a proven, repeatable mechanism.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Turn a repetitive manual procedure into a proven, repeatable mechanism.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | automation |
| description | Turn a repetitive manual procedure into a proven, repeatable mechanism. |
| disable-model-invocation | true |
| argument-hint | <task> |
Use this pipeline when the deliverable is a mechanism that will run again — a script, hook, or
scheduled job replacing a manual procedure. Verification is not satisfied by reading the code:
the mechanism must run end to end at least once with its real output captured under evidence/.
An automation that has never run is a draft, not a deliverable.
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.
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.
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.