agentleFS
ayoubben18ayoubben18/ab-method/.agents/skills/critique-plan/SKILL.md

critique-plan

Skill192 starsChanged 3 months agoMITView on GitHub

Pre-implementation critic. Spins up a read-only domain critic that challenges a drafted plan — a task's missions or a roadmap's task graph — against the ubiquitous language, CONTEXT.md, and ADRs, and pushes back ONLY on genuine conflicts. Silent when the plan is sound. Use before implementing (from create-task / create-roadmap) or standalone to stress-test a plan against the project's domain model.

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

5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Look for it under the project root (the current working directory) first — a project's own copy is how it customises its paths, so it …

    line 17
  2. Very specific:

    Read only what exists; skip missing files silently (don't flag them or offer to create them): UBIQUITOUS_LANGUAGE.md, CONTEXT.md (or …

    line 30
  3. Very specific:

    A parked question is not a gap: If the plan carries ⚠️ UQ-n markers, read the task's unresolved-questions.md and pass it to the critic as …

    line 58
  4. Very specific:

    When a resolution sharpens a term, update CONTEXT.md inline (../domain-model/CONTEXT-FORMAT.md) — same discipline as /domain-model.

    line 80
  5. Distinctive:

    If the critic returned "No objections," say so in one line and move on.

    line 83

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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

Critique Plan (pre-implementation)

Stress-test a drafted plan against the project's domain model before any code is written. This skill produces pushbacks, not suggestions — it never gold-plates a plan that is already sound.

Silence is the expected outcome. A plan that speaks the canonical language and respects the documented decisions gets a one-line "No objections." Do not manufacture concerns to look thorough.

ALWAYS check .ab-method/structure/index.yaml FIRST for where the domain model lives — paths are user-configurable.

Look for it under the project root (the current working directory) first — a project's own copy is how it customises its paths, so it always wins. Only if the project has none (AB Method installed as a plugin rather than with npx ab-method), read the bundled default: ../../../.ab-method/structure/index.yaml relative to this SKILL.md. Either way, every path the index names is relative to the project root, never to the folder the bundled file lives in.

"The plan" is the drafted mission list (from create-task), the task DAG (from create-roadmap), or whatever the user pastes in (standalone).

Process

1. Load the domain model

Read only what exists; skip missing files silently (don't flag them or offer to create them): UBIQUITOUS_LANGUAGE.md, CONTEXT.md (or CONTEXT-MAP.md + each src/<context>/CONTEXT.md), docs/adr/, and docs/architecture/*.

2. Spin up ONE read-only domain critic (subagent)

Spawn a single subagent — domain-critic — with the plan verbatim, the files from Step 1, and the rule that it is read-only: it returns pushbacks as text and edits nothing. Isolating it keeps the critique out of the planning context. Its brief:

Fire ONLY on a genuine conflict, one of:

  • Terminology drift — the plan names a concept differently from the glossary/CONTEXT.md, or reuses a canonical term for a new meaning.
  • Wrong bounded context — work placed in the wrong context, or a unit that straddles a documented boundary.
  • Contradicts an ADR — reverses a recorded decision and the friction is real enough to reopen it. Cite ADR-NNNN.
  • Bad graph seam (roadmap) — a depends-on edge crosses a seam the wrong way, two "independent" tasks share a domain concept, or a task is mis-scoped (an epic, or a single mission dressed as a task).
  • Reinvents a named concept — introduces a new abstraction for something the domain model names.

For each, return What (the mission/task/decision), Conflicts with (the exact term / CONTEXT.md section / ADR-NNNN), Why it matters (concrete cost, not taste), Suggested resolution.

Example pushback: "Mission 3 calls it archiveOrder, but the glossary defines archiving as retention only — this mission also stops billing, which is Cancellation. Rename to cancelOrder so the code matches the domain, or the two concepts will blur across the codebase."

A parked question is not a gap. If the plan carries ⚠️ UQ-n markers, read the task's unresolved-questions.md and pass it to the critic as context. A recorded black box is a decision the user made — to ship a placeholder rather than guess — so the critic must not fire on "this mission is underspecified" or "the answer to UQ-1 should be X". It fires only if the placeholder itself conflicts with the domain model: it contradicts an ADR, quietly redefines a canonical term, or the parked question turns out to be a terminology question wearing a behaviour costume (those aren't parkable — they belong in CONTEXT.md). A marker with no matching entry is worth one line: the plan claims a black box that isn't recorded anywhere.

Out of scope for this critic: implementation quality, performance, tests, code style, "you could also…" ideas — anything not anchored in the domain model. Those belong to the post-implementation review-implementation skill. With nothing anchored, the critic returns exactly: No objections — the plan is consistent with the domain model.

3. Surface pushbacks — advisory, never blocking

Bring the pushbacks back into the planning session. The user resolves each their way:

  • Accept → amend the plan (rename, re-scope, fix the edge, move contexts) right there.
  • Dismiss → drop it. If the dismissal rests on a load-bearing reason a future planner would need in order not to re-raise it, offer to record an ADR (../domain-model/ADR-FORMAT.md). Skip ephemeral ("not now") and self-evident reasons.

When a resolution sharpens a term, update CONTEXT.md inline (../domain-model/CONTEXT-FORMAT.md) — same discipline as /domain-model.

If the critic returned "No objections," say so in one line and move on. Don't pad it.

/domain-model is a full interactive re-grill of the design; critique-plan is a single-pass, silent-by-default gate — one critic, real conflicts only, then straight back to the workflow.

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.