/enso-method:autonomous-prd-refinementfrom The Enso Method
Runs automated review-and-fix loops on a drafted PRD, assumptions document, and mockups until no Medium or High findings remain. Uses full and delta review rounds, verifies facts once, and checkpoints progress to disk for resume after interruption.
Ships in The Enso 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.
A review-and-fix loop for a drafted PRD and everything that travels with it: its assumptions document, its mockups, and the lines it adds to neighbouring documents such as an initiative's PRD list. Each round runs deliverable-review, fixes every finding, and records progress in a state file on disk. The run ends when a full, fresh review finds nothing worse than Low, apart from findings rejected with a reason the user can check or handed off to another session.
A PRD written from source material (a brief, its entry in an initiative's PRD contracts, a stakeholder's handoff, interviews) is rarely right on the first draft. Some cases go unstated, two passages disagree, a fix in one place leaves a stale copy in another, and a mockup shows something the criteria no longer say. One review round finds some of this; the fixes then create a few new problems of their own. This skill runs the rounds until they stop finding anything that matters, without the user.
The goal: when the run ends, no Medium or High problem a reviewer found in the PRD, its assumptions or its mockups is left unfixed, apart from any rejected with a stated reason or handed off whole to another session, so the user's review is spent on the product decisions, not on defects. And the PRD is still one a person can read and sign off: a run that covers every case but leaves the criteria unreadable has not reached its goal ("Keep It Readable").
The shape of the work. A long review loop gets expensive in three places, and the skill is built around each:
deliverable-review, "Delta Rounds").deliverable-review, "Look at Visual Deliverables").Interruptions are expected: the run can take hours and outlast a session. State lives in a file on disk, so a new session continues from the round it stopped in.
This is an orchestrator skill. It coordinates:
deliverable-review: one round at a time, full or delta, with its severity scaleinvestigate-question: one open business assumption at a time ("The Research Pass")prd-writing-standards: applied to every fix to the PRD and its mockupsassumptions-document-writing: applied when a fix needs a business decision the sources do not settleUse this skill when:
Do NOT use this skill when:
deliverable-review round is enough for the PRD's size. Run that insteadautonomous-design-refinement refines the PRD and the design togetherdeliverable-review round by roundrequirements-intake), whose quotes are the stakeholders' own words. The PRD does not link or name these, so look for them in source-material/engineering-principles, "Production Data"), so facts and sample data can be checked. Credential discovery follows investigate-question.| Parameter | Default | Description |
|---|---|---|
| Round cap | 12 | Full and delta rounds together; research passes do not count. Reaching it stops the run and reports what is still open; it never ends the run silently |
| Concurrent research | 3 | At most three investigate-question subagents in flight in a research pass |
| Reviewers per round | 1 | One review sub-agent, plus the extra visual reviewers deliverable-review launches when a round has more than about 20 images to look at |
| Writers per round | 1 | One fix sub-agent at a time, never two, so two writers never edit the same document |
Effort. Every sub-agent runs at high effort or above: a session at a higher level carries that level through, and one below it launches its sub-agents at high. Reviewing and fixing are careful reading and careful editing; what keeps the cost down is the delta rounds, rendering each screen once and verifying facts once, not weaker reviewers.
Each round is a deliverable-review round, followed by fixing every finding it reports, Lows included. Only the Highs and Mediums it fixed decide what comes next; a rejected one, or one handed off whole, does not count (below):
| The round was | It fixed | Next round |
|---|---|---|
| Full, before any delta round | Any High | Full |
| Full, before any delta round | Mediums, no High | Delta |
| Full, after delta rounds | Any High or Medium | Delta |
| Full, at any point | Only Lows, or nothing | None: finish |
| Delta | Any High or Medium | Delta |
| Delta | Only Lows, or nothing | Full |
In words: full rounds until one leaves no High to fix, then delta rounds until one leaves no Medium or High to fix, then a full round. If that full round has a Medium or High to fix, the loop goes back to delta rounds. The run ends only on a full round with no Medium or High to fix. A delta round sees only what the fixes touched, so it never ends the run.
Rejected and handed-off findings do not count. The table reads the Highs and Mediums a round's writer fixed. A finding rejected with a reason (Phase 3), or handed off whole because only another session can fix it and nothing in this PRD changed ("Working Beside Other Sessions"), does not drive the loop. It is passed to every later reviewer, who may raise it again with evidence; rejected Mediums and Highs and handed-off findings are listed in the completion report and the commit body so the user can check them.
Severity follows deliverable-review's scale ("Rate Each Finding"): rated by the consequence of building from the PRD as written, never by the effort of the fix. No one re-rates a finding, and a disputed rating is no reason to reject one: it is fixed, and counts at the reviewer's rating. When the writer believes a finding itself is wrong, it rejects it with the reason (Phase 3).
When the same area keeps producing findings. deliverable-review asks for a case walk once one part of the work has produced a Medium or High in two rounds running. The orchestrator tells each reviewer which areas did, from the state file's Rounds table, counting fixed findings only.
When fixes go back and forth. If one round's fix is undone by the next round's fix (a passage flips between two readings), the passage carries an undecided question. Stop fixing it by review. Settle it by the 95% rule ("The Scope Gate"): from the source material if that settles it at 95% or more, written into the PRD; otherwise, if it is a business decision, as an assumption (assumptions-document-writing). Record in the state file which passage flipped and what settles it, the citation or the assumption ID, so later reviewers see it.
A fix may make the PRD say precisely what its source material and stated intent already require: an unstated case on a path the product already has, a contradiction, a stale copy, a missing criterion the source asks for. A fix never adds a capability neither asks for. A finding whose fix would add one is recorded under Noticed, out of scope in the state file, one line, and left alone. Those lines go to the user in the completion report.
A finding that needs a business decision is settled by the 95% rule (prd-writing-standards, "Every Decision Is Written Up or Declared"). Settled at 95% or more from the source material, it is written into the PRD as its requirement, with no entry and no list of settled questions. Below 95%, it becomes an assumption at the best-supported answer in the same fix step, written with assumptions-document-writing (its gates first: the answer is often already written down). Use a Blocking Open Question only for the rare case that skill defines; it pauses the run.
A finding that turns on how to build it, or on a fact, needs no business decision and gets no business assumption (assumptions-document-writing, "Sort Every Entry by What Would Settle It"). A build choice is left to the technical design, which makes every such choice; the PRD states only the outcome it must meet. A fact is looked up in the fix step when a quick lookup settles it; one this run cannot reach, with the blocker named, is a technical assumption. The same sort applies to entries the register already holds: an existing entry that is a build choice leaves the body for the validated table as Left to the design YYYY-MM-DD, its notes giving the choice and the alternative it beat so the design records it as a decision, a factual one moves to the Technical Assumptions section or is settled, and one with only one sensible answer, or where both answers build the same thing, is written into the PRD and leaves the body as Written up YYYY-MM-DD. An entry that only says how the business will use the product is moved and adds no requirement or criterion.
The orchestrator's rulings follow the same rule. When it hands a writer a ruling to settle a finding, often the way to stop a passage flipping: at 95% or more from the material the writer writes it into the PRD, and below 95% on a business question the writer declares it as an assumption in that fix step. The state file records the ruling and the citation or assumption ID that settles it. It never stands in for an assumption, and no reviewer is told to treat a business decision as settled unless it has one or the other.
Say what settles each fix. For every Medium or High it fixes, the writer names what settles the fix: the source material (cited), a rule the PRD already states, a decision settled at 95% or more from the material, or an assumption ID. A business decision below 95% is an assumption, as above, so the person signing off sees it as something to confirm rather than a rule to skim past. A consequence of a rule the PRD already states is not a new decision and gets no assumption of its own: too many entries get approved unread (assumptions-document-writing).
Review rounds check what the documents say, not whether an assumption should exist or has the best available answer. So before each full round, research the register.
Which entries: every open business entry with no **Researched** line, or changed since by anything but this pass, including any a fix just added. An entry whose outcome was Still theirs is researched again for an avenue that line does not list, unless the line records that its last pass found nothing new; then it is done.
For each entry, at most Concurrent research at once:
investigate-question, "Researching a Business Assumption", with the question, the requirement it hangs on with the proposed value removed, the source locations, the Facts table, the avenues already tried, and what the stakeholders have said about what they want asked and how questions should be researched. Withhold the proposed answer and evidence, and keep the investigator out of this register's open entries and the criteria built on them. Hand over the Validated table and every other ruling, which share a file with what is withheld.Depends on, as Phase 3's fixes are.assumptions-document-writing: the entry moves as "Sort Every Entry by What Would Settle It" says, stays and takes what was found, or, if Reframed, keeps its ID and is restated. It places the entry above or below the line and sets its **Researched** line.Research rewrites; it does not append. Better evidence replaces weaker, and any sentence that would not change the stakeholder's answer comes out. Evidence quotes who said it and when, never a source-material/ path. Research scripts are throwaway and stay out of the commit. A weak entry is researched and moved, never deleted.
Then read it as they would. One fresh subagent, given only the register's business sections and what the stakeholders have said they want asked, marks each entry: mine to answer, "why are you asking me?", or can't follow, which includes not being able to say what in the product or in what counts as done depends on the answer. The first goes on. The second, with its reason, is sorted again. The third is restated around what the product would show, record or decide, or sorted again if nothing depends on it.
First pass only, check the PRD against its sources. One subagent per stakeholder source the PRD was written from, at most Concurrent research at once, reports what the PRD dropped, narrowed or contradicted. Check each against the requirements intake record and later sources by requirements-intake's "Whose Words Count" and latest-position rule; what survives is recorded Open in Findings, rated like any other, for the next fix step. Set Source check to done.
Review rounds find cases, and every case found invites one more clause. Left alone, the criteria the rounds set out to sharpen become a document nobody can sign off with understanding, and an agent builds from it no better. Every fix follows prd-writing-standards, "Keep Criteria Readable as Cases Are Added":
deliverable-review, "Calibrating the edges"); the writer still fixes a finding at the rating it was given.Added in refinement. line unless it restates a stakeholder's decision, and it is never written in one of the three costly shapes (prd-writing-standards, "Keep Each Criterion Worth Its Cost"). An existing criterion in one of those shapes is narrowed in the same fix step; unless it carries that line, the narrowing is declared as a business assumption.Fixes and reviews often turn on facts about the systems the PRD describes: how a record is shaped, which values a field carries, which vendor or customer a sample record belongs to. Getting one wrong costs a round, and checking one again every round costs more.
Read-only always, and production only where the project allows it (engineering-principles, "Production Data").
A PRD's mockups are design references: they show what the criteria require, and the built product will be reviewed in its own right. They are reviewed accordingly (deliverable-review, "Look at Visual Deliverables"):
A wrong mockup is redrawn in its own medium, never annotated (prd-writing-standards, "Mockups Show What the Criteria Require").
A PRD in an initiative is often refined while sessions for its neighbours are writing theirs, and fixes reach into shared documents: the seams in an initiative's PRD contracts, a coverage matrix. A sibling PRD's criterion that this one changes is named only in a Replaces: line on this PRD's own criterion; the sibling's Superseded by: line is written when this PRD is built, never during refinement (prd-writing-standards, "When Later Work Changes an Earlier Criterion").
git status, git diff). Edit only the lines this PRD owns: its PRD-list row and its line in the initiative overview, its PRD-contracts entry and seam rows, and its coverage-matrix rows, plus, when this PRD is retitled, its name and directory wherever other lines give them (prd-writing-standards, "Writing a planned PRD from an initiative"). Detail goes into the PRD; an entry stays within initiative-breakdown's size cap. Never revert, restage or reformat another session's work.Fixed; rest handed off: {Hand-offs row} and counts as fixed, so the change is reviewed like any other. Only when nothing in this PRD changed is it marked Handed off: {Hand-offs row}. Reviewers get the pending wording, so they do not raise it again each round.Location: beside the PRD, as {feature}-prd-refinement-state.md.
Lifecycle: created in Phase 1, updated after every review and every fix step, deleted at completion. It is scaffolding, never a deliverable, and is never committed: a paused run leaves it untracked beside the PRD.
Editing rule: update rows in place. Never regenerate the file from memory; that is how findings get lost.
# PRD Refinement State — {feature}
Started: {date} Round: {N} Next round: {Full | Delta} Delta rounds run: {yes | no} Source check: {pending | done} Round cap: {12, or as the user raised it} Status: {In progress | Paused: reason}
Branch: {branch}
Delta base: {tree id of the documents as the last recorded review saw them}
Last updated: {date time}
## Documents
| Document | Path |
|---|---|
| PRD | … |
| Assumptions | … |
| Mockups (generator, how to render, main users' width) | … |
| Source material | … |
| Neighbouring documents | … |
## Intent and decisions
{The 1–2 sentence intent every round reviews against, and the decisions the source material settles, as deliverable-review's Steps 1–2 need them. Written once; amended only when the user rules.}
## Rounds
| Round | Kind | High fixed | Medium fixed | Low fixed | Rejected (severity) | Handed off whole | Areas with a fixed Medium or High | Criteria words |
|---|---|---|---|---|---|---|---|---|
| 1 | Full | 2 | 6 | 10 | 1 (Low) | 0 | refunds, bundled items | 3,900 → 4,050 |
## Findings
Open, rejected and handed-off findings, and the last round's fixed findings with what changed for each. Those are what the next delta round checks; they are replaced when the next round's fixes are recorded, so both the next reviewer and the next writer see them. Rejected and handed-off findings stay for the whole run.
| ID | Round | Severity | Finding (one line) | Status |
|---|---|---|---|---|
| R1-07 | 1 | Low | … | Rejected: the sample date matches the record it was drawn from (Facts) |
| R2-03 | 2 | Medium | … | Fixed: {what changed, and where} |
## Assumption research
| ID | Last pass | Outcome | Confidence | Avenues tried | Untried |
|---|---|---|---|---|---|
## Run totals
Screens redrawn: {list} Assumptions added or amended: {IDs} Rejected Mediums and Highs: {IDs, one line each} Handed off whole: {IDs} (a `Fixed; rest handed off` finding counts as fixed, never here)
## Facts
| Fact | Record and query, or source | Date | Passages relying on it |
|---|---|---|---|
## Flipped passages and rulings
{Each passage that went back and forth, and each ruling given to a writer, with what settles it: the source cited, a decision settled at 95% or more and written into the PRD, the assumption ID, or the user's ruling. Never a business decision held only here.}
## Hand-offs
| To | Change | Status |
|---|---|---|
## Noticed, out of scope
- {one line each}
## Next action
{The single next thing to do. A resuming session starts here.}
The orchestrator stays thin: it reads the state file, launches one sub-agent at a time, and records each result. It does not review or fix anything itself, so its context lasts the whole run.
| Step | Who | Returns to the orchestrator |
|---|---|---|
| Setup, re-orientation | Orchestrator, with one sub-agent on a fresh start | The intent, the decisions the sources settle, how the mockups render and the width their main users work at |
| Research | investigate-question sub-agents, then one writer at a time | Per entry: outcome, confidence, avenues tried, where it landed |
| Review | One deliverable-review sub-agent, full or delta, plus its visual fan-out when needed | Findings with severity, location and the consequence that sets the severity; facts it verified |
| Fix | One writer sub-agent | Per finding: fixed (where), fixed with the rest handed off (to whom), rejected (why), or handed off whole (to whom); the propagation sweep's search terms and the copies it updated; mockups regenerated; files it created or edited; passages settled after flipping, and how; facts it verified; hand-offs it needs |
| Continue or stop | Orchestrator | — |
Sub-agents return distilled results, not transcripts.
If the session ends at any point:
If a sub-agent fails, retry once. If the reviewer fails again, set Status to Paused: review failed with the error and report to the user. If the writer fails again, keep its findings Open, set Status to Paused: fix failed with the error, and report; never drop a known finding.
On a session-limit or context warning: finish the step in flight, update the state file, set Status to Paused: session limit, and stop. Do not start a round into a closing window.
Pending feedback changes come first, on a fresh start and on every resume. A {name}-pending-feedback-changes.md beside the PRD means a stakeholder round has changed what it must say: apply it with assumptions-document-feedback, which resumes from that file (its Step 4a, "Resuming"), commit that amendment on its own, then continue.
Paused: needs {access}) instead of returning every round.Adopting a review already under way. A PRD that has already been through review rounds without this skill does not start over. Create the state file as for a fresh start, record the earlier rounds in the Rounds table as far as their history shows them, marked before this run, and gather into Facts what those rounds verified, from the documents' evidence and from the session that ran them. The next round follows The Loop from the last earlier round's result; when that result is not known, it is a full round. Earlier rounds do not count toward the round cap.
The orchestrator plays deliverable-review's main agent for its Steps 1–3: the state file's intent, decisions, mockup notes and Facts are Steps 1–2, and Phase 2 below is Step 3. Each full round's reviewer also answers Step 6's question, and Phase 3 takes the place of Steps 4, 5 and 7.
Before a full round, run The Research Pass and record each entry under Assumption research, so the round reviews the researched register.
GIT_INDEX_FILE={tmp} git read-tree HEAD, then GIT_INDEX_FILE={tmp} git add -- {paths}, then GIT_INDEX_FILE={tmp} git write-tree. The paths are the in-repo files the run edits (the PRD, assumptions, mockup sources, the neighbouring documents it changes), plus any file a fix created; never source material kept outside the repo, and never the state file. {tmp} is an absolute path outside the repo, so no index file lands in the checkout. Hold the tree id; it becomes the Delta base only when this round's findings are recorded (step 4), so a review interrupted and run again still diffs against the old base.git diff {Delta base} {snapshot} -- {paths}, which covers new files too. If the base tree is gone, run a full round instead.deliverable-review, giving it, beyond that skill's own context:
autonomous-design-refinement does that once the design exists)deliverable-review Step 6's question: does the deliverable, as it stands, accomplish the intent? A gap is a finding, rated like any otherassumptions-document-writing, "Sort Every Entry by What Would Settle It")? And does the deliverable make any business decision that is neither settled at 95% or more from the source material nor declared as an assumption? Each is a finding, rated like any otherprd-writing-standards, "Criteria Describe What Is Built"? One that fails and has no Kept by the user's decision. line is a finding, fixed by moving it where that section saysprd-writing-standards, "Before You Write: Is This One PRD?")**Depends on:** line agree with its PRD-contracts entry and its PRD-list row, and say None in words when it depends on nothing? A missing line or a disagreement is a findingdeliverable-review Step 5: each visual fixed in its own medium, a propagation sweep for every term, figure, name or rule a fix changed, and a check of each sentence a fix adds against its neighbours. Fixes follow prd-writing-standards and, for assumptions, assumptions-document-writing, and keep the PRD readable ("Keep It Readable"). The writer returns, beyond its fixes, what settles each Medium or High it fixed ("The Scope Gate") and the words in the acceptance criteria after its fixes.Round {N} ({kind}): fixed High {h} · Medium {m} · Low {l}; rejected {r} ({severities}); handed off whole {k}. Next: {kind}.Using the state file only:
Paused: round cap, keep the state file, and report the last round's Mediums and Highs, fixed but not yet re-reviewed, and the areas that kept producing findings. The user decides whether to continue; if they do, record the cap they set in the state file's header.await the user: raise the cap, answer {question}, grant {access}), never to the next round.=== Autonomous PRD Refinement Stopped ===, its Final round line gives the reason it stopped, its Next line says what is left, and the commit subject reads PRD refinement stopped in place of PRD refinement complete. The report and the commit body both list the open findings, the last round's Mediums and Highs fixed but not re-reviewed, and any blocking question.initiative-breakdown, Step 5): the PRD now holds its own scope.docs({feature}): PRD refinement complete — {rounds} review rounds, {findings} findings fixed. Put the Noticed, out of scope lines, the open hand-offs and handed-off findings, and the rejected Mediums and Highs with their reasons in the message body: once the state file is gone, the commit is their only durable home. This is the default; the user's instructions override it (pre-commit-validation, "Who Commits"), and then the files are staged and the message presented. It never pushes.=== Autonomous PRD Refinement Complete ===
Rounds: {N} ({f} full, {d} delta) Final round: full, no Medium or High left to fix
Findings fixed across all rounds: High {h} · Medium {m} · Low {l} Rejected: {r}, Mediums and Highs listed with their reasons Handed off: {list, or none}
Mockups: {s} screens, {k} redrawn during the run
Acceptance criteria: {c} criteria, {w0} → {w1} words
Assumptions added or amended: {IDs, or none}
Assumptions researched: {n} ({a} already answered · {o} settled · {t} not theirs · {s} still theirs, {p} of them asked · {r} reframed)
Facts verified: {n}
Hand-offs to other sessions: {list, or none}
Out of scope, noticed and not acted on: {list, or none}
Next: the user's review of the PRD is recommended here, ideally with whoever owns the business decisions (`stakeholder-review-package` can make it a readable review now, on request; for a follow-on PRD made for a stakeholder's new asks, one with a `**Follow-on to:**` line whose scope came from their saved feedback, make it now without being asked); then the technical design (`technical-design-writing-standards`) in a new chat.
After the report, give the continuation-prompt for the technical design, unless the user asked to carry on in this chat.
assumptions-document-writing, whoever made itengineering-principles, "Production Data" allowspre-commit-validation, "Who Commits")docs/enso-method-setup-guide.md, "Plugging in your house engineering standards")| Skill | How this skill uses it |
|---|---|
prd-writing-standards | Writes the PRD this skill refines, and governs every fix to it and its mockups |
deliverable-review | Every round, full or delta; owns the severity scale, the visual review and the fix discipline |
assumptions-document-writing | When a fix needs a business decision the sources do not settle, and when research moves or restates an entry |
investigate-question | Researches each open business assumption |
initiative-breakdown | Hands each planned PRD to prd-writing-standards; this skill refines it before the user's review |
autonomous-design-refinement | Runs later, once the technical design exists, and refines the PRD and design together |
PRD: docs/prds/customer-returns/customer-returns-prd.md (24 criteria)
Assumptions: docs/prds/customer-returns/assumptions.md (9 entries)
Mockups: docs/prds/customer-returns/mockups/ (14 screens, generated from one script)
Source: a stakeholder's handoff package and its PRD-contracts entry
State file: (none, fresh run)
The session ends here on a usage limit, during round 4's review.
Answered. Then 3 Lows. Fixed. The run ends.The report: 8 rounds (4 full, 4 delta); fixed High 2 · Medium 13 · Low 23, and 1 Low rejected; 3 screens redrawn; assumption RULE-010 added; one hand-off to the session writing the neighbouring exchanges PRD, about how both state the exchange seam. State file deleted; the PRD's files committed. The user reads the PRD before the design starts.
What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (ensodynamics/enso-method) — no native marketplace selected
npx claudepluginhub p/ensodynamics-enso-method27 skills in this plugin
/assumptions-document-feedbackProcess stakeholder feedback on assumptions documents — incorporate corrections, validations, partial answers and pushback (a doubt or question is researched and the assumption restated to meet it, never pasted in as the answer) while keeping the project moving forward. Checks every requested change against the whole initiative as it stood before the feedback, then sorts it into a fix or a new ask; once the PRD's build has started, fixes go into its phase plan and new asks, apart from minor ones, into one follow-on PRD, so a build in progress finishes on the scope it started with. Finishes every change in each PRD it reaches, including each PRD that consumes a changed contract, and gives each amended PRD one fresh check instead of rerunning its refinement. Use for every stakeholder answer to an assumption, however it arrives (a returned review, an email, meeting notes, a ruling given in chat), even one recorded in passing during a build./assumptions-document-writingStandards for writing assumptions documents — every entry sorted by what would settle it (a build choice goes to the technical design, a fact research could not reach is a labelled technical assumption, only what the business wants is a business assumption), specific implementable statements, plain English, confidence levels, and stakeholder validation format. Use to draft a register, add a new entry, re-sort the entries a register already holds, or make a change an agent came up with. A stakeholder's answer to an assumption entry, however it arrives (a returned review, an email, a ruling given in chat), goes through assumptions-document-feedback instead, which applies these format rules.Other plugins' skills for the same job