/enso-method:review-technical-designfrom The Enso Method
Reviews a freshly drafted technical design document by verifying claims against the real codebase and infrastructure, testing data-model changes, and applying engineering standards. Revises the design in place, commits changes, and reports what was fixed.
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.
Run it after technical-design-writing-standards has drafted and committed a design,
and before autonomous-design-refinement. The drafting skill starts it; run it by
hand on a design that skipped it.
It runs in a fresh context — a subagent, or a new chat — never in the session that wrote the design. The architecture pass starts by sketching an independent design before reading this one, and a session that just wrote the design can't.
It skips itself when the design follows an established pattern and makes no decision that is expensive to reverse: no new service, no new or changed schema or data model, no new public interface. Say so in one line, record it with an empty commit (Phase 6), and stop.
The order matters. autonomous-design-refinement fills gaps inside the design's
frame and deliberately never asks "would it be better if…". This skill is the one
that questions the frame. Refining a design that is then restructured wastes the
refinement.
Designs are too long for a person to read in full, and an AI-written design reads polished and confident whether or not it is right. So the review does the work rather than handing it over: it revises the design, commits the revision, and leaves a short report saying what changed and the few sections worth a person's reading. That reading is recommended, not required; nothing waits on it.
Review every design as an AI's first draft, perhaps steered by a person who may not have known where to point it. That is what the drafting skill produces, and a design from a more senior author loses nothing from the same scrutiny. It changes what the document's surface tells you:
The review fills two gaps:
engineering-principles,
technical-design-writing-standards (what belongs in a design and at what
altitude), and every house standard named on an Engineering standards: line in
the project's AGENTS.md (or the user's global map). If none is named, the
conventions visible in the codebase are the house standard.This is the review's center of gravity, and it runs before line-level verification. Fact-checking a design inside its own frame — contradictions, wrong claims, missing error codes — accepts the architecture by default. The question this skill exists to answer comes first: is this built the right way at all, or is there a simpler way?
Sketch your own design first. From the PRD, assumptions and constraints only — before absorbing the design's solution sections — write the simplest architecture you'd build: 3–5 sentences plus a count of new moving parts (services, repos, tables, queues, buckets, scheduled jobs). This is the only reliable way to avoid anchoring on the draft's frame.
Diff yours against theirs. Every moving part or layer of generality the design has that your sketch doesn't must be pulled in by a requirement or a named constraint — not by momentum, symmetry, or AI enthusiasm. Every part your sketch has that theirs lacks is a question to answer.
Check the roads not taken yourself. The design names only what it chose; finding the alternatives is this pass's job. Could an existing service absorb this? Does something already running do 80% of it? Is there a managed capability of the platform, or an off-the-shelf tool, that makes the custom thing unnecessary? What would the dumb version look like, and which requirement actually kills it?
Find the first ceiling. Where does the chosen design break first — scale, latency, cost, a hard platform limit? Is hitting it acceptable for the stated problem, observable as it approaches, and recoverable without a rewrite? Verify claimed platform limits against provider documentation; folk numbers are wrong in both directions.
Classify the doors. Which decisions are one-way doors (contracts spread across many components, data models, anything expensive to unwind) and which are two-way (a service that could merge into another later, a sync flow that could go async behind the same endpoint)? Scrutiny — and the "read personally" list — concentrates on the one-way doors.
Model the data in its ecosystem. For every added or changed entity, field, event, index, table, object path or cache, trace its authoritative source, owner, readers, writers, authorization boundary, lifecycle and deletion path. Compare it with the existing naming, identity, timestamp, tenancy, test-data and versioning conventions.
Before approving a model that will accumulate customer data, run a future-capability probe. Think one or two plausible product generations beyond the named roadmap — not to add those features now, but to expose choices that become disproportionately expensive once production history exists:
This is option preservation, not permission to gold-plate. Change the design when a plausible capability exposes costly lock-in and a modest boundary, stable identifier, provenance field, version marker or separation of concerns preserves the option (Phase 5, a swap). Otherwise leave the design as it is, note the constraint and exit path in the report, and defer the speculative machinery. Also run the near-term thought experiments: source data changes after a decision; readers and writers deploy at different times; volume exceeds one page or item limit; retention policy changes; a label is renamed; a record must be migrated or replayed years later. Prefer derived projections over duplicated mutable truth, stable IDs over labels, versioned contracts over implicit shapes, and explicit migration paths over claims that a schema is "flexible." A locally elegant design is still wrong if it creates an orphan data island or blocks the next plausible product evolution.
Established evolution tests, independent of database or serialization format:
The pass fills the Architecture checklist in the report (Phase 6): one ✅/⚠️/❌ mark per dimension with a one-line justification. Your sketch is a tool for finding defects, not a replacement design: a difference between the two changes the design only when it exposes a defect that qualifies a swap (Phase 5). The checklist names the strongest losing alternative even when the design stands — in the report, never in the design. A row of unexplained ✅s is indistinguishable from not having done the pass.
A handful of external touchstones, each reduced to the question it contributes:
Do not read the design linearly and nod along. Extract its factual claims and check the ones it leans on:
docs/prds/ and docs/changes/ for older PRDs or
designs covering the same feature. A predecessor the current design changes is
not rewritten: the new design's decision and the PRD's criteria carry
Replaces: lines naming what they change (prd-writing-standards, "When Later Work
Changes an Earlier Criterion"; technical-design-writing-standards, "Changes to
an Earlier Design"). A contradiction without a Replaces: line is a defect —
two documents both claiming to be current.Read-only verification (grep, file reads, infrastructure-code reads, read-only CLI and API calls) never needs permission. Do it before forming opinions. Never write to a shared or production system to check a claim.
Rank findings by these, roughly in this order of severity:
engineering-principles). No
fallbacks or defaults masking broken states; partial output never ships under a
success status; every external call is bounded by a timeout; distinct error
contracts a client can act on. Assume the compute can disappear mid-operation —
operations idempotent and safe to retry, no state that only lives on one
machine's disk, and abrupt termination (deploy, restart, scale-in) either handled
or explicitly accepted with rationale. Failures must surface in telemetry the
service emits deliberately, not in something an engineer has to log in and find.technical-design-writing-standards, "Price Each Criterion", and make
the change it calls for in the design and the PRD.Engineering standards:
line, if any, and against the conventions visible in the codebase: stack,
hosting, project layout, configuration and secrets handling, deployment, where
infrastructure code lives. Prefer what the house already runs over something the
team would have to learn and operate; self-operating what a managed service
already provides needs an argument. A deviation needs a requirement behind it,
stated in the design.engineering-principles). That implies tagged test records in real
non-production stores rather than a fresh-database or exclusive-environment
assumption. Scope tests like the services themselves; replacing a pipe in the
basement shouldn't require reinspecting the attic windows. The work should
decompose into increments that can be built and verified independently, since a
big-bang cutover across several services accumulates integration risk — the
phasing is part of the design (phase-split cuts it later, but the design must
make it possible). Check the Delivery section against its rules
(technical-design-writing-standards): remove an early merge that fails its test
and redesign the sequence that needed it, cut a paid build item no criterion
needs, and move any mid-build wait on a person that Planned stops does not list to
before or after the build.technical-design-writing-standards). Interfaces, decisions with the constraint
that decided them, and verification evidence belong; line-level implementation
detail, file-by-file change lists, decision history and lists of rejected
alternatives don't — they go stale, and an implementer that reads a losing
option can drift toward it.Every finding is one of three kinds, and the kind decides what happens to it.
The design is silent, wrong or contradicts itself: a claim verification showed false, a missing error contract or timeout, an operation that isn't safe to retry, capacity behavior left to chance, a drift bomb, a data model with no deletion path, a broken link, a vague name, excess detail. Fix it in the design. These can't flip-flop: there is no other reading for a later review to swing back to.
A swap replaces a choice the design made, and that would work, with a different one: a component, data store, data model shape, interface shape, hosting or workload type. Make a swap only when you can name one of these defects and have verified it against the code, infrastructure, provider documentation or requirements:
The replacement must meet every acceptance criterion and stated constraint the original met; check that before making it. A swap is materially better when it removes a named defect. "Cleaner", "more elegant", "more common" and "I would have built it differently" are not defects, however sure you are. A swap that would undo a choice an earlier run of this review made needs a defect in that choice, verified the same way.
The bar is a closed list, not a confidence level, on purpose. Whether one working architecture beats another is judgment, and a confidence figure on a judgment moves from one run to the next. A defect from the list is a checkable fact, so a second run reaches the same answer, and a swap can only remove a defect, never trade one preference for another. The design settles instead of changing each time it is reviewed.
Carry a swap through every section it touches (interfaces, data models, integration points, Existing Code, Open Questions), so the design never describes both choices.
A concern you could not verify — a limit that might be reached at volume, a behavior
the code doesn't show — never triggers a swap. When implementation would have to make
a judgment call without the answer, write it in the design's Open Questions as a
factual question: what would have to be true, and what to check.
autonomous-design-refinement investigates it and folds in the answer. Otherwise
drop it.
assumptions-document-writing. A criterion whose cost is out of proportion is
not held by this rule: "Price Each Criterion" says what happens to it.assumptions-document-writing.technical-design-writing-standards, "Rejected Alternatives").Edit to technical-design-writing-standards: integrate each change into the section
that owns its subject, and keep the design readable in one sitting. One pass, no
loop. Make the changes once and stop; repeating passes over a design is
refinement's job.
Commit the revised design, and the assumptions document or PRD if a change reached
them (a Replaces: line, a reopened assumption), as
docs({feature}): technical design review — {one-line summary of what changed}, with
the report as the body. This is the default; the user's instructions override it
(pre-commit-validation, "Who Commits"), and it never pushes. The commit keeps the
review's changes one diff of their own, after the draft's commit, so a person can see
exactly what the review changed or revert it whole.
The review always commits. One that changed nothing, or skipped itself, makes an
empty commit with the same subject (… — no changes or … — skipped, follows an established pattern) and the report or the skip line as its body:
git commit --allow-empty --only -m "<message>", which commits nothing else and
leaves another session's staged files staged (pre-commit-validation, "Who
Commits"). The commit is how using-the-enso-method knows the review ran, and it
keeps the report somewhere durable.
Write the report so it can be handed verbatim to anyone who reads the design: neutral review voice, never addressing the person who requested it, no references to the requesting conversation, no private context. Reviewer-only asides, if truly needed, go in chat — never inside the report.
Lead with the verdict, and make it unambiguous.
**Verdict:** [1–2 sentences: "Sound as drafted; N fixes made" or "N swaps and M
fixes made," plus anything still conditional (a pending spike, an open question
the build depends on). No hedging.]
**Architecture** — [one-line overall call: "sound — would build it this way" or
"swapped (change 1)"]
- [✅|⚠️|❌] Simplest shape that satisfies the requirements — [independent sketch
vs. the design; new-moving-parts count, each traced to a requirement]
- [✅|⚠️|❌] Alternatives weighed and beaten — [the strongest alternative and the
requirement or constraint that kills it]
- [✅|⚠️|❌] Nothing speculative (YAGNI) — [one line]
- [✅|⚠️|❌] Boring / house technology — [what's novel and what requirement paid
for it; deviations from house standards and the requirement behind each]
- [✅|⚠️|❌] One-way doors identified and best-designed — [one line]
- [✅|⚠️|❌] Data model fits the current ecosystem and can evolve — [source of
truth and ownership fit, correction and mixed-version behavior, retention and
deletion, first data-volume ceiling, hardest plausible future capability and its
exit path]
- [✅|⚠️|❌] First ceiling known, observable, acceptable — [one line]
- [✅|⚠️|❌] Cost and operations proportionate — [one line]
**Changes made** (swaps first)
1. [SWAP] <what changed> (§ref) — defect: <which one, with evidence>. Replaced:
<the original choice>.
2. [FIX] <what changed> (§ref) — <evidence>
3. [FIX] <smaller fixes grouped in one line>
**Open Questions added:** <each, one line, or none>
**Questions for the user:** <settled decisions worth reopening, each with the
defect, the simpler way and the evidence; or none>
**Sections worth reading personally (~X min total)**
- §A — <why it deserves a person's judgment: a swap, a one-way door, a
security-sensitive mechanism, an expensive-if-wrong call>
**Held up under verification:** <compact list of the claims checked and found
correct, each with where it was checked — this is what lets a reader skip those
sections>
**Not verified:** <one line on anything load-bearing that couldn't be checked —
never imply whole-document verification if the scope was narrower>
When the design isn't one this pipeline drafted — it arrived as someone else's pull request, or the user asked for a review only — don't edit it, and make no commit, empty or otherwise. Phases 1–4 run the same; Phase 5 decides what each finding proposes instead of what to change, and the report lists findings with proposed resolutions in place of Changes made, each rated:
On a pull request, post the report as a PR review (gh pr review --request-changes
or --approve, matching the verdict), then give a few-line summary in chat, not a
second full copy. Otherwise deliver it in chat. Don't write a review file into the
repo: the method's per-PRD documents are the PRD, technical design, assumptions and
phase documents, and a review is input to them, not a fifth.
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./autonomous-design-refinementMulti-pass workflow that refines PRD, Technical Design, and Assumptions documents to implementation-ready state, run after review-technical-design (and the user's own read of the design, when the user wants one) and before phase-split; the design-stage counterpart of autonomous-prd-refinement, which refines a draft PRD before any design exists — small ranked batches, each answer folded into the documents as soon as it is known, progress checkpointed to an on-disk state file so an interrupted run resumes instead of restarting./autonomous-prd-refinementResearch-and-review loop that takes a drafted PRD, with its assumptions and mockups, to a state with no Medium or High finding left, run after prd-writing-standards and before the user's recommended review and the technical design — every open business assumption researched before each full round, full deliverable-review rounds until none finds a High, cheaper delta rounds over each round's fixes until none finds a Medium or High, then a final full round; mockups reviewed as design references, facts verified once, progress checkpointed to an on-disk state file so an interrupted run resumes instead of restarting./build-preflightLast check before a PRD's build starts, while the user is still there — prove the access the whole plan needs and that it will outlive the run, confirm the machine has what it needs to build and test the project, confirm what the design says a person provides first, and find every stop left in the plan. It clears what a command clears (a sign-in refresh, a missing tool) and reports "ready" in one line, or a short numbered list of only what is left for a person. It changes no file. Not a review — it never comments on the requirements, the design, the criteria, scope or cost. Use after phase-split and before the first implement-from-requirements session, when the user asks whether a build is ready to run unattended, or as the first step of an orchestrator's run./continuation-promptProduce the copy-paste prompt that starts the next chat. Line one is a short chat name; then the lineage block (the PRD and phase this chat serves, or an honest "no lineage found"); then the skill to use, the goal, where to work, pointers into the governing documents, and the single first action. Before writing the prompt it moves every fact the repo should own out of the prompt and into the governing document, so the prompt stays a pointer. Use whenever the user asks for "a prompt for a new chat", "the prompt to continue this", "hand this off to a fresh session", or when any skill reaches the point of handing work to a fresh chat (phase-split, implement-from-requirements wrap-up). NOT for a "context package", or anything that passes information back to a chat that is already running. Re-run it to regenerate a prompt that came out wrong. At the end of a track it produces no prompt and says so. Ships a UserPromptSubmit hook that turns that first line into the session title.Other plugins' skills for the same job