agentleFS
dafaalzdafaalz/agent-skills/skills/agent-planning/SKILL.md

agent-planning

Skill2 starsChanged 52 days agoMITView on GitHub

Use when authoring multi-task execution plans, defining acceptance criteria for tasks spanning multiple files or repos, verifying plan evidence before submission, or responding to audit feedback. Don't use for single-task drafting (use writing-plans), batch execution (use executing-plans), external model prompting (use web-advisor-prompt), UI styling (use frontend-design), or UX critique (use ui-ux-review).

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Ground-truth boundaries: Always inspect boundaries with sed -n or interactive slice checking before committing slicing scripts to plans.

    line 35
  2. Distinctive:

    Run the mode selected above.

    line 49

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Agent Planning & Empirical Verification

Governs the authoring, verification, and audit response discipline for complex multi-task execution plans. Enforces strict empirical verification standards, boundary assertions, rate-limit budgeting, and immutable sealed-state amendments.

<HARD-GATE> Write-Target Boundary. Read-only outside the declared plan paths. Writes are permitted only to the declared plan file and under `.agents/state/` for plan-audit.md, plan-evidence/, and blockers. Do not edit application source, tests, schemas, or configuration during plan authoring or verification. Any state mutation outside `.agents/state/` requires an explicit user-approved amendment and a recorded rollback command. </HARD-GATE>

Modes

Select a mode before Step 1.

  • Author mode (default). Draft a new multi-task plan. Run Steps 1 through 4.
  • Verification mode. Audit an existing plan without changing task status. Run Step 1, Step 2, and Step 4. Step 3 is skipped because verification produces no new plan artifacts.
  • Audit-response mode. Amend a sealed plan only through the amendment ceremony. Run Steps 1 through 4.

Precedence. writing-plans owns task content and plan structure. This skill owns the evidence seal and audit response.

Reference quick routing

Topic / PhaseReference FileCap
Authoring discipline & invariantsplan-authoring-discipline.md<= 200
Pre-submission readiness checklistplan-readiness-checklist.md<= 200
Audit feedback & blocker responseaudit-response-discipline.md<= 200
Auditor & advisor verification disciplineauditor-and-evaluator-discipline.md<= 200

Core Principles

  1. Empirical primacy. An assertion without a corresponding raw stdout capture is unverified speculation. Never predict what a command will do. Run it and report what it did.
  2. Ground-truth boundaries. Always inspect boundaries with sed -n or interactive slice checking before committing slicing scripts to plans.
  3. Sealed state invariance. A task that has been formally verified and sealed is immutable. Altering its artifacts requires an explicit amendment ceremony.
  4. Bidirectional accountability. Evaluator and auditor commands must be verified against target environments to ensure reproducible truth.

Workflow

Step 1. Intake and target map

Record the plan path, target files, acceptance criteria, and rollback command.

Completion criterion. .agents/state/plan-audit.md exists and lists every target path with an acceptance criterion and rollback command.

Step 2. Author or verify

Run the mode selected above.

Completion criterion. Author mode leaves the declared plan file with numbered tasks, binary acceptance criteria, and exact verification commands. Verification mode leaves .agents/state/plan-audit.md with one defect per line and a rule ID.

Step 3. Evidence seal

Capture raw stdout for every verification command.

Completion criterion. .agents/state/plan-evidence/ contains one file per command and the plan references each evidence file path.

Step 4. Submission gate

Present the plan path and evidence paths to the user.

Completion criterion. .agents/state/plan-approval.json exists with approved: true and the approved path. No task is sealed before that file exists.

Anti-patterns

IDTitlePattern descriptionWhy it failsConcrete fix
APA-1Disjunctive gateApproves a plan or an audit report in one criterionNo single artifact proves readinessSplit the criterion by mode
APA-2Read-only gate, writing stepForbids plan writes in the gate and requires them in Step 2The agent must violate the gateCarve the plan file into the write set
APA-3Undefined mode traversalDeclares modes without naming the steps each runsVerification mode executes authoring stepsState the step set per mode
APA-4Unsealed approvalTreats chat approval as the sealNo audit trail for the approvalWrite .agents/state/plan-approval.json

Boundary isolation

Plan authoring and verification stay inside the declared plan file and .agents/state/. Do not edit application source, test suites, schemas, or configuration while a plan is open. Any change outside those paths needs a recorded amendment and a rollback command.

Quick audit checklist

CheckPassing condition
Hard gateRead-only boundary observed outside plan paths and state artifacts
Mode selectedExplicit branch between author, verification, or audit response
Empirical evidenceRaw stdout captured for every verification assertion
Sealed stateNo post-hoc mutations without explicit amendment ceremony

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.