skills/prd-maker/SKILL.md
[Hyper] Create or update a ManyFast-style AI planning package from a rough product idea: PRD, visual planning diagram, feature spec, user flow, low-fidelity wireframe, HTML preview viewer, source log, and optional flow tracking under `.hypercore/prd/[slug]/`. Use when the user wants product planning output before implementation, especially PRD plus diagram/specs/flows/wireframes.
npx skillsauth add alpoxdev/hypercore prd-makerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
@rules/package-workflow.md @rules/storage-and-updates.md @rules/validation.md @references/planning-package.md @references/prd-sections.md
Turn a rough product idea into a reviewable AI planning package: PRD, planning diagram, feature spec, user flow, wireframe, preview viewer, and source log.
<output_language>
Default all user-facing deliverables, saved artifacts, reports, plans, generated docs, summaries, handoff notes, commit/message drafts, and validation notes to Korean, even when this canonical skill file is written in English.
Preserve source code identifiers, CLI commands, file paths, schema keys, JSON/YAML field names, API names, package names, proper nouns, and quoted source excerpts in their required or original language.
Use a different language only when the user explicitly requests it, an existing target artifact must stay in another language for consistency, or a machine-readable contract requires exact English tokens. If a localized template or reference exists (for example *.ko.md or *.ko.json), prefer it for user-facing artifacts.
</output_language>
<purpose>.hypercore/prd/[slug]/ from short product ideas, feature requests, or initiative notes.<routing_rule>
Use prd-maker when the main output is a stored product planning package, PRD, planning diagram, feature specification, user flow, wireframe, or preview viewer.
Use research instead when the job is only fact-finding and no planning package should be written yet.
Use docs-maker instead when the output is a general document, runbook, guide, or technical spec not stored as a product planning folder.
Use plan instead when the user wants discussion or task planning but does not want files under .hypercore/prd/.
Do not use prd-maker when:
</routing_rule>
<activation_examples>
Positive requests:
Negative requests:
Boundary request:
prd-maker only if the plan should become a saved planning package under .hypercore/prd/. Otherwise route to plan.</activation_examples>
<trigger_conditions>
| Situation | Mode | |------|------| | A rough product idea needs a complete planning package | create | | A PRD needs a supporting diagram, feature spec, user flow, or wireframe added | update | | Existing planning docs need scope, requirements, metrics, risks, or flows refreshed | update | | A release or initiative needs source-backed requirements before implementation | create/update |
</trigger_conditions>
<supported_targets>
.hypercore/prd/[slug]/.hypercore/prd/[slug]/prd.md product requirementsdiagram.md visual planning map source, diagram.data.json node data, and rendered diagram.svgfeature-spec.md functional specification and acceptance criteriauser-flow.md actor journeys, states, and edge caseswireframe.md text-based low-fidelity wireframes and screen inventorypreview.html browser-viewable package preview generated from the package files and assets/preview.template.htmlsources.md evidence, query, and context logflow.json phase tracking for complex multi-session packages</supported_targets>
<complexity_classification>
Classify before writing files:
| Complexity | Signals | Path |
|------------|---------|------|
| Simple | Single feature, clear audience, limited unknowns, minimal research, small output | Direct package — write the core markdown files and source log without flow tracking |
| Complex | Multi-feature initiative, vague or high-stakes scope, external research, multiple personas, cross-team dependencies, phased rollout | Tracked package — add and maintain flow.json |
Announce the classification:
Complexity: [simple/complex] — [one-line reason]
When uncertain, classify as complex. Losing phase state is more expensive than maintaining a small flow file.
</complexity_classification>
<output_shape>
Default package shape:
.hypercore/prd/[slug]/
├── prd.md
├── diagram.md
├── diagram.data.json
├── diagram.svg
├── feature-spec.md
├── user-flow.md
├── wireframe.md
├── preview.html
├── sources.md
└── flow.json (complex path only)
prd.md explains the product decision: problem, goals, scope, requirements, metrics, risks, and open questions.diagram.md contains a ManyFast-like branching planning map: central idea → PRD/spec/flow/wireframe branches, with key subnodes and open gaps.diagram.data.json feeds scripts/render-planning-map.mjs, which renders the card-and-connector map to diagram.svg without adding dependencies.feature-spec.md translates the PRD into functional behavior, acceptance criteria, states, and edge cases.user-flow.md captures the key paths, decision points, empty/error states, and handoffs.wireframe.md describes low-fidelity screens and layout blocks in text so designers/builders can review structure before visual work.preview.html embeds the package content and diagram.svg into a local browser viewer for fast review.sources.md logs provided context, research queries, links, and evidence gaps.flow.json tracks phase progress for complex packages. See references/flow-schema.md.Use the templates in assets/ when creating a folder for the first time. For the diagram, create diagram.md, diagram.data.json, and diagram.svg; prefer scripts/render-planning-map.mjs because it renders the visual map without new dependencies.
</output_shape>
<support_file_read_order>
Read in this order:
SKILL.md to confirm the request belongs to a planning package.rules/package-workflow.md to choose create/update mode, complexity, research need, and package phase order.rules/storage-and-updates.md to apply folder, slug, file, and merge rules.references/planning-package.md when drafting diagram.md, feature-spec.md, user-flow.md, or wireframe.md.references/prd-sections.md when drafting or updating prd.md.assets/ when creating missing package files, including *.template.ko.md and diagram.data.template.ko.json by default; use English templates only when requested or required.scripts/render-planning-map.mjs when rendering diagram.svg from diagram.data.json.assets/preview.template.html and scripts/build-preview.mjs when generating preview.html.assets/sources.template.ko.md by default when live research is needed and the package needs a source ledger; use assets/sources.template.md only when requested or required.references/flow-schema.md when the package is complex or a flow.json already exists.rules/validation.md before declaring the package complete.</support_file_read_order>
<workflow>| Phase | Task | Output |
|-------|------|--------|
| 0 | Confirm package deliverable, choose create/update, classify simple | Mode + complexity |
| 1 | Extract or infer a minimum brief; put unresolved gaps in open questions | Working brief |
| 2 | Create or locate .hypercore/prd/[slug]/ | Storage target |
| 3 | Write or update prd.md, diagram.md, feature-spec.md, user-flow.md, wireframe.md, preview.html, and sources.md | Reviewable package |
| 4 | Validate consistency, scope, evidence, and unknowns | Final package |
| Phase | Task | Output |
|-------|------|--------|
| 0 | Confirm package deliverable, choose create/update, classify complex | Mode + complexity |
| 1 | Create or locate folder and initialize/resume flow.json | Storage target + phase state |
| 2 | Gather minimum brief and update flow.json | Working brief |
| 3 | Run live research if needed or record why skipped | Evidence basis |
| 4 | Draft/update PRD, diagram, feature spec, user flow, wireframe, preview, and sources in phase order | Planning package |
| 5 | Validate and mark flow completed | Final package |
sources.md, not in the PRD body.preview.html after package content changes so the viewer is never stale..hypercore/prd/[slug]/ with ASCII kebab-case slug preferred.prd.md, diagram.md, diagram.data.json, diagram.svg, feature-spec.md, user-flow.md, wireframe.md, preview.html, and sources.md.sources.md records provided context and either distinct research queries or why external research was unnecessary.flow.json and update it after each phase.sources.md.development
[Hyper] Use when working on Vite + TanStack Router projects - enforces architecture rules (layers, routes, hooks, services, conventions) with mandatory validation before any code change. Triggers on file creation, route work, hook patterns, or any structural change in a Vite + TanStack Router codebase.
development
[Hyper] Update semantic versions across node/rust/python projects, keep discovered version files synchronized, and prefer the installed `git-commit` skill for the final git step with a direct fallback when it is unavailable.
development
[Hyper] Use when working on TanStack Start projects and the task involves auth, sessions, cookies, CSRF, secrets, env exposure, server functions/routes, headers/CSP, webhooks, or security review/fixes. Triggers on protecting routes, hardening auth flows, preventing secret leaks, securing server boundaries, or reviewing HTTP/security behavior in a TanStack Start app.
tools
[Hyper] Enforce TanStack Start architecture in existing Start projects, especially project/folder structure, route structure, nested shared folder organization, server functions, loader/client-server boundaries, importProtection, hooks, SSR/hydration, and hypercore conventions. Use before structural code changes, folder-structure reviews, route work, server function work, or architecture audits in TanStack Start codebases.