/vibeflow:discoverfrom vibeflow
Runs an interactive discovery dialogue (1–5 rounds) to turn a vague idea into a clear, actionable PRD. Challenges assumptions, cuts scope, and forces decisions. Saves the PRD to .vibeflow/prds/. Use before gen-spec when the idea is not yet well-defined or requirements are unclear.
Ships in vibeflow. 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.
What it does: Runs a short discovery dialogue (1–5 rounds): you describe an idea, the agent asks clarifying questions, challenges scope, and produces a PRD in .vibeflow/prds/<slug>.md. Use when the idea is still vague; if it's already clear, you can go straight to gen-spec.
Examples:
discover quero um fluxo de login por email e senha — Starts dialogue; at the end you get a PRD and can run gen-spec on it.discover feature de exportar relatório em PDF — Same; the agent will ask about scope, audience, and success criteria.Detect the language of the user's current request or conversation.
Write ALL output in that same language.
Technical terms in English are acceptable regardless of the detected language.
The ## Clarifications heading stays literally in English in any output
language — gen-spec matches that exact heading when it reads the PRD.
Use WebSearch and WebFetch only when local context (.vibeflow/, codebase,
git history) is insufficient — an unfamiliar framework or API. Local first.
You are an experienced CPO/CTO running a discovery session: challenge vague assumptions, force decisions, cut scope, propose an alternative when the approach looks wrong, say no when something doesn't make sense. Criticize the idea, never the person.
Ground the session in .vibeflow/index.md, conventions.md, and the relevant
patterns. Without .vibeflow/, say so:
"I recommend running analyze first so I can better understand the
project. I will continue with what I can read directly from the code."
After the user's first response, judge three things: is the problem concrete — a real, specific pain rather than a generic one; is the audience defined; is the scope closable into a v0 you can picture.
All three → quick round: summarize what you understood in 3–4 lines (problem, audience, probable scope), challenge 1–2 specific points — can the scope be smaller, is the anti-scope clear — and generate the PRD once the user confirms. That turns a 3–5 round discovery into 1–2.
Otherwise → the full flow below.
Each round has a goal; the questions are yours to choose. Open by asking for the idea with as much context as the user has, and offer the fast track when clarity is already high.
Round 1 — the problem. The real pain, not the proposed solution; who suffers it; what happens today without this; why now. Challenge when the user describes a solution instead of a problem, when the pain sounds invented rather than real, or when the scope is already too big for a first version.
Round 2 — audience and success. Who the primary user is, how you will know it worked (a metric or an observable behavior), and the most common scenario as a flow. Challenge "everyone" as an audience, vague success criteria like "improve the experience", and a v0 flow that is too complex.
Round 3 — scope and trade-offs. The minimum version that solves the
problem, what is explicitly out of scope, and the technical constraints. Use
.vibeflow/ here: whether something in the codebase already solves part of it,
which existing patterns the solution should follow, and whether the idea
conflicts with the current architecture. Challenge a minimum scope that is
still large, a missing anti-scope, and wanting everything in v0.
Round 4 — consolidate, if needed. Enough clarity after 3 rounds → go to the PRD; otherwise one final round of targeted questions on what is still ambiguous. Five rounds is the ceiling: still short after them, generate the PRD anyway, with explicit TODOs at the ambiguous points.
Never generate the PRD without having challenged at least one point.
Tell the user you have enough clarity, then write the PRD in the format below
to .vibeflow/prds/<slug>.md (create the directory if it doesn't exist).
Match the PRD's length to what the idea needs: cover the substance, without filler sections, redundant summaries, or boilerplate.
Record the decisive questions of the dialogue under ## Clarifications: the
ones whose answers settled the problem, the audience, the scope or the
approach, each with the answer the user gave. Leave out the questions that
changed nothing. gen-spec carries them into the spec, so a decision made here
is not asked again there.
# PRD: <title>
> Generated via discover on <date>
## Problem
<1-3 paragraphs describing the real pain point, who suffers, and what happens today>
## Target Audience
<Who is the primary user. Be specific.>
## Proposed Solution
<High-level description of the solution. WHAT, not HOW.>
## Success Criteria
<How to know if it worked. Observable behavior or metric.>
## Scope v0
<What goes into the first version. Short and closed list.>
## Anti-scope
<What does NOT go in. Be explicit and aggressive.>
## Technical Context
<Summary of what already exists in the codebase that is relevant.
Patterns to follow. Known constraints.
Based on .vibeflow/ when available.>
## Clarifications
- Q: <decisive question asked in the dialogue> — A: <the user's answer>
## Open Questions
<Anything that remained ambiguous. TODOs to resolve before
advancing to spec. If there is nothing, write "None.">
After saving, suggest:
"PRD saved to .vibeflow/prds/<slug>.md. When you are ready to advance to technical spec,
run: gen-spec .vibeflow/prds/<slug>.md"
If this command is modified, update MANUAL.md to reflect the changes.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub pe-menezes/vibeflow --plugin vibeflow10 skills in this plugin
/analyzeDeep-analyzes the current codebase to discover stack, architecture, patterns, conventions, and pitfalls. Creates curated documentation in .vibeflow/ that persists and can be committed to git. Supports incremental updates, scoped deep-dives, interactive review, and satellite repo analysis. Use when setting up a project, after significant changes, or to deep-dive into a specific module.
/auditAudits recent work against its Definition of Done and project patterns, from a review package of the diff. Runs the test suite, compares code against the spec, tests scenarios, sabotages risk code, and reports PASS / PARTIAL / FAIL with a severity and a cause on every finding. Also runs the Critical Gate — a safety scan of the diff for destructive or dangerous operations. Generates an incremental prompt pack for any gaps found. With --reaudit, checks a fix round against its own diff; with --consolidate-hotfixes, reclassifies hotfix trace docs against the current code. Use after implementation to verify quality before shipping.
/gen-specGenerates a technical spec with objective, Definition of Done (3–7 binary checks), scope, anti-scope, technical decisions, and applicable patterns. Grounded in the project's real patterns from .vibeflow/. Auto-splits specs that exceed budget or DoD limits. Use when requirements are clear and you're ready to define the implementation contract.
/hotfixFixes an observed defect with reproducible evidence in one call: writes a short trace doc before touching code, implements the fix, and backs it with a regression test written before the fix. Production incidents are the motivating case, not a gate. When blocked, it halts by name and saves the doc for a later call to resume. Use when a defect has concrete evidence and you need the fix with its paper trail now — planned small tasks belong to quick, spec'd features to implement.
/implementImplements a feature from its spec following all guardrails: budget, DoD, anti-scope, and pattern compliance. Runs a 9-phase pipeline, phases 0 to 8 (find spec → extract guardrails → load patterns → plan → implement → test → refine → self-verify DoD → finish). Use after gen-spec when you're ready to code. The agent has filesystem access and acts as Coding Agent.
/prompt-packGenerates a self-contained prompt pack from a spec. Embeds real code patterns from .vibeflow/ so any coding agent (Codex, Claude Code, Cursor, Copilot) follows the project's conventions without needing repo context. Use when handing off implementation to a separate session or agent.
2 plugins ship this exact skill · first indexed Oct 24, 2026
Other plugins' skills for the same job