>- time), or self-brainstorms in Autonomous Mode when no user is present. Intercepts before the brainstorming chain hands off to writing-plans — this skill owns the exit. Extracts constraints, calibrates scale (Solo / Team / Enterprise), and advances the pipeline to GENERATE.
npx skills add https://github.com/anombyte93/prd-taskmaster --skill discover
Declarative phase skill. Invoked by the prd-taskmaster orchestrator when
current_phase is DISCOVER. Never called directly by a user.
The one rule: **invoke superpowers:brainstorming for discovery, intercept
before it chains to writing-plans — we control the exit, not the brainstorm
skill.**
mcp__plugin_prd_go__check_gate(phase="DISCOVER", evidence={}) for diagnostics.check_gate is an EXIT gate: it verifies the evidence to *advance*, not to *enter*.
On first DISCOVER entry you have no evidence yet (the User Approval / Self-Approval
Gate below produces user_approved=true OR `auto_classification=CLEAR with
assumptions_documented), so a gate_passed: false` here is EXPECTED — the state
machine's legal transitions already guarantee only legal entry.
against re-running a completed phase or skipping ahead from SETUP.
switch to Autonomous Mode:
.claude/ralph-loop.local.md exists in the project rootauto-enter / auto-approve daemon is running against this session--autonomous flag/pentest-wtf, or /ralph-loopOtherwise proceed in Interactive Mode (default).
Copy into your response before running the procedure:
DISCOVERY CHECKLIST:
- [ ] Mode detected (Interactive vs Autonomous)
- [ ] Goal captured from skill args or soul purpose
- [ ] Adaptive questions completed (one at a time)
- [ ] Constraints extracted and listed
- [ ] Scale classified (Solo / Team / Enterprise)
- [ ] Discovery summary captured for GENERATE phase
- [ ] User approved (Interactive) or summary committed (Autonomous)
superpowers:brainstorming with the goal as input.at a time. Let it drive the Q&A rhythm.
writing-plans, STOP. Do NOT let it invoke writing-plans. Capture the
brainstorm output (design, requirements, decisions) into local state
instead. The prd-taskmaster orchestrator owns the handoff — not
superpowers:brainstorming.
AskUserQuestion (seeUser Approval Gate below).
Do NOT invoke superpowers:brainstorming — it blocks on user input and
will stall an unattended session. Instead, self-brainstorm using this
template:
session-context/CLAUDE-soul-purpose.md.
session-context/CLAUDE-activeContext.md for project context.session-context/discovery-{timestamp}.md answering every question the
interactive flow would ask:
integrations, regulatory)?
assumptions explicitly so the user can audit them on wake-up.
the user later disagrees, they can reset to that commit and re-run.
Autonomous mode is first-class, not degraded. A well-run autonomous
discovery produces a spec the user reads on wake-up and says "yes, that's
what I meant" without edits. If you find yourself needing to ask more than
two questions the user didn't anticipate, the discovery is under-specified —
stop and write a handoff note instead of proceeding.
After brainstorming completes, present via AskUserQuestion:
Discovery Complete:
Goal: [one sentence]
Audience: [who it's for]
Approach: [proposed solution]
Key decisions: [list]
Constraints: [known limitations]
Scale: [Solo | Team | Enterprise]
Proceed to generate spec? (or refine further)
Write the discovery summary to session-context/discovery-{timestamp}.md and
commit it. No interactive approval is required, but assumptions MUST be
explicit in the written summary so the user can audit on wake-up.
If brainstorming (or self-brainstorming) produces thin answers, fill gaps
with reasonable assumptions instead of forcing extra questions:
Document every assumption in the discovery summary so GENERATE can surface
them in the spec.
Before moving to GENERATE, explicitly extract and list all constraints
mentioned during discovery. Emit this block:
CONSTRAINTS CAPTURED:
- Tech stack: [e.g., "must use Python", "React frontend", "no new dependencies"]
- Timeline: [e.g., "MVP in 2 weeks", "no deadline"]
- Team: [e.g., "solo developer", "3-person team"]
- Budget: [e.g., "free tier only", "$500/month max"]
- Integration: [e.g., "must work with existing Postgres DB", "connects to Stripe"]
- Regulatory: [e.g., "HIPAA compliant", "GDPR", "none specified"]
- Domain-specific: [e.g., "authorized pentest scope: 10.0.0.0/24 only",
"learning goal: intermediate level"]
Present this list alongside the discovery summary. These constraints MUST be
passed to GENERATE — they inform spec content, task decomposition depth, and
acceptance criteria. If a constraint is mentioned in discovery but missing
from the spec, that's a bug.
Infer project scale from discovery answers and set decomposition guidance:
| Scale | Signal | Task Cap | Subtask Depth |
|------------|-------------------------------------------------|-------------|------------------|
| Solo | "just me", "side project", "learning" | 8–12 tasks | 2–3 subtasks each |
| Team | "small team", "MVP", "product", "startup" | 12–20 tasks | 3–5 subtasks each |
| Enterprise | "compliance", "multiple teams", "platform" | 20–30 tasks | 5–8 subtasks each |
Pass the scale classification to GENERATE so task count is calibrated, not
arbitrary.
After approval (Interactive) or commit (Autonomous), constraints captured,
and scale classified:
mcp__plugin_prd_go__advance_phase(expected_current="DISCOVER", target="GENERATE", evidence={"user_approved": True, "constraints_captured": True, "scale": "<Solo|Team|Enterprise>", "assumptions_documented": True}).The call atomically transitions pipeline.json from DISCOVER to GENERATE.
The expected_current field is the compare-and-swap guard;
evidence is stored under phase_evidence[GENERATE] for audit.
prd-taskmaster skill). Do NOT invokeGENERATE directly — the orchestrator re-reads current_phase and routes.
The prd-taskmaster pipeline owns the exit, not superpowers:brainstorming.
stalled, ask one more targeted question or write a handoff note — don't
silently self-approve in Interactive Mode.
It blocks on user input and will stall the session. Self-brainstorm with
the template above.
GENERATE reads this block — missing constraints become missing spec
sections downstream.
This skill does not use explicit process termination. A hard block reports
the reason and returns control to the orchestrator; the orchestrator decides
whether to surface to the user.
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks.
Structured manuscript/grant review with checklist-based evaluation. Use when writing formal peer reviews with specific criteria methodology assessment, statistical validity, reporting standards compliance (CONSORT/STROBE), and constructive feedback. Best for actual review writing, manuscript revision. For evaluating claims/evidence quality use scientific-critical-thinking; for quantitative scoring frameworks use scholar-evaluation.
Agile product ownership toolkit for Senior Product Owner including INVEST-compliant user story generation, sprint planning, backlog management, and velocity tracking. Use for story writing, sprint planning, stakeholder communication, and agile ceremonies.
Expert guidance for writing secure, reliable, and performant Claude Code hooks - validates design decisions, enforces best practices, and prevents common pitfalls. Use when creating, reviewing, or debugging Claude Code hooks.
Use when creating or developing anything, before writing code or implementation plans - refines rough ideas into fully-formed designs through structured Socratic questioning, alternative exploration, and incremental validation
Structured manuscript/grant review with checklist-based evaluation. Use when writing formal peer reviews with specific criteria methodology assessment, statistical validity, reporting standards compliance (CONSORT/STROBE), and constructive feedback. Best for actual review writing, manuscript revision. For evaluating claims/evidence quality use scientific-critical-thinking; for quantitative scoring frameworks use scholar-evaluation.
Conducts structured requirements workshops to produce feature specifications, user stories, EARS-format functional requirements, acceptance criteria, and implementation checklists. Use when defining new features, gathering requirements, or writing specifications. Invoke for feature definition, requirements gathering, user stories, EARS format specs, PRDs, acceptance criteria, or requirement matrices.
Use markdown formatting when drafting content intended for external systems (GitHub issues/PRs, Jira tickets, wiki pages, design docs, etc.) so formatting is preserved when the user copies it. Load this skill before producing any draft the user will paste elsewhere.
Take anombyte93/discover from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.