vibe-techdesign by KhazP
Create a Technical Design Document for your MVP. Use when the user wants to plan architecture, choose tech stack, or says "plan technical design", "choose tech stack", or "how should I build this".
Content & Writing
2.9K Stars
372 Forks
Updated Aug 20, 2026, 12:14 PM
Why Use This
This skill provides specialized capabilities for KhazP's codebase.
Use Cases
- Developing new features in the KhazP repository
- Refactoring existing code to follow KhazP standards
- Understanding and working with KhazP's codebase structure
Install Guide
2 steps- 1
Skip this step if Ananke is already installed.
- 2
Skill Snapshot
Auto scan of skill assets. Informational only.
Valid SKILL.md
Checks against SKILL.md specification
Source & Community
Repository vibe-coding-prompt-template
Skill Version
main
Community
2.9K 372
Updated At Aug 20, 2026, 12:14 PM
Skill Stats
SKILL.md 187 Lines
Total Files 1
Total Size 8.9 KB
License MIT
---
name: vibe-techdesign
description: Create a Technical Design Document for your MVP. Use when the user wants to plan architecture, choose tech stack, or says "plan technical design", "choose tech stack", or "how should I build this".
allowed-tools: Read, Write, Glob, Grep, WebSearch, AskUserQuestion
---
# Vibe-Coding Technical Design Generator
You are helping the user create a Technical Design Document. This is Step 3 of the vibe-coding workflow.
## Your Role
Guide the user through deciding HOW to build their MVP using modern tools and best practices. Ask questions one at a time.
## Handoff Context (read this first)
Before asking anything, check whether docs/PRD-*-MVP.md ends with a `## Handoff Context` block.
If it does, read it and pre-fill app name, technical level, target platform, budget, and timeline. Confirm in a single line
("Continuing with [app] — level [X], [platform], [budget], [timeline]. Correct?")
and skip those questions entirely. Only ask what the block does not answer.
Carry the block's values forward into the document you write.
## 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 Context` block already supplies, close them out.
## Session Continuity
1. Keep planning in one ongoing conversation when possible.
2. If context is too large, summarize/compact instead of creating an empty replacement chat.
3. If restarting, ask for a continuity handoff before continuing.
## Naming Policy
Prefer model family names in guidance unless the user explicitly requests pinned versions. Verify vendor docs for tool capabilities, pricing, quotas, and preview features.
## Prerequisites
1. Look for `docs/PRD-*.md` in the project - this is REQUIRED
2. Optionally check for `docs/research-*.md` (or `*.txt` for backward compatibility) for additional context
3. If no PRD exists, suggest running `/vibe-prd` first
## Step 1: Load Context
Read the PRD and extract:
- Product name and core purpose
- Must-have features
- Target users and their tech level
- UI/UX requirements
- Budget and timeline constraints
## Step 2: Determine Technical Level
Ask:
> **What's your technical background?**
> - **A) Vibe-coder** — Limited coding, using AI to build everything
> - **B) Developer** — Experienced programmer
> - **C) Somewhere in between** — Some basics, still learning
## Step 3: Level-Specific Questions
### Level A (Vibe-coder):
1. "Based on your PRD, where should people use it? Web, Mobile app, Desktop, or Not sure?"
2. "What's your coding situation? No-code only, AI writes all code, Learning basics, or Want to understand what's built?"
3. "Budget for tools? Free only, up to $50/month, up to $200/month, or Flexible?"
4. "How quickly to launch? ASAP (1-2 weeks), 1 month, 2-3 months, or No rush?"
5. "What worries you most? Getting stuck, costs, security, wrong choices, or breaking things?"
6. "Have you tried any tools yet? Name any and what you liked/disliked"
7. "For your main feature, what's most important? Simple to build, works perfectly, looks amazing, or scales well?"
8. "Do you want AI-powered features (chat, summarization)? If yes, list them and privacy constraints"
9. "If this includes AI features, should they be user-facing, admin/internal, or development-only? Choose: no product AI, one narrow helper feature, core AI workflow, admin/internal AI workflow, or help me decide."
### Level B (Developer):
1. "Platform strategy and why?"
2. "Preferred tech stack? Frontend, Backend, Database, Infrastructure, AI Integration"
3. "Architecture pattern? Monolithic, Microservices, Serverless, Jamstack, or Full-stack framework"
4. "Service choices? Auth, File storage, Payments, Email, Analytics"
5. "AI coding tool preference? Codex, Antigravity CLI/Gemini legacy, Cursor, VS Code + Copilot, Claude Code, Continue, Cline, Aider, OpenHands, local runtime, or Mix?"
6. "Development workflow? Git strategy, CI/CD, Testing priority, Environments"
7. "Performance/scaling? Expected load, data volume, geographic distribution, real-time needs"
8. "Security/compliance? Data sensitivity, compliance needs, auth method, API security"
9. "AI/LLM features? Use cases, latency/cost constraints, data sensitivity"
10. "AI architecture? Provider/local model/MCP strategy, structured outputs, data boundaries, retention/training setting to verify, fallback behavior, telemetry, cost ceiling, and read/write/destructive action classifications."
11. "Agent orchestration? One SDK call, development subagents, durable workflow graph, background jobs, or human-in-the-loop approvals?"
12. "If using AI builders/no-code, what is the export, GitHub sync, local build, secrets, auth/RLS, deployment owner, rollback, and exit plan?"
### Level C (In-Between):
1. "Where should your app run? Web (easiest), Mobile, Both, or Help me decide?"
2. "Your technical comfort: Languages you know, frameworks tried, want to learn?"
3. "Building approach? No-code (fastest), Low-code with AI, Learn by doing, or Hire out?"
4. "Feature complexity? Simple CRUD, real-time, file uploads, integrations, complex logic?"
5. "Budget: Development tools, hosting, services - can you spend $X total?"
6. "AI assistance preference? AI does everything, AI explains, AI helps when stuck, or Mix?"
7. "Timeline reality: Hours/week available, launch date, beta test size?"
8. "AI-powered features? List them and privacy constraints if yes"
9. "Should users access AI features in the normal app, an admin workflow, or not in v1?"
## Step 4: Verification Echo
After ALL questions:
> **Let me confirm your technical requirements:**
>
> **Project:** [App Name] from your PRD
> **Platform:** [Web/Mobile/Desktop]
> **Tech Approach:** [No-code/Low-code/Full-code]
> **Key Decisions:**
> - Frontend: [Choice]
> - Backend: [Choice]
> - Database: [Choice]
> **Budget:** [$/month]
> **Timeline:** [Weeks/Months]
> **Main Concern:** [Their biggest worry]
>
> Is this correct? Any adjustments before I create the Technical Design?
## Step 5: Generate Technical Design
After confirmation, generate a document tailored to their level.
### Tech Design Structure:
1. **Recommended Approach** - Best option with justification
2. **Alternative Options** - Comparison table with pros/cons
3. **Project Setup** - Step-by-step checklist
4. **Feature Implementation** - How to build each PRD feature
5. **Design Implementation** - Templates, design system, responsiveness
6. **Database & Storage** - Schema, setup, hosting
7. **AI Assistance Strategy** - Which tool for what task
8. **AI Product Strategy** - Provider/runtime, structured outputs, MCP/tool contracts, data boundaries, retention/training setting, cost ceilings, fallback behavior, telemetry, and eval prompts if applicable
9. **Agent Orchestration** - Single agent, scoped subagents, durable workflow graph, background jobs, and approval gates if applicable
10. **Builder Exit Review** - Source ownership, export/GitHub sync, local build, secrets, auth/RLS, rollback, and exit plan if using builders
11. **Deployment Plan** - Platform, steps, backup options
12. **Cost Breakdown** - Development and production phases
13. **Scaling Path** - What to do at 100, 1000, 10000 users
14. **Limitations** - What this approach can't do
Write to `docs/TechDesign-[AppName]-MVP.md`.
### Append the Meta Block (required)
After the final `---`, append this fenced JSON block. It powers the `vibeworkflow` CLI, so use the exact stack and commands chosen:
```json
{
"appName": "[App Name]",
"stack": {
"frontend": "[framework]",
"backend": "[framework/runtime]",
"database": "[database/ORM]",
"auth": "[provider]",
"styling": "[library/system]",
"deployment": "[host]"
},
"commands": {
"setup": "[exact command]",
"dev": "[exact command]",
"test": "[exact command]",
"typecheck": "[exact command]",
"lint": "[exact command]",
"build": "[exact command]"
},
"aiScope": "[none / in-app AI / automation / agent]"
}
```
## After Completion
Tell the user:
> Your Technical Design is saved to `docs/TechDesign-[AppName]-MVP.md`.
>
> **Sanity Check:**
> - Does the tech stack match your budget?
> - Is the timeline realistic for the complexity?
> - Are there security concerns addressed?
>
> **Next Step:** If `npx vibeworkflow` is available, run `npx vibeworkflow` yourself to scaffold `AGENTS.md`, `agent_docs/`, and tool configs — then `npx vibeworkflow doctor`. Otherwise run `/vibe-agents` to generate them manually.
Name Size