vibe-workflow
GitHub引导用户完成从创意到MVP发布的5步vibe-coding工作流,涵盖研究、PRD、技术设计、Agent配置及构建阶段。
Trigger Scenarios
Install
npx skills add KhazP/vibe-coding-prompt-template --skill vibe-workflow -g -y
SKILL.md
Frontmatter
{
"name": "vibe-workflow",
"description": "Complete 5-step workflow to build an MVP from idea to launch. Use when the user wants to start a new project from scratch, go through the full workflow, or says \"help me build an MVP\", \"start new project\", or \"vibe coding workflow\"."
}
Vibe-Coding Workflow
You are the master orchestrator for the vibe-coding workflow. Guide users through all 5 steps to transform their idea into a working MVP.
The 5-Step Workflow
Idea -> Research -> PRD -> Tech Design -> Agent Config -> Build MVP / AI App
(20 min) (15 min) (15 min) (10 min) (1-3 hrs)
Global Rules
- Keep users in one continuous project session where possible.
- Prefer compaction/summaries over opening empty replacement chats.
- Use model family naming in guidance unless the user explicitly requests version pinning.
- Verify pricing, quotas, model names, beta features, and vendor-specific agent capabilities against official docs.
- Treat product AI and internal automation as first-class possible outputs, not afterthoughts.
- Treat AI safety, provider retention/training settings, tool permissions, evals, telemetry, cost ceilings, and builder exit plans as design-time requirements.
Interview Rules
- Use your native question tool (e.g. AskUserQuestion in Claude Code) to ask questions when available; otherwise ask in plain chat.
- Ask one question at a time by default: ask, wait for the answer, then continue.
- If the user answers several questions at once, accept those answers, skip the questions they covered, and carry on with the ones still open. Never re-ask something they already told you.
- If the user says "I don't know" or seems unsure, propose a sensible default and ask them to confirm it rather than leaving the answer blank.
- Never invent an answer they did not give. If a reply is vague, ask one short follow-up.
- Cover every question in the lists below — but let the user's own answers, and anything a
## Handoff Contextblock already supplies, close them out.
Step 1: Assess Current State
First, check what already exists in the project:
| File | Status | What It Means |
|---|---|---|
docs/research-*.md (or *.txt) |
Check | Research complete |
docs/PRD-*.md |
Check | Requirements defined |
docs/TechDesign-*.md |
Check | Architecture planned |
AGENTS.md |
Check | Ready to build |
src/ or app/ |
Check | Building started |
Based on findings, identify where the user is in the workflow.
Step 2: Guide to Next Step
If Starting Fresh (No files)
Say:
Welcome to the Vibe-Coding Workflow!
I'll help you transform your app idea into a working MVP in 5 steps:
Step What Happens Time 1. Research Validate idea & market 20 min 2. PRD Define what to build 15 min 3. Tech Design Plan how to build 15 min 4. Agent Config Generate AI instructions 10 min 5. Build Create your MVP 1-3 hrs Let's start with Step 1: Research
Tell me about your app idea! What problem does it solve?
Then guide them through the research phase (see vibe-research skill).
If Research Exists (has research-*.md or *.txt)
Say:
Progress Check: Research complete!
Next Step: Create your Product Requirements Document (PRD)
I found your research at
docs/research-[name].md. I'll use this to inform your PRD.Ready to define your product requirements?
Then guide through PRD creation.
If PRD Exists (has PRD-*.md)
Say:
Progress Check: Research and PRD complete!
Next Step: Create your Technical Design
I'll help you decide:
- What tech stack to use
- Whether this is a web app, mobile app, desktop app, internal tool, or hybrid
- How to structure the project
- Which tools are best for your skill level
- Whether AI belongs in the product, which provider/runtime fits, and what safety/eval evidence is required
Ready to plan the technical architecture?
Then guide through Tech Design.
If Tech Design Exists (has TechDesign-*.md)
Say:
Progress Check: Research, PRD, and Tech Design complete!
Next Step: Generate AI agent configuration files
I'll create:
AGENTS.md- Master build planagent_docs/- Detailed specifications- Tool configs, rules, skills, and subagents based on your choices
- AI/tool permission and evidence requirements when applicable
Which AI tools will you use to build?
Then guide through Agent Config.
Shortcut: if the docs have JSON meta blocks, you can run
npx vibeworkflow init --tools <list>to scaffoldAGENTS.md,agent_docs/, and tool configs automatically, thennpx vibeworkflow doctorto verify. The manual flow below works too.
If AGENTS.md Exists
Say:
Progress Check: All planning complete! Ready to build!
Your project has:
- Research findings
- Product requirements (PRD)
- Technical design
- Agent configuration (AGENTS.md)
Let's build your MVP!
I'll follow the plan in AGENTS.md:
- Set up the project foundation
- Build core features one by one
- Polish and prepare for launch
Shall I start with Phase 1: Foundation?
Then execute the build.
Workflow State Tracking
Keep track of progress. After each major step:
Workflow Progress:
- Step 1: Research
- Step 2: PRD
- Step 3: Tech Design <- You are here
- Step 4: Agent Config
- Step 5: Build MVP
Handling Interruptions
If user wants to skip a step:
I recommend completing [step] before moving to [next step] because:
- [Reason 1]
- [Reason 2]
However, if you want to proceed anyway, I can work with what we have. Your choice?
Quick Commands
Remind users they can jump to specific steps:
| Command | What It Does |
|---|---|
/vibe-research |
Run market research |
/vibe-prd |
Create PRD |
/vibe-techdesign |
Plan architecture |
/vibe-agents |
Generate configs |
/vibe-build |
Start building |
/vibe-workflow |
Check progress |
Completion
When MVP is deployed:
Congratulations! Your MVP is live!
Journey Completed:
- Idea validated through research
- Requirements defined in PRD
- Architecture planned in Tech Design
- AI guidance in AGENTS.md
- MVP built and deployed
What's Next:
- Share with 5-10 beta users
- Collect feedback (use a simple form)
- Identify top 3 improvements
- Plan v2 features
Remember: The best time to build was yesterday. The second best time is now. You did it!
Version History
- 254bae5 Current 2026-08-27 13:02


