/ab-method:critique-planfrom ab-method
Stress-tests a drafted plan against the project's domain model before implementation. Flags terminology drift, wrong bounded contexts, ADR contradictions, and bad graph seams. Silent when the plan is sound.
Ships in ab-method. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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 together with the tracker's ## Placement and ## Adopt or Build sections (from create-task), the task DAG (from create-roadmap), or
whatever the user pastes in (standalone).
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/, docs/architecture/tech-stack.md, each layer's docs/architecture/<layer>/index.md
(open a topic file only when the plan touches it), and docs/seams/index.md (open a seam doc only when the
plan touches that seam).
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:
CONTEXT.md, or reuses
a canonical term for a new meaning.ADR-NNNN.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).docs/seams/ owns without going through
it (direct fetch beside the data-fetching seam), or changes a seam's interface without an introduce
placement or a pass through the seam design gate (create-task § 3). Cite the seam doc and its
Callers never line.## Outcome asks for, or
defers part of it to "later" with no real boundary forcing the split, while the tracker's ## Architecture
says fit or is missing (create-task § 3a). Cite the mission and the workaround, and sketch the reshape
that removes it. Effort is not a reason to keep the fit; a real constraint (an ADR, an external
contract, persisted data) is, so don't fire when ## Architecture names one.adopt, covered or adopt (override: …) row for it in ## Adopt or Build, a
mission that installs a different version than the row checked, or a row checked more than 30 days ago.
This and the reshape check are the two not anchored in the domain model. Cite the mission and the package.For each, return What (the mission/task/decision), Conflicts with (the exact term / CONTEXT.md
section / ADR-NNNN / docs/seams/<slug>.md), 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 tocancelOrderso 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.
Every return, clean or not, ends with one evidence line: Checked: <the seam docs, ADRs and rules it actually read, and the files it opened>. A clean result with no evidence line is a pass that didn't happen: re-run the critic.
Bring the pushbacks back into the planning session. The user resolves each their way:
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.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ayoubben18/ab-method --plugin ab-method36 skills in this plugin
/ab-analyze-backendAnalyze and document a project's backend patterns — API design, data access, service structure. Use when the user wants a backend-only architecture analysis./ab-analyze-frontendAnalyze and document a project's frontend patterns — component structure, state management, conventions. Use when the user wants a frontend-only architecture analysis./ab-analyze-projectAnalyze a project's architecture end to end — extract domain language, map the tech stack, document frontend and backend patterns. Use when onboarding a new codebase or refreshing the architecture baseline.Other plugins' skills for the same job