flow-discover
Discover and approve feature requirements through focused interviewing and repository research. Use when the user has a feature idea, unclear scope, conflicting requirements, or needs Flow context art
Файлы2
Открыть в GitHubSKILL.mdplugins/pwdev-flow/skills/flow-discover/SKILL.md
GitHubDiscover a feature
Read discovery, artifacts, memory, and safety before starting.
Procedure
- Confirm PWDEV Flow state exists or explain that
$flow-initis the prerequisite for persisted artifacts. - Inspect applicable
AGENTS.md, repository structure, existing behavior, tests, product context, and active relevant memories without reading secrets. - Classify the request as quick, standard, or product-level. Route bounded changes to
$flow-quick; route product problems to$flow-productwhen a PRD is needed. - Interview one focused decision at a time using the minimum questions required by discovery.
- Separate confirmed facts, user decisions, repository observations, assumptions, and open questions.
- Research stack and domain pitfalls from repository evidence first. Use current primary sources when external facts may have changed.
- Write the context artifacts and set state to
DISCOVERINGwhile questions remain. - Present problem, actors, scope, rules, acceptance criteria, risks, and open questions for approval.
- On approval, mark the discovery gate
APPROVEDand recommend$flow-design. Otherwise revise requirements or setBLOCKEDwith the missing decision.
Collaboration
Work inline by default. Use a read-only research worker only when the user explicitly requests parallel agent work, following collaboration. Keep the interview and approval gate in the primary conversation.
Output
Return STATUS, feature slug, requirements path, supporting context paths, gate result, and NEXT. Do not make architecture decisions during discovery.