/ab-method:grill-with-docsfrom ab-method
Stress-tests a plan against the project's domain model and documented decisions, sharpening terminology and updating CONTEXT.md and ADRs inline. Parks unresolved questions so the build proceeds without stalling.
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.
Interview me relentlessly about every aspect of this plan until we reach a shared understanding. Walk down each branch of the design tree, resolving dependencies between decisions one-by-one. For each question, provide your recommended answer.
Ask the questions one at a time, waiting for feedback on each question before continuing. Asking multiple questions at once is bewildering.
If a fact can be found by exploring the environment (filesystem, tools, codebase), look it up rather than asking me. The decisions, though, are mine — put each one to me and wait for my answer.
Do not act on the plan until I confirm we have reached a shared understanding.
A branch is closed when it is answered — or, rarely, when it is parked as an unresolved question (see below). Parking is the only sanctioned way to leave a branch open; never leave one silently unresolved.
Before the first question on an area I haven't had explained yet, brief me on it — see Brief before you ask below. When a question has options, explain every option so I can choose without looking anything up — see Presenting choices below.
During codebase exploration, also look for existing documentation:
Most repos have a single context:
/
├── CONTEXT.md
├── docs/
│ └── adr/
│ ├── 0001-event-sourced-orders.md
│ └── 0002-postgres-for-write-model.md
└── src/
If a CONTEXT-MAP.md exists at the root, the repo has multiple contexts. The map points to where each one lives:
/
├── CONTEXT-MAP.md
├── docs/
│ └── adr/ ← system-wide decisions
├── src/
│ ├── ordering/
│ │ ├── CONTEXT.md
│ │ └── docs/adr/ ← context-specific decisions
│ └── billing/
│ ├── CONTEXT.md
│ └── docs/adr/
Create files lazily — only when you have something to write. If no CONTEXT.md exists, create one when the first term is resolved. If no docs/adr/ exists, create it when the first ADR is needed.
Assume the user did not write the code under discussion — an agent did — so every module is new to them until you have explained it in this session. Before the first question on a branch that touches such an area, brief them, then ask. Build the picture in this order:
grant, #mutate).Rules:
path:line) are pointers for later, never the explanation.See Example 3 in EXAMPLES.md.
When a question has options to pick from, do this for every option:
Keep the language simple:
Then give your recommendation and the one-line reason. See EXAMPLES.md for what this looks like.
When the user uses a term that conflicts with the existing language in CONTEXT.md, call it out immediately. "Your glossary defines 'cancellation' as X, but you seem to mean Y — which is it?"
When the user uses vague or overloaded terms, propose a precise canonical term. "You're saying 'account' — do you mean the Customer or the User? Those are different things."
When domain relationships are being discussed, stress-test them with specific scenarios. Invent scenarios that probe edge cases and force the user to be precise about the boundaries between concepts.
When the user states how something works, check whether the code agrees. If you find a contradiction, surface it: "Your code cancels entire Orders, but you just said partial cancellation is possible — which is right?"
When a term is resolved, update CONTEXT.md right there. Don't batch these up — capture them as they happen. Use the format in CONTEXT-FORMAT.md: edit the existing entry in place rather than appending, and run the check-docs gate after writing (.ab-method/rules/docs.md).
CONTEXT.md should be totally devoid of implementation details. Do not treat CONTEXT.md as a spec, a scratch pad, or a repository for implementation decisions. It is a glossary and nothing else.
Occasionally the grill hits a question the user simply cannot close right now — the decision belongs to someone else, depends on data that doesn't exist yet, or is waiting on something outside the codebase. The feature still has to get built. Rather than stalling the grill or letting the agent quietly guess, park the question and build a black box: a named placeholder, generic or empty, that can be swapped when the answer arrives.
This is rare. Expect zero parked questions in most sessions. It is not a valve for "the user hesitated" or "this is getting long".
All four must hold:
handoff skill; the current task doesn't wait on it.Never park something that changes the domain language. A term you need to name the
code cannot be deferred — settle it in CONTEXT.md and grill the behaviour behind it.
unresolved-questions.md next to the task's progress-tracker.md
(path from .ab-method/structure/index.yaml), using the format in
UNRESOLVED-QUESTIONS-FORMAT.md. If no task folder
exists yet, hold the parked questions in the session and write the file the moment it
does.⚠️ UQ-n in the tracker, so
whoever runs it knows a placeholder is in play.Then keep going as normal — the black box is a placeholder in the plan, not a hole in it.
Only offer to create an ADR when all three are true:
If any of the three is missing, skip the ADR. Use the format in ADR-FORMAT.md.
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