ensodynamics/enso-method/technical-design-writing-standards
Claude Code and agent skill by ensodynamics/enso-method
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Standards and process for writing technical design documents — architecture decisions, interfaces, data models, and integration points, including designs for changes to an existing system. Use to write a design from a refined PRD, or to check one; the draft is committed and handed to review-technical-design, then autonomous-design-refinement. Not implementation instructions.
Install
npx vskill@latest install ensodynamics/enso-method/technical-design-writing-standardsSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as ensodynamics/enso-method/technical-design-writing-standards.
Technical Design Writing Standards
Guidelines for writing technical design documents.
What Is a Technical Design Document?
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.
When Do You Need a Technical Design Document?
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.
Writing a Technical Design
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.
Existing code: Preserve or Salvage
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.
- Preserve: the code is in production, or other work relies on it. Its behavior is a constraint the design keeps.
- Salvage: the code is unreleased, or left over from earlier work being restarted. Reuse what fits the PRD; anything else gets one line saying it is switched off or left alone, and the design never works around it.
A system can be mixed; say which parts are which. autonomous-design-refinement uses the same two terms.
Steps
- Read the PRD in full, plus any PRD or design it builds on, and settle the posture above. In an initiative, the designs it builds on are those of the PRDs on its Depends on line, and their contracts are settled once each design has finished
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. Loadengineering-principlesand every house standard named on anEngineering standards:line in the project'sAGENTS.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. - Work from the PRD outward, not from the code outward. For each acceptance criterion, read the code and systems it touches until you know what already exists and what is missing. Stop there; a survey of the whole system is not needed.
- Write the sections in the example structure below, designing only the difference: the new or changed interfaces, data models and decisions, each decision with its rationale. For an existing system, add a short Existing Code section that records decisions, not a description: the posture in one line; what is reused, named in a line each; what is switched off (Salvage); and, under Preserve, behavior the design must keep that the code alone would not tell you. Don't describe how the existing code works, anywhere in the design; the implementer reads the code, and a description only goes stale. Keep the section to about a dozen lines.
- Keep to the PRD. The design never adds a requirement, and behavior the PRD doesn't ask for is out of scope. Technical choices you can make, make, and record why. Each validated-table row in the assumptions document marked
Left to the designis one of them: record it as a decision with its rationale and the alternative it beat, and change the row toMoved to design YYYY-MM-DDwith this design's section. A gap in the PRD goes in Open Questions; a business uncertainty also goes in the assumptions document perassumptions-document-writing. - Check before handing it over. Every acceptance criterion is covered by something in the design, nothing is designed that no criterion asks for, and it can be read in one sitting.
- Commit the draft as
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. - Run `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.
- Then `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".
Price Each Criterion
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:
- The criterion carries `Added in refinement.` Narrow or drop it in the PRD with
prd-writing-standards; a dropped criterion's label is retired. - Any other criterion. Narrow it in the PRD and declare the narrowing as a business assumption (
assumptions-document-writing), with what the fuller version would cost under "If they choose otherwise". The build proceeds on the narrower version. - A criterion that restates a stakeholder's decision (
requirements-intake, "Whose Words Count"), or records a validated ruling, is not edited. Reopen it under Gate 3 inassumptions-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.
What Belongs in a Technical Design Document
Overview
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.
Architecture Decisions
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).
- Workload type: Is this a REST API, queue consumer, cron job, event processor, web application?
- Starting point: for new software, the seed project or existing repo whose patterns it copies — CI/CD, logging, configuration, project layout. The house engineering standards may name one; otherwise name the closest existing repo and say so. The method ships no seed projects.
- Data store: Which one, and why?
- Hosting: Where does it run — a new service, serverless functions, an existing service?
- Dependencies: What other services does this interact with?
Interfaces
This is the most important section. Define the contracts:
API Endpoints:
Queue Messages: If using queues, what's the message format?
Events: If publishing events, what's the event schema?
Data Models
Define the key data structures:
For database changes, describe new tables or modifications to existing schemas.
Integration Points
If this feature needs to interact with other systems or services, describe those touchpoints:
- "Calls the existing Schema API to get field definitions"
- "Reads from the raw data tables created by the data ingestion process"
- "Publishes events to EventBridge when exports complete"
Don't name specific classes or describe internal structure—that's implementation.
Delivery
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.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/technical-design-writing-standards/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ensodynamics/enso-method/technical-design-writing-standards)