/enso-method:investigate-questionfrom The Enso Method
Deep-dive investigation of a single technical or business question by reading code, querying data, testing APIs, and searching stakeholder materials. Use when a quick glance isn't enough.
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.
Investigate one specific question in depth — reading code, querying databases, testing APIs, analyzing data — to either answer it definitively or significantly refine a proposed answer with an updated confidence level.
This is the depth-first complement to breadth-first processes like the Implementation Readiness Check. The readiness check does a reasonable scan across many questions; this skill goes deep on one.
Use this skill when:
implementation-readiness-check needs deeper investigation before the human can decideDo NOT use this skill when:
implementation-readiness-check for thatAt minimum:
Optionally (carry forward from implementation-readiness-check if that's where this originated):
Before diving in, determine what would constitute an answer. What specific fact, behavior, or data point would resolve this?
Set expectations based on the question's nature:
implementation-lifecycle, "Confidence Thresholds"); below that, only a stakeholder can confirm it. If a business question can't be confirmed in the current conversation, it would need to be captured as a stated assumption via assumptions-document-writing (though that's a separate step the user would initiate, not something this skill does directly).Identify the most promising avenues and start with the one most likely to give a definitive answer. Don't pursue all of them if the first one resolves it.
Common approaches:
git log or git blame can reveal why something works the way it does.If you need to write scripts, query databases, or connect to external systems, follow the exploration scripts, credential discovery, and environment safety guidance below.
Know when to stop. The goal is to meaningfully raise confidence, not necessarily to reach 99%. If you've tried two or three promising avenues and confidence has moved from 55% to 80%, that's a useful result — report it. Don't spiral down rabbit holes chasing a definitive answer when a well-informed proposed answer with solid evidence is good enough for the human to decide.
If investigation is genuinely stuck (each avenue leads to more questions), step back and report what you've learned so far. A partial result with clear evidence is more valuable than exhaustive but inconclusive digging.
If investigation changes the question itself, report that. Sometimes digging reveals the original question was the wrong question — e.g., "does the API paginate results?" becomes "the API was replaced with a webhook model 3 months ago." When this happens, report what you actually found, reframe the question, and let the human decide how to proceed.
An assumption exists because someone had a question and answered it as best they could. The job here is to answer it better. The answer may sit in a passage about another topic, or a long meeting that changed direction, where a quick lookup never finds it.
Work from the question and the requirement it hangs on. The caller withholds the proposed answer until you have reported, because an investigator holding an answer finds support for it, so do not open the register's open entries or the criteria built on them. Rulings are not withheld: the caller hands you the Validated table and the rest, which share a file with the open entries.
Use whatever could move the answer:
source-material/, including what the record left out, any transcript or email archive the project keeps, and the initiative's other PRDs and validated assumptions. Search their terms and synonyms, read each hit in its surrounding exchange, and read their latest rulings in full, since a ruling on one topic often settles another. Weigh by requirements-intake, "Whose Words Count": text no stakeholder said or chose is context, and a later position replaces an earlier one. Look as hard for what contradicts the likeliest answer as for what supports it. When their words say someone does something ("the owner approves the method"), report separately whether that describes how people work or asks the product to do it; a quote supports the second only when it asks for it in the product.Finding nothing proves little in a large pile, so report what you searched and what you did not. In the report, omit the starting confidence, and add Quotes for and against, each with who said it and when, and an Outcome:
| Outcome | Meaning |
|---|---|
| Already answered | A stakeholder's ruling settles it; quote it |
| Settled | The evidence reaches 95% or more without a ruling: nobody in their seat would choose otherwise, or both answers build the same thing |
| Not theirs | A build choice, or a fact (found, or blocked by what you name) |
| Still theirs | Below 95%, and only they can say; give the best-supported answer |
| Reframed | The question that matters is a different one, usually about what the product would show, record or decide; give it |
Every outcome carries its answer and evidence.
Structure your output so it's immediately usable — whether the human is reading it directly or it's being folded back into a readiness check conversation.
Output format:
Question: [The original question — or reframed question if investigation changed it] Classification: [Technical / Business]
Answer: [Your answer or refined proposed answer based on investigation]
Confidence: [Starting confidence] → [Updated confidence] Impact if Wrong: [🔴/🟡/🟢 LEVEL]
Evidence:
- [Specific finding — the code path, query result, API response, or document that supports this]
- [Additional findings if applicable]
What was checked: [Brief list of avenues explored]
Verdict: [One of the following]
- Resolved — investigation definitively answered this question (typically Technical questions where you confirmed the behavior through code, data, or API)
- Refined — confidence raised, still needs human input (typically Business questions where evidence supports the proposed answer but stakeholder confirmation is needed; if this can't be confirmed in the current conversation, it would need to be captured as a stated assumption)
- Blocked — could not investigate fully (include remediation block below)
- Reframed — investigation revealed the original question was wrong; see revised question above
If blocked, include a clear remediation block:
⚠️ Investigation Blocked: I attempted to investigate [question] but [specific blocker]. If you:
- [Specific remediation step]
- [Specific remediation step]
I can [what becomes possible if unblocked].
When investigation requires code (querying a database, testing an API, etc.), create scripts to do the work.
Where to put scripts:
scripts/exploration/ (at project root) — for scripts that might be useful later. Add a header comment explaining the script's purpose. These get committed to git./tmp/ — for truly one-off throwaway scripts with no future value.When in doubt, use scripts/exploration/. Keep scripts simple and focused — one script per question, no reusable utilities.
Before asking the user for credentials, scan the codebase to self-discover:
config.py, .env.example, connection string patterns, how existing scripts and tests connect.Only after scanning should you ask the user for help. Be specific about what you tried and what's missing.
engineering-principles, "Production Data"). If unsure which environment credentials point to, treat it as production.Question: Do all user accounts have a valid team assignment, or are there orphaned accounts with no team? Classification: Technical
Answer: All users have valid team assignments. Confirmed via data query (0 orphaned records), schema constraints (NOT NULL + FK), and application-layer validation on create.
Confidence: 60% → 99% Impact if Wrong: 🟡 MEDIUM — orphaned accounts would break team-based permission checks
Evidence:
- Data query:
SELECT COUNT(*) FROM users u LEFT JOIN teams t ON u.team_id = t.id WHERE t.id IS NULL→ 0 rows- Schema:
team_idis NOT NULL with FK constraint toteams.id- Code:
UserService.create()validates team existence before insertWhat was checked: Queried users table, inspected schema constraints, traced UserService.create() flow
Verdict: Resolved — investigation definitively answered this question.
Question: When a document has been approved by some but not all of its required reviewers, should it be treated as "in_review" (which triggers downstream notifications) or stay "pending" until every approval is in? Classification: Business
Answer: Treat it as "in_review" from the first approval — the current code and a test fixture both do this and nothing contradicts it, but neither states the intended rule.
Confidence: 45% → 80% Impact if Wrong: 🔴 HIGH — status mapping drives downstream notification logic
Evidence:
- Test fixture
test/fixtures/documents.json: document with 2/3 approvals has statusin_review- Code comment in
sync_documents.py(8 months old): "documents stay 'pending' until the first approval, then go to 'in_review'"- No contradictory evidence found
What was checked: Searched codebase for partial approval references, reviewed DocumentStatusMapper, checked test fixtures, attempted the workflow service's admin CLI (not configured)
⚠️ Partially Blocked: Could not verify against live sandbox data — the workflow service's admin CLI is not configured in this environment. If you configure the CLI, I can query actual document records to confirm this definitively.
Verdict: Refined — confidence raised from 45% to 80%, but this is 🔴 HIGH impact and below 95%, so unless the human confirms it in this conversation it becomes a stated assumption (
assumptions-document-writing) and work proceeds on it.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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