ensodynamics/enso-method/autonomous-design-refinement

Claude Code and agent skill by ensodynamics/enso-method

Trust tier 2
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Multi-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 ru…

Install

npx vskill@latest install ensodynamics/enso-method/autonomous-design-refinement

Semi-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/autonomous-design-refinement.

Autonomous Design Refinement

Multi-pass workflow that refines requirements documents (PRD, technical design, assumptions, and any supporting materials they reference) to implementation-ready state. Each pass runs implementation-readiness-check for a small, ranked batch of questions, investigates them one at a time, folds each answer into the documents the moment it is known, and records progress in a state file on disk — so an interrupted run loses at most the questions in flight (three or fewer) and resumes from where it stopped.

The name says which stage it serves. autonomous-prd-refinement refines a draft PRD on its own, before any design exists; this skill runs once the technical design exists and refines the PRD, design and assumptions together.


What Is This Skill?

This skill automates the loop humans do manually: run a readiness check, get questions, investigate them, update the requirements documents, check again, find the new questions the updates exposed, and repeat until the documents are solid enough to implement against.

The goal: by the end of the run, the PRD, technical design, and assumptions document are complete enough that implementation can proceed without the AI needing to guess or ask. Remaining uncertainties live in the assumptions document as implementable assumptions: business ones a stakeholder can validate, and the few facts research could not reach as technical assumptions naming what blocked it. Build choices are decisions in the Technical Design, not assumptions.

The shape of the work matters as much as the goal. The run is long — hours, often more than one session — and sessions end without warning: usage limits, sleep, network. So the skill is built around three rules:

  1. Every answer lands immediately. An investigated question is written into the documents before the next question starts. Nothing valuable waits in memory for a later "fold" step.
  2. State lives on disk, not in the conversation. A small markdown state file records every question and its status. A fresh session reads it and continues; it never restarts.
  3. Small batches, ranked by impact. A pass handles a dozen questions, not a hundred. More passes are cheap because each one is checkpointed; one giant pass is expensive because losing it loses everything.

This is an orchestrator skill — it coordinates:

  • implementation-readiness-check — to surface gaps and questions each pass
  • investigate-question — one question at a time, in a subagent
  • assumptions-document-writing, technical-design-writing-standards, prd-writing-standards — applied when writing into each document

When to Use

Use this skill when:

  • You have a draft PRD and Technical Design document for a feature
  • You want them implementation-ready with minimal manual intervention
  • You are willing to let the AI run for a long time, possibly across several sessions
  • You want the AI to dig into code, data, and APIs to answer its own questions rather than asking you

Do NOT use this skill when:

  • You want to stay closely involved in every decision — run implementation-readiness-check yourself and use investigate-question on specific items
  • One readiness-check pass is enough for the feature's size
  • You need to implement immediately and cannot wait for multiple passes

Required Inputs

  1. Document paths — both of the following are required (the skill will not run without them):
  • PRD document
  • Technical Design document

The skill also looks for these optional supporting materials:

  • Assumptions document (created if it doesn't exist and assumptions are identified)
  • Any other documents the PRD or tech design reference (data model docs, mockups, API specs, etc.)
  1. Access to the codebase and relevant environments — investigation reads code and may query databases, test APIs, or inspect infrastructure. Credential discovery follows investigate-question: check for skills that document credential handling, then the README, then existing config, before asking the user.

Parameters

ParameterDefaultDescription
Convergence threshold90%A question is resolved when its answer reaches ≥90% confidence. Note the two thresholds in play: implementation-readiness-check surfaces anything below 95% (its own inclusion rule), and business questions below 95% become assumptions; this skill closes a question at 90%. The 90–95% band is deliberate — every item gets dispositioned, not every item must reach 95%.
Questions per pass12Hard cap on questions taken from discovery into a pass, ranked by impact and uncertainty. Configurable, but resist raising it — the cap is what keeps a pass inside one session.
Concurrent investigations3At most three investigate-question subagents in flight. Enough to overlap I/O; small enough that an interruption strands almost nothing.
Discovery yield stop3Stop running passes once a discovery pass surfaces fewer than three new questions below the threshold
Maximum passes8Stop after eight passes regardless

There is no minimum pass count: per-question checkpointing makes extra passes cheap, so the yield rule decides when to stop. The final verification in Phase 7 is the mandatory re-check.

Effort. Every subagent this skill launches — discovery, investigation, writer, conformance — runs at high effort or above (subagents inherit the session's effort unless the launcher sets one, so a session at a higher level carries that level through); the work is real research and careful editing, and the caps above are what bound cost, not the effort of individual agents. The caps are binding regardless of session mode: a session running in an exhaustive or "ultracode" mode does not license parallel discovery panels, a larger batch, or auditing everything adjacent to the feature. Those are exactly what the scope gate below exists to prevent.

Operator note: a skill cannot change the session's effort or mode. If you want the run to stay inside a session limit, start it in a normal session, not an exhaustive one.


The Scope Gate

A question earns a place in a pass only if someone writing this feature's code would have to make a judgment call without it. That is the whole test.

Things that fail the test, even when they are true and interesting:

  • Pre-existing defects in surrounding systems that do not block this feature
  • Infrastructure hygiene, hardening, or audit findings across the fleet
  • "Would it be better if…" redesigns of contracts the documents already settle
  • Questions answerable in two minutes by reading the code — answer those during discovery and never raise them
  • Questions whose answer would create an obligation no PRD statement implies. Refinement never adds scope. A question passes when its answer narrows or makes precise something the PRD already requires (which records, what format, what happens when a required step fails). A gap the feature cannot work without goes to the design's Open Questions, not to Noticed, out of scope
  • Under the Salvage posture (below), questions about how existing code behaves in cases the PRD does not call for

When an investigation trips over something out of scope, write one line under Noticed, out of scope in the state file and move on. Do not investigate it, do not write a script for it, do not fold it into the documents. Those lines are the user's to act on later.

The implementation-readiness-check skill's own guidance — prefer fewer, high-signal questions over exhaustive lists — governs discovery here. One reader of the documents, in implementation mode, capped and ranked. Not a panel of independent reviewers each producing a list.


Existing Code Posture

Before the first discovery, record in the state file how existing code in the feature's area is treated. These are the same two terms technical-design-writing-standards uses:

  • Preserve (the default): the existing code is in production, or other work relies on it. Its behavior constrains the design, and questions about fitting the new work to it pass the gate normally.
  • Salvage: the existing code is unreleased, or left over from earlier work being restarted. The design reuses what fits the PRD and switches off, one line each, what the PRD does not ask for. It never designs around that code, and questions about how it behaves in cases the PRD does not call for fail the gate.

An area can be mixed; record it per component ("Salvage for the retry worker; Preserve otherwise").

The posture is stated, not researched. Take it from the user, then the PRD, then the design's Existing Code section, in that order when they disagree. Never work it out from deploy or merge history. If none of them says, use Preserve, and say so in one line when the run starts so the user can correct it before a pass runs; repeat it in the first checkpoint summary.

Every subagent gets the posture: discovery, investigation and writers. For Salvage code it overrides implementation-readiness-check's invitation to ask about the behavior of existing code: only behavior a PRD requirement relies on is in scope. The writer records the posture as one line in the design's Existing Code section, so it outlives the state file.


State File

Location: alongside the PRD — {feature}-design-refinement-state.md in its directory, under docs/prds/ or docs/changes/.

Lifecycle: created in Phase 1, updated after every question, committed with the documents at each pass checkpoint, and deleted in Phase 7 when the run completes. It is scaffolding, not a deliverable.

Editing rule: update rows and counts in place. Never regenerate the whole file from memory — that is how status gets silently lost.

Template
markdown
# Design Refinement State — {feature}
Started: {date} Current pass: {N} Status: {In progress | Paused: reason}
Branch: {branch the documents are on}
Existing code posture: {Preserve | Salvage | per component} (source: {user | PRD | TD | default})
PRD words: at start {wc -w} · growth baseline {wc -w}, blob {git hash-object -w} (reset by each growth check, and by a feedback amendment applied on a resume)
Last updated: {date time}
## Documents
| Document | Path |
|---|---|
| PRD | … |
| Technical Design | … |
| Assumptions | … |
| Supporting | … |
## Passes
| Pass | Surfaced (new) | Taken | Resolved | Assumptions | Deferred | Blocked | Dropped |
|---|---|---|---|---|---|---|---|
| 1 | 31 | 12 | 9 | 2 | 1 | 0 | 0 |
## Questions
| ID | Pass | Question (one line) | Type | Impact | Conf. start → now | Status | Landed in |
|---|---|---|---|---|---|---|---|
| Q1 | 1 | … | Technical | HIGH | 55 → 95 | Resolved | TD §Data Models |
| Q2 | 1 | … | Business | HIGH | 40 → 80 | Assumption | DATA-001 |
| Q3 | 1 | … | Technical | MEDIUM | 60 → 60 | Blocked: needs dev DB access | — |
Status values: Pending · Investigating · Answered, not folded · Resolved · Assumption · Deferred (carried to next pass) · Blocked · Dropped (failed the scope gate on closer look; reason in notes). A Reframed question is replaced by a new row marked Pending with "reframed from Qn" in its notes.
## Question notes
One block per question that is not simply Resolved — required for Deferred, Blocked, and Answered-not-folded — holding the current proposed answer, evidence pointers (file:line, query, doc section), and what was checked. This is what the next investigation starts from and what a resumed session folds from.
### Q3
Proposed answer: … Evidence: … Checked: …
## Exploration scripts
| Script | Question | Finding |
|---|---|---|

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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ensodynamics/enso-method/autonomous-design-refinement/badge)](https://verified-skill.com/skills/ensodynamics/enso-method/autonomous-design-refinement)

Something wrong with this skill or its page? Tell us.