Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

executor-plan-regression

БесплатноБез исполняемых скриптовНе проверен

Use when plans under docs/executor/*/plans/ are all drafted and before any executor-execution begins — audits the whole plan set for cross-plan consistency…

aiskillstoreот aiskillstore★ 509 звёзд на GitHub

Об этом скилле

Executor — Plan Regression

The phase between planning and execution that the plan set earns by surviving one adversarial read as a set. Every per-plan check that already exists — exec-plan-lint, the planning self-review — reads ONE plan. This phase reads all of them against each other and against the contracts they claim to satisfy, because the defects that actually ship are seams: an Assumes section promising a signature the predecessor plan never produces, a spec requirement no plan's Covers: claims, two plans both provisioning the same queue with different shapes.

This skill runs after planning has drafted every plan and before the human picks an execution mode — defects found here repair cheaply; the same defect found during execution costs a fix loop per dependent task.

When to Use

  • executor-planning has finished drafting the plan set (one or more plans) and the planning phase has been marked entered.
  • Before every executor-execution run start — exec-run PLAN start refuses while this phase is entered-but-not-passed.
  • When a plan set changes mid-initiative — a plan rewritten, a new plan added, a spec amended after plans were locked — the audit re-runs for the changed plans.

Ownership Boundary

You audit and repair plan documents. Findings that live in the spec or an interface contract get a ruling and a targeted amendment to THAT document — never a plan edit that papers over a contract defect. You never write implementation code; you never modify .executor/<INIT>/Pnn/ workspaces (those belong to execution).

Inputs

Need From
The plan set plans/*.md in the initiative folder — on disk, not the INDEX
The requirements the spec each plan's spec: frontmatter names
The contracts every INIT-…-IFCE-* the plans cite
Global constraints the spec's constraint block, plus each plan's ## Global constraints if present
The run store home ../executor/scripts/exec-plan-regression PLAN_FILE dir

Resolve the artifact root first:

../executor/scripts/exec-plan-regression "$PLAN" init
# → .executor/INIT-0004/plan-regression/summary.md, plus dispatches.md

init also seeds .executor/INIT-0004/rulings.md — the initiative-level log where every ruling this phase produces lands (exec-ruling "$PLAN" initiative "<decision>" "<why>" "<cost>").

The Round Loop

Three roles, each with a dedicated prompt, each a separate dispatch — never one agent grading its own work:

Role Identity Prompt Writes
Auditor, round 1 AUDIT-P02-R01 plan-auditor-prompt.md regression-P02-R01.md
Repairer REPAIR-P02-R01 plan-repairer-prompt.md edits to the plan file, fix-P02-R01.md
Re-auditor, rounds 2–3 AUDIT-P02-R02 plan-reauditor-prompt.md regression-P02-R02.md
sequenceDiagram
    participant C as Controller
    participant A as Auditor
    participant R as Repairer
    participant Q as Re-auditor
    C->>A: plan set, spec, IFCEs, lint output
    A-->>C: regression-P02-R01.md
    C->>C: amend SPEC or IFCE for contract findings
    C->>R: assigned plan and cross-plan finding IDs
    R-->>C: repaired plan, fix-P02-R01.md
    C->>C: apply escalations, commit, capture repair diff
    C->>Q: prior audit, fix log, repair diff
    Q-->>C: regression-P02-R02.md
    C->>C: PASS sets the row clean, FAIL loops or escalates
  • Every dispatch is logged in plan-regression/dispatches.md with its identity and model, and every prompt placeholder is filled — a dispatch briefed from memory is not an audit.
  • One auditor per plan, all receiving the whole set — checks 2, 4, 6, and 7 are cross-plan by definition. Audits of different plans run in parallel; a repair and the re-audit that grades it never do.
  • Rounds never overwrite. exec-plan-regression PLAN audit 02 names the next file beside the first; the re-auditor verdicts the prior round's findings from it.
  • Round cap: three audits per plan. When R03 still fails, stop repairing: take the open findings to the human for a ruling, a spec change, or a recorded waiver.

The Audit — per plan per round, one regression-P<nn>-R<nn>.md

The auditor writes its findings to the path from exec-plan-regression PLAN audit <ROUND>. Frontmatter kind: regression, round: R<nn>, verdict: PASS | FAIL, and the high/medium/low counts — exec-plan-regression check reads verdict: from the latest round. PASS means zero HIGH and zero MEDIUM.

Walk these checks in this order — each class cheap to verify, and the order surfaces contract-breaking defects before polish ones:

  1. Spec coverage. Union every plan's Covers: lines and implements: pointers; diff against the spec's R<nn> requirement set. A requirement with no claiming plan is a HIGH. A Covers: entry naming a requirement
Полный SKILL.md на GitHub

Установить executor-plan-regression в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

plan-auditor-prompt.mdplan-reauditor-prompt.mdplan-repairer-prompt.mdskill-report.json

FAQ

Что делает скилл executor-plan-regression?

Use when plans under docs/executor/*/plans/ are all drafted and before any executor-execution begins — audits the whole plan set for cross-plan consistency, spec coverage, interface fidelity, and contract drift, repairs what it finds, and gates execution on the result.

Как установить скилл executor-plan-regression?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл executor-plan-regression запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить executor-plan-regression с