ensodynamics/enso-method/implement-from-discovery
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.
Implement a fix or improvement identified during research, investigation, or development, or raised in a bug report — not from a PRD authored ahead of time. Verifies alignment with the affected component's PRD/Technical Design, applies the technical-vs-business confidence gate, records the change in the requirements before any code (nothing, an amendment, or a change PRD it writes itself, decided by the skill and never handed back), then implements, tests, commits, runs the refactor pass, and p…
Install
npx vskill@latest install ensodynamics/enso-method/implement-from-discoverySemi-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/implement-from-discovery.
Implement From Discovery
For implementing changes whose source is something you discovered — a bug found mid-investigation, a gap noticed while reading code, a fix identified during a research session — rather than a PRD authored ahead of time.
This is the lighter sibling of implement-from-requirements (PRD-triggered). It applies the same alignment-checking and technical-vs-business confidence gate that the framework uses everywhere, without its procedural overhead.
For the framework this whole session runs under — which document carries what, the confidence thresholds, the assumptions philosophy and the session discipline — see the implementation-lifecycle skill. Read that first if it isn't already loaded, and reload it if the session drifts. A user invoking this skill should never need to name another one.
When to Use
Use this skill when:
- You're already mid-investigation in this conversation and have identified a fix you want to implement now
- A bug report or improvement request has come in for a service (a scheduled sync job, a notification service, internal APIs, internal tools, long-lived services, etc.) and you want to go from "I see the problem" to "fix is committed"
- A self-discovered improvement to existing code that you want to make right now — the user's invocation is the lineage when nothing else names it (Phase 2); the session does not invoke it on its own for a fix that serves nothing named
- The change alters how existing software behaves, at any size. Phase 4 decides how it is recorded in the requirements; a change too big for one session is written up there and handed to
implement-from-requirements, never handed back to the user
Use a different skill when:
- The trigger is a fresh PRD the user authored — use
implement-from-requirements - The user is describing something new to build rather than a change to existing behavior — start at
prd-writing-standards, orinitiative-breakdownwhen it is bigger than one PRD. This skill never splits work into phases itself: a change that needs phases is written up in Phase 4 and built byimplement-from-requirements, which hands off tophase-split. - You haven't actually identified the fix yet, only the symptom — keep investigating first; this skill assumes you have a proposed change in mind
Core Idea
The framework's substance is the same as everywhere else: read the affected component's docs, verify alignment, apply the technical-vs-business gate, record any changed intent, implement, test, commit. What this skill adds is the trigger shape — the source of the requirement is research findings sitting in the conversation, not a document authored upstream.
That changes a few things in practice:
- There's usually no separate PRD for the change — the PRD that's relevant is the one for the component you're modifying. Confirm its current owning criteria already express the intended behavior, or amend them before implementing. The discovery is a delta against an existing component's intended behavior; Phase 4 decides when that delta is too big to amend, or has no owner, and gets a change PRD of its own.
- The commit message has to carry the discovery → fix linkage — the conversation is ephemeral, but the commit message is the durable record of what was found and what was done.
- The technical-vs-business gate is the most load-bearing step — because there's no PRD authoring step where the question would have surfaced, this skill is where you decide whether the change is something you can just make or something that needs an assumption + stakeholder validation.
Invoking this skill ends discovery mode. "Implement from discovery" means the discovery already happened — the session now converges on the one identified change: implement, test, commit. New findings that surface while implementing go through the Materiality Gate and disposition rule (implementation-lifecycle): they become work only if they make this change incorrect or unsafe; an item a later phase's criteria need is carried forward into that phase's document; everything else is dismissed silently. Findings do not widen this session's diff, and they do not chain into further discovery — one discovery producing an implementation that produces more discoveries is the non-convergent loop this boundary exists to prevent.
This skill also runs under the No Loose Ends session discipline (implementation-lifecycle, "Session Discipline: No Loose Ends") — read that skill first if it isn't already loaded. The gist: run every finding through the Materiality Gate first — most are observations to dismiss silently, not work; disposition the loose ends that survive (deal with them now, or file them into the document a later build will load) instead of reporting them as FYIs; never stop to ask a question when you're ≥90% confident what the user's answer would be; never end a turn announcing work you could do right now; and apply the continuation test — dispositioned items the work's natural continuation will handle appear only as counts in a one-line disposition ledger, so the response names only the four stops (a critical finding, a blocker, an action only a person can take, a business question with no answer above 20%).
Process
Phase 1: Locate the Affected Component's Docs
Identify what you're changing. For each affected component, find:
- PRD — typically
docs/prds/{feature}/{feature}-prd.mdordocs/changes/{feature}/{feature}-prd.md(identical layout), including a change PRD an earlier session wrote for this area of behavior (Phase 4) - Technical Design —
technical-design.mdin that same directory - Assumptions —
assumptions.mdin that same directory, if one exists
A criterion in those docs may carry a Superseded by: line pointing into a later PRD or change directory. Follow the chain to its end: the criterion there owns the behavior now, and it is what the fix is checked against and what an amendment edits (prd-writing-standards, "When Later Work Changes an Earlier Criterion"). A superseded criterion records what was built then, not what the system should do now.
If no PRD/TD exists for the component, that's significant — the component may be older code that predates the PRD framework. Surface this to the user. Don't fabricate docs you don't have, but acknowledge the alignment-check is degraded and proceed with whatever architectural intent you can glean from the code itself, README, or comments. Phase 4 still decides how the change is recorded: a plain bug or a technical change needs nothing written, and a business-rule change gets a change PRD.
You also need the bigger picture of the service you're touching, not just the one component's docs — a discovery is a delta against the whole system, so you need to know what else your change could affect. If the service has a service/product overview or a substantive README, read it; that's often a better single source of overall context than any one PRD. If the service has accumulated several PRDs and no overview, don't read them all — read the founding/earliest (it usually frames the service's purpose and architecture, where later ones are narrow increments) and skim the rest's titles, unless a later PRD is clearly the current source of truth, and follow any Superseded by: lines you meet. If there's no orienting context at all, flag it to the user — and treat it as a sign the service should grow a short overview (a methodology gap), not a reason to silently press on.
Read these docs before implementing. Skim is not enough. The whole point of this phase is loading the design intent into your head so you can compare it to the proposed change.
Before the first edit in each repo, write this session's marker START (engineering-principles, "Session Markers").
Preflight external access before going further. Users often start this skill and walk away. A session that first discovers an expired credential at its first live test has spent that time stalled on a question nobody is there to answer. Credentials that worked during the investigation earlier in the chat may have expired since, and the tests may need ones the investigation never used — so check now, while the user is most likely still at the keyboard:
- List every external dependency the fix and its tests will touch — AWS profiles, Google Cloud / BigQuery, GitHub (
gh), third-party APIs, vendor platforms, databases, whatever the live tests read. - Make one cheap read-only call per dependency, in parallel, against the environment the work will actually use — e.g.
aws sts get-caller-identity --profile <the profile the tests use>,gcloud auth application-default print-access-token(what client libraries use, not justgcloud auth list),bq ls --project_id=<project>,gh auth status,SELECT 1against the database. Where cheap, prove the credential reaches the specific resource (list the bucket, the dataset), not only that it exists. - Fix what you can yourself — run
aws sso login --profile <profile>or the equivalent re-auth rather than asking the user to. - If anything still fails, stop now with a one-line ask naming the dependency and the exact command to fix it — before implementing, not after.
If a call fails on authentication mid-run anyway, re-authenticate and retry — it's an expired token, not a code failure.
Phase 2: Verify the Change Aligns with PRD/TD
First, state the lineage — and stop if it cannot be stated. Open the response with one line naming what this fix serves, in full titles (continuation-prompt, "The lineage gate"): the component by its PRD's H1 title (or the component's name with "no PRD" when Phase 1 found none), and the thing that makes this fix work rather than an observation — the acceptance criterion of a named phase it unblocks (AC-DLV-04 of Phase 2a1 — Delivery receipts from the SMS provider, Order Notifications), the ticket id of an issue someone raised, the incident, or the outside report that raised it. The gate turns on that second part, not on a PRD existing. When the prompt that opened this chat already carried an In service of: block, the line agrees with it — including the honest no lineage found form, which is echoed, not re-litigated.
Two ways this skill gets invoked, and the gate treats them differently. The user pointing it at a fix they have seen — in this chat or by a prompt they wrote — is the explicit ask: build it, and when nothing named fills the line it reads no lineage found; built at the user's direction, in the response and in the commit message. The session reaching for it on its own initiative, or a handoff prompt reaching for it — the fix was found here, unblocks nothing named, was reported by no one, broke nothing in production — is a discovery being promoted into work by being given a skill invocation. That is the chain this skill's "no chaining" rule exists to stop, caught one step earlier: do not implement it, and do not open a ticket for it in any tracker so that it has an id to route back here under. It goes through the Materiality Gate and the disposition rule like any other discovery: it is dismissed silently, unless a criterion of a later phase needs it, in which case it is carried forward into that phase's document. What is never written is a purpose invented to fill the line.
Then confirm the proposed change is consistent with the docs' stated intent.
Three cases:
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/implement-from-discovery/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/implement-from-discovery)