/enso-method:technical-design-writing-standardsfrom The Enso Method
Guides writing technical design documents covering architecture decisions, interfaces, data models, and integration points. Bridges PRD requirements and implementation with a structured process for new or existing systems.
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.
Guidelines for writing technical design documents.
A technical design document describes how we're going to build something. This is where technical decisions, interfaces, data models, and architecture choices are documented.
The technical design document bridges the gap between the business requirements (the PRD) and the actual implementation. It captures decisions that affect multiple phases or have long-term implications.
Most PRDs need a technical design document. If you're building anything with interfaces, data models, or architecture decisions that need to be agreed upon before implementation, write one.
You can skip it when a feature is small, follows an established pattern, and doesn't introduce new interfaces or architectural choices — the PRD is sufficient in those cases.
When asked to write a design, not just check one, this is the whole process. No separate research phase comes first; you read what the PRD's criteria touch, as you need it.
Most designs change a system that already exists. Before writing, know how to treat its code. This is stated, not researched: take it from the person asking or from the PRD, and never work it out from deploy or merge history. If nobody says and existing code is involved, use Preserve, the default, and say so in one line so the user can correct it.
A system can be mixed; say which parts are which. autonomous-design-refinement uses the same two terms.
autonomous-design-refinement. When one of them has no design yet, or its refinement hasn't finished, say so in one line before drafting and recommend designing that PRD first, then carry on unless the user says to wait. When the draft goes ahead, put what this design assumes about that PRD's contracts in Open Questions, so it is checked once that design settles. Load engineering-principles and every house standard named on an Engineering standards: line in the project's AGENTS.md (or the user's global map); with none named, the conventions visible in the codebase are the house standard. The design is held to them from the first draft.Left to the design is one of them: record it as a decision with its rationale and the alternative it beat, and change the row to Moved to design YYYY-MM-DD with this design's section. A gap in the PRD goes in Open Questions; a business uncertainty also goes in the assumptions document per assumptions-document-writing.docs({feature}): draft technical design, with the assumptions document if it changed, and the PRD if "Price Each Criterion" changed it. This is the default; the user's instructions override it (pre-commit-validation, "Who Commits"). It keeps the review's changes one diff of their own.review-technical-design in a fresh context: a subagent, or a new chat where subagents aren't available. Its architecture pass starts from a design it sketches before reading this one, which the session that wrote the draft can't do. It revises the design in place and commits the revision, and it skips itself for a design that follows an established pattern.autonomous-design-refinement refines the PRD and design together to implementation-ready. Relay the review's report first: its verdict, its questions for the user and its sections worth reading. The user's own read of the design comes next when the user wants one: recommended, never required, and when to carry on follows using-the-enso-method, "Routing Rules".A design built to the letter of every criterion can cost far more than a criterion is worth. While designing, notice any criterion that needs machinery of its own: a service, table, job, compatibility layer or standing test rule that exists for that criterion alone. Weigh what it improves (how often the situation arises, for how long, for whom) against what it costs to build and to keep. Polish on a state that lasts minutes a few times a year does not earn permanent machinery.
When the cost is out of proportion, design the simpler version and change the requirement to match in the same commit. Nobody is asked:
Added in refinement. Narrow or drop it in the PRD with prd-writing-standards; a dropped criterion's label is retired.assumptions-document-writing), with what the fuller version would cost under "If they choose otherwise". The build proceeds on the narrower version.requirements-intake, "Whose Words Count"), or records a validated ruling, is not edited. Reopen it under Gate 3 in assumptions-document-writing: the design builds the simpler version and says why, and the PRD keeps their words until they revise them.The commit body names each criterion changed this way, one line each.
Brief summary of what's being built and the key technical decisions. Link to the parent PRD.
When the PRD comes from an initiative (initiative-breakdown), the design also honors the initiative brief's settled decisions and the seams in the PRD contracts beside the PRD list ({name}-prd-contracts.md). It decides the shared contracts that document says this PRD owns, and extends — never redesigns — contracts an earlier PRD owns. It covers only what this PRD ships, not the whole initiative.
What choices are we making and why? Each decision should include rationale — not just "we chose X" but "we chose X because Y," where Y is the requirement or constraint that decided it. The design names what it chose, never the options it beat ("Rejected Alternatives", below).
This is the most important section. Define the contracts:
API Endpoints:
POST /api/audit/data/{dataSourceId}
Request Body:
{
"startDate": "2024-01-01",
"endDate": "2024-01-31",
"page": 1,
"pageSize": 50,
"filters": { ... }
}
Response:
{
"data": [...],
"totalCount": 1234,
"totals": { ... }
}
Queue Messages: If using queues, what's the message format?
Events: If publishing events, what's the event schema?
Define the key data structures:
AuditDataRequest:
- dataSourceId: string (required)
- startDate: date (optional)
- endDate: date (optional)
- page: int (default: 1)
- pageSize: int (default: 50)
- filters: QueryBuilderRules (optional)
For database changes, describe new tables or modifications to existing schemas.
If this feature needs to interact with other systems or services, describe those touchpoints:
Don't name specific classes or describe internal structure—that's implementation.
What the build needs from people, and when its work reaches shared branches. People act before the build, after it, or in a phase planned as attended. Start from the PRD's Out of Scope lines that name a part of this section. Leave out a part with nothing in it.
phase-split puts it in the first phases so the rest of the build runs with nobody there.engineering-principles, "One Branch for a Split PRD"). An early merge is valid only when a named criterion cannot be proved until earlier work is running somewhere only a merge can put it, and no local or sandbox stand-in can prove it instead. Examples: a service that the next one must be built against and that cannot be run locally; a quality score measured on data that exists only in the development environment. Each line gives the work to merge, the target branch, the criterion, why no stand-in works and, once given, the permission. Proving things in a shared environment out of habit, a walkthrough by a person, or a sequencing step this design itself created are not reasons; redesign the sequence instead.prd-writing-standards, "Criteria Describe What Is Built"). Spending that is running away (a loop with no end) is a bug, and stops the session as a critical finding (implementation-lifecycle, "The Critical Exception").Kept by the user's decision. that makes the build wait, and on what.Document any decisions that still need to be made or areas of uncertainty.
When this design changes a decision or interface an earlier PRD's design made, the decision carries a Replaces: line naming the earlier design and section: Replaces: docs/prds/customer-returns/technical-design.md, §Status Mapping (or Replaces in part: … (what changed)). When the change is built, the earlier section gets one line under its heading, Superseded by: <path>, §<heading>, or Superseded in part by: … (what changed), in the same commit as the code. The rules are the PRD's (prd-writing-standards, "When Later Work Changes an Earlier Criterion"): the earlier text is never rewritten, each pointer goes to the next document, and the line is a pointer between documents, not decision history.
A technical design document is not a recipe. Don't tell developers:
This is a design document, not an implementation document. There should be no real code in here — no Python, no JavaScript, no SQL queries, no CloudFormation, no Terraform. Pseudocode is acceptable when it clarifies a design concept or algorithm that's hard to express in prose, but actual implementation code belongs in the codebase, not the design. Interface definitions (API payloads, data models, message schemas) are appropriate because they describe contracts, not implementation.
"Modify SchemaService.cs to add method GetRawDataTableName()" - this level of detail doesn't belong here. The developer will figure out where code goes.
State each decision and its rationale as it stands now. Who ruled on it and when, superseded versions, and dated correction notes belong in git history and the assumptions document, not the design. Replaces: and Superseded by: lines are pointers between documents, not history, and stay.
No "alternatives considered" sections, comparison tables or options a decision beat. A later reader needs the constraint that decided the choice: it says what not to break, and when the decision can be revisited if the constraint goes away. A list of losing options adds nothing to either, it costs every later session context, and an implementer that reads one can drift toward it. The comparison a review made lives in its report and commit (review-technical-design).
A technical design document doesn't need to document every detail. Focus on:
A reader should be able to get through the design in one sitting. A design more than about three times the length of its PRD is a signal, not a cap: it is usually documenting the existing system or carrying decision history, so cut it back.
Think of the technical design document as the blueprint, not the construction manual.
A good technical design document:
# Technical Design: [Feature Name]
**PRD:** [Link to PRD]
## Overview
[Brief summary of what we're building technically]
## Existing Code
[Only when changing an existing system, about a dozen lines: the posture (Preserve / Salvage), what is reused, what is switched off, and behavior that must be kept. Decisions, not a description of how the code works]
## Architecture
### Workload Type and Starting Point
[What kind of service is this? Which seed project or existing repo it copies its patterns from.]
### Database
[Where does data live? Why this choice?]
### Dependencies
[What does this interact with?]
## Design Decisions
| Decision | Choice | Rationale |
|----------|--------|-----------|
| [What needed deciding] | [What was chosen] | [Why] |
## Interfaces
### API Endpoints
[Endpoint definitions with request/response formats]
## Data Models
[Key data structures — tables, schemas, field definitions]
## Integration Points
[External systems and services this interacts with]
## Delivery
[Before the build, hands-on work, early merges, expected build spend, planned stops, after the build; only the parts that apply]
## Open Questions
[Unresolved decisions]
The technical design document lives inside its parent PRD's directory, alongside the PRD itself and any other supporting materials. See prd-writing-standards for the full directory structure.
docs/prds/{prd-name}/ ← or docs/changes/{prd-name}/ — a bounded delivery, identical layout
{prd-name}-prd.md
technical-design.md <-- here
assumptions.md (if applicable)
Use the simple filename technical-design.md. There's no need to repeat the PRD name — the directory already provides that context.
A PRD has exactly one technical design (phase-split, initiative-breakdown). A PRD spanning several services covers each in its own section; work that genuinely needs separate designs is more than one PRD (initiative-breakdown).
If the feature spans multiple repositories, designate one repo as the home for the PRD directory (typically the one that owns the primary interface or orchestration) and put the technical design alongside the PRD there.
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