build
Use this skill when the user needs to build features with AI coding tools, choose between Claude Code, Lovable, Replit, or Cursor, write effective prompts for code generation, or iterate on AI-generated code. Covers tool selection, prompting strategies, and development workflows for non-technical founders.
What this skill does
# Build ## Tool Selection **Starting from scratch?** → Lovable (fastest MVP) **Existing codebase?** → Claude Code (best context) **Learning to code?** → Replit (educational) **Already code?** → Cursor (power features) See [TOOLS.md](TOOLS.md) for detailed comparison. --- ## Build Workflow ``` - [ ] Start with spec (use scope skill) - [ ] Give spec to AI tool - [ ] Test happy path + edge cases - [ ] Give specific feedback on issues - [ ] Iterate (expect 2-4 rounds) - [ ] Deploy when working ``` --- ## Giving AI Your Spec ### Claude Code ``` Build this feature: [paste spec] Codebase: React + TypeScript + Tailwind Reference: src/components/Button.tsx for button patterns ``` ### Lovable ``` Build: [paste simplified spec focusing on outcome] Make it look like Linear (minimal, clean) ``` ### Replit ``` Create: [paste spec emphasizing what user sees] Use React. Keep simple. ``` See [PROMPTS.md](PROMPTS.md) for patterns. --- ## Build in Pieces, Not All at Once The biggest mistake non-technical founders make: giving AI the entire spec and hoping it comes back perfect. It won't. AI tools work best in focused chunks. **The Build Loop:** ``` 1. Pick ONE piece (a single feature or flow) 2. Give AI a clear spec for just that piece 3. Test it — does the piece work? 4. Fix any issues before moving on 5. Pick the next piece → repeat ``` **Good pieces** (1-3 hours each): - User signup and login - Dashboard showing key metrics - Settings page with profile editing - One core workflow (e.g., "create an invoice") **Bad pieces** (too big): - "Build the whole app" - "Build the dashboard with all integrations" - "User management with roles, permissions, and team features" ### Quality Gate Between Pieces Before building the next feature, check: **Does the previous feature still work?** Can you sign up, do the core action, and see the result? AI tools sometimes break existing features while adding new ones. Catch that early. ### When to Start a Fresh Session Start a new chat/session with your AI tool when: - AI has made **3+ attempts** at the same fix without success — context is polluted - You're seeing **new bugs appear** every time a bug is fixed - The AI is **going in circles** (suggesting things it already tried) - You want to **add a new feature** after finishing the current one When starting fresh, give AI a clear description of: what exists, what works, and what you need next. Don't assume it remembers. ### Things AI Won't Add Unless You Ask AI-built projects routinely ship without these. Add them explicitly: ``` Ask Your AI Tool to Add: - [ ] Error tracking (Sentry) — so you know when things break - [ ] Analytics snippet (Plausible, PostHog, or GA4) — so you know who visits - [ ] Proper 404 page — so broken links don't show a blank screen - [ ] Proper 500 page — so server errors show a helpful message - [ ] Favicon — so your browser tab has an icon, not a blank square - [ ] Meta tags (title, description, OG image) — so links look good when shared - [ ] Loading states — so users know something is happening ``` --- ## Reviewing What AI Built Test, don't just run: ``` - [ ] Looks right? - [ ] Happy path works? - [ ] Edge cases work? - [ ] Works on mobile? - [ ] Error messages clear? ``` --- ## Giving Feedback **Bad:** "This doesn't work" **Good:** "Clicking 'Save' does nothing. Expected: 'Saved!' message" **Template:** ``` What I tried: [action] Expected: [outcome] Got: [what happened] ``` --- ## Iteration Expectations **Normal:** 2-4 rounds per feature **First build:** AI builds from spec, you find 3-5 issues **Second build:** Fixes those, you find 1-2 more **Third build:** Final polish **Stop when:** - Happy path works - Edge cases handled - Mobile works - No obvious bugs **Don't iterate for:** - Perfection - Features beyond spec - Premature optimization --- ## Common Mistakes | Mistake | Fix | |---------|-----| | No spec | Use scope skill first | | "Build a dashboard" | Specify what's on it | | Skip edge case testing | Try breaking it | | Accept without review | Always test | | Add features mid-build | Finish current feature first | | Fix code yourself | Describe problem, let AI fix | --- ## Right-Sizing Work **Too big:** "Build entire app" **Too small:** "Add one button" **Right:** "Build user auth flow" (1-3 hours) **Good chunks:** - User login/signup flow - Dashboard with 4 metrics - Settings page with profile editing --- ## When Stuck **AI keeps breaking things:** → Break into smaller piece, start fresh session **Can't figure out complex feature:** → Ask: "What's simplest way?" Accept simpler solution **Each fix breaks something else:** → Stop. Ask: "Better approach?" Consider starting over --- ## Working with Existing Code ``` Add [feature] to existing project. Stack: [React, Next.js, etc] Patterns: Check src/components for examples Style: Tailwind + custom design system Follow existing code style ``` --- ## Prompting Patterns **Reference existing:** ``` Build Settings page. Reference Dashboard page layout. Use same Card/Button components. ``` **Provide examples:** ``` Pricing page with 3 tiers. Like Linear's pricing - clean, minimal. ``` **Specify constraints:** ``` Build profile page. Must work offline. Load under 2 seconds. WCAG AA accessible. ``` See [PROMPTS.md](PROMPTS.md) for more. --- ## Review for Non-Technical Founders **Check:** - Does it match spec? - Buttons work? - Forms validate? - Looks like design reference? - Works on mobile? - Error messages clear? **Don't check:** - Code cleanliness - Optimization - "Best practices" AI handles code quality. You handle requirements. --- ## Success Looks Like ✅ Features match specs ✅ 2-4 iterations (not 10+) ✅ Can explain what's wrong ✅ Building faster each week
Related in AI Agents
skill-development
IncludedComprehensive meta-skill for creating, managing, validating, auditing, and distributing Claude Code skills and slash commands (unified in v2.1.3+). Provides skill templates, creation workflows, validation patterns, audit checklists, naming conventions, YAML frontmatter guidance, progressive disclosure examples, and best practices lookup. Use when creating new skills, validating existing skills, auditing skill quality, understanding skill architecture, needing skill templates, learning about YAML frontmatter requirements, progressive disclosure patterns, tool restrictions (allowed-tools), skill composition, skill naming conventions, troubleshooting skill activation issues, creating custom slash commands, configuring command frontmatter, using command arguments ($ARGUMENTS, $1, $2), bash execution in commands, file references in commands, command namespacing, plugin commands, MCP slash commands, Skill tool configuration, or deciding between skills vs slash commands. Delegates to docs-management skill for official documentation.
reprompter
IncludedTransform messy prompts into well-structured, effective prompts — single or multi-agent. Use when: "reprompt", "reprompt this", "clean up this prompt", "structure my prompt", rough text needing XML tags and best practices, "reprompter teams", "repromptception", "run with quality", "smart run", "smart agents", multi-agent tasks, audits, parallel work, anything going to agent teams. Don't use when: simple Q&A, pure chat, immediate execution-only tasks. See "Don't Use When" section for details. Outputs: Structured XML/Markdown prompt, quality score (before/after), optional team brief + per-agent sub-prompts, agent team output files. Success criteria: Single mode quality score ≥ 7/10; Repromptception per-agent prompt quality score 8+/10; all required sections present, actionable and specific.
adaptive-compaction
IncludedAdaptive add-on policy and recovery layer that decides WHEN to compact, prune, snapshot, or fork -- replacing fixed-percent auto-compaction across Claude Code, Codex, and MCP-capable hosts. Trigger on auto-compact timing or damage: "when should I compact", "is it safe to compact now or start a fresh session", "auto-compact fires too early/mid-task", "switching to an unrelated task but the window still has space", "context rot", "answers get worse the longer the session runs", "the agent forgot the plan or my decisions after it summarized", "add a layer on top that manages context without changing the agent", raising autoCompactWindow to give the policy room, or installing/tuning a cross-tool compaction policy or PreCompact hook -- even when "compaction" is never said but the problem is context-window pressure or post-summarization memory loss. Do NOT use to summarize a conversation, build RAG, write a summarization prompt (decides WHEN not HOW), or answer max-context-length trivia.
agent-skill-creator
IncludedCreate cross-platform agent skills from workflow descriptions. Activates when users ask to create an agent, automate a repetitive workflow, create a custom skill, or need advanced agent creation. Triggers on phrases like create agent for, automate workflow, create skill for, every day I have to, daily I need to, turn process into agent, need to automate, create a cross-platform skill, validate this skill, export this skill, migrate this skill. Supports single skills, multi-agent suites, transcript processing, template-based creation, interactive configuration, cross-platform export, and spec validation.
llm-wiki
IncludedUse when building or maintaining a persistent personal knowledge base (second brain) in Obsidian where an LLM incrementally ingests sources, updates entity/concept pages, maintains cross-references, and keeps a synthesis current. Triggers include "second brain", "Obsidian wiki", "personal knowledge management", "ingest this paper/article/book", "build a research wiki", "compound knowledge", "Memex", or whenever the user wants knowledge to accumulate across sessions instead of being re-derived by RAG on every query.
skill-master
IncludedAgent Skills authoring, evaluation, and optimization. Create, edit, validate, benchmark, and improve skills following the agentskills.io specification. Use when designing SKILL.md files, structuring skill folders (references, scripts, assets), ingesting external documentation into skills, running trigger evals, benchmarking skill quality, optimizing descriptions, or performing blind A/B comparisons. Keywords: agentskills.io, SKILL.md, skill authoring, eval, benchmark, trigger optimization.