website-builder
Execute the approved tasks.md to build a Vite + React + shadcn/ui + Tailwind CSS website deployable to GitHub Pages. Collects assets from the original site and creates new assets per plan. Emits builder metadata for the final report. Use when asked to build, implement, or code a website from a plan. Don't use for design review or planning — those are upstream phases.
What this skill does
# Website Builder Executes the approved implementation plan (tasks.md) to build a working improved website using Vite + React + shadcn/ui + Tailwind CSS, deployable to GitHub Pages. ## When to Use Trigger when the user asks to: - Build a website from an implementation plan - Implement a PRD or tasks list - Code a Vite/React website from a spec Do **not** use for design review or planning — those are upstream phases. ## Prerequisites - `tasks.md` (Phase 4 plan) exists and is approved - `prd.md` (Phase 3 proposal) exists for alignment reference - Node.js and npm are available - Git is available for repository management ## Tech Stack - **Build tool**: Vite - **Framework**: React (JSX) - **UI components**: shadcn/ui - **Styling**: Tailwind CSS - **Deployment**: GitHub Pages (static assets) - **Serverless**: no backend, no server-side runtime ## Workflow ``` 1. Read tasks.md and prd.md 2. Sync to default branch 3. Execute tasks phase by phase (landing page first) 4. Collect assets from original site as specified 5. Create new assets as specified 6. Build and verify 7. Deploy to GitHub Pages 8. Emit builder metadata ``` ## Repo Sync Before Edits (mandatory) Before modifying any project files: ```bash branch="$(git rev-parse --abbrev-ref HEAD)" git fetch origin git pull --rebase origin "$branch" ``` If dirty, stash first: ```bash git stash push -u -m "website-builder: pre-sync" branch="$(git rev-parse --abbrev-ref HEAD)" git fetch origin && git pull --rebase origin "$branch" git stash pop ``` If origin is missing or rebase fails, stop and ask. ## Step 1: Read the Plan Read `tasks.md` and `prd.md`: ``` Read file <path-to-tasks.md> Read file <path-to-prd.md> ``` If either is missing, ask for paths. ## Step 2: Initialize Project Create the Vite + React project: ```bash npm create vite@latest . -- --template react npm install npx shadcn@latest init npm install tailwindcss @tailwindcss/vite npm install class-variance-authority clsx tailwind-merge lucide-react ``` Configure Tailwind and shadcn/ui. Set up the GitHub Pages deployment target. ## Step 3: Execute Tasks Phase by Phase Process each phase from tasks.md in order. For each task: 1. Implement the specified components/features 2. Follow the PRD for improvement alignment 3. Collect assets from the original site as specified in the plan 4. Create new assets where specified 5. Verify the build succeeds: `npm run build` ### Phase 1: Landing Page Build the landing/home page first. This must be independently usable: - Hero section with headline, subtext, CTA - Navigation - Footer - Responsive layout (mobile + desktop) - Applied style from the PRD (colors, typography, spacing) ### Phase 2: Core Pages Build additional pages per the plan: - About, features, contact, or other specified pages - Shared components (nav, footer, buttons) - Routing between pages ### Phase 3: Optimization Apply performance, SEO, and security improvements: - Image optimization (compress, lazy load) - Code splitting (Vite handles this by default) - SEO meta tags, structured data, Open Graph tags - Security headers via meta tags where applicable ## Step 4: Asset Management For each asset listed in tasks.md: - **[Collect]**: Fetch from the original site using `WebFetch` or direct URL access. Save to `public/assets/` or `src/assets/`. - **[Create]**: Generate or write new assets. This includes: - Rewritten copy/text content - New component code - Generated SVG icons - Brand color values from the PRD ## Step 5: Build and Verify After all tasks are complete: ```bash npm run build ``` Verify: - Build succeeds with no errors - Output is static assets (no server required) - Landing page renders correctly - All pages are accessible via routing ## Step 6: Deploy to GitHub Pages Create or update a GitHub repository for the site: ```bash git init git remote add origin [email protected]:<user>/<repo>.git git add . git commit -m "chore: initial site build" git push -u origin main ``` Configure GitHub Pages: - Repository Settings → Pages → Source: `main` branch, `/ (root)` Report the GitHub Pages URL. ## Step 7: Emit Builder Metadata Write a JSON metadata file for the final report phase: ```json { "url": "https://<user>.github.io/<repo>/", "timestamp": "2026-05-07T12:00:00Z", "tasks_completed": 12, "tasks_total": 12, "assets_collected": ["logo.png", "brand-colors.json", ...], "assets_created": ["cta-copy.txt", "hero-icon.svg", ...], "deviations": [], "build_output_size_kb": 450, "tech_stack": { "bundler": "vite", "framework": "react", "ui": "shadcn/ui", "css": "tailwindcss" } } ``` Write to: `$PROJECT_DIR/builder-metadata.json` ## Step Completion Reports ``` ◆ Build Phase 1 — Landing Page ······································································ Project initialized: √ pass Landing page built: √ pass Assets collected: √ pass (<N>) Build succeeds: √ pass ____________________________ Result: PASS ◆ Build Phase 2 — Core Pages ······································································ Pages built: √ pass (<pages>) Routing configured: √ pass ____________________________ Result: PASS ◆ Build Phase 3 — Optimization ······································································ Performance applied: √ pass SEO applied: √ pass Security applied: √ pass ____________________________ Result: PASS ◆ Deploy ······································································ Repository created: √ pass GitHub Pages configured: √ pass (<url>) Metadata emitted: √ pass ____________________________ Result: PASS ```
Related in Design
contribute
IncludedLocal-only OSS contribution command center. Auto-refreshes the user's in-flight PR and issue state on invoke so conversations start with full context — no need to brief Claude on what's in flight. Helps the user find issues to contribute to on GitHub, builds per-repo dossiers of what each upstream expects (CLA, DCO, branch convention, AI policy, draft-first, review bots, issue templates), runs deterministic gates before any external action so AI-assisted contributions don't reach maintainers as slop. State is markdown-only: candidate files at ~/.contribute-system/candidates/, repo dossiers at ~/.contribute-system/research/, append-only event log at ~/.contribute-system/log.jsonl. No database, no cloud calls. Use when the user asks about their PRs / issues / contributions, wants to find new work to take on, claim an issue, build/refresh a repo's dossier, or draft a Design Issue or PR. Trigger with "/contribute", "what's my PR status", "find a contribution", "claim issue X", "draft a Design Issue for Y", "refresh dossier for Z".
architectural-analysis
IncludedUser-triggered deep architectural analysis of a codebase or scoped subtree across eight modes — information architecture, data flow, integration points, UI surfaces, interaction patterns, data model, control flow, and failure modes. This skill should be used when the user asks to "diagram this codebase," "map the architecture," "show the data flow," "give me an ERD," "trace control flow," "find the integration points," "verify the layout pattern," "audit the UX architecture," or any similar request whose primary deliverable is mermaid diagrams plus cited reports under docs/architecture/. Dispatches haiku/sonnet sub-agents in parallel for per-mode exploration, then verifies every citation mechanically before any node lands in a diagram. Not for one-off prose explanations of code (use code-explanation) or for high-level system design from scratch (use system-design).
mcp
IncludedModel Context Protocol (MCP) server development and tool management. Languages: Python, TypeScript. Capabilities: build MCP servers, integrate external APIs, discover/execute MCP tools, manage multi-server configs, design agent-centric tools. Actions: create, build, integrate, discover, execute, configure MCP servers/tools. Keywords: MCP, Model Context Protocol, MCP server, MCP tool, stdio transport, SSE transport, tool discovery, resource provider, prompt template, external API integration, Gemini CLI MCP, Claude MCP, agent tools, tool execution, server config. Use when: building MCP servers, integrating external APIs as MCP tools, discovering available MCP tools, executing MCP capabilities, configuring multi-server setups, designing tools for AI agents.
react-native-skia
IncludedDesign, build, debug, and optimise high-polish animated graphics in React Native or Expo using @shopify/react-native-skia, Reanimated, and Gesture Handler. Use when the user wants canvas-driven UI, shaders, paths, rich text, image filters, sprite fields, Skottie, video frames, snapshots, web CanvasKit setup, or performance tuning for custom motion-heavy elements such as loaders, hero art, cards, charts, progress indicators, particle systems, or gesture-driven surfaces. Also use when the user asks for fluid, glow, glass, blob, parallax, 60fps/120fps, or GPU-friendly animated effects in React Native, even if they do not explicitly say "Skia". Do not use for ordinary form/layout work with standard views.
plaid
IncludedProduct Led AI Development — guides founders from idea to launched product. Six capabilities: Idea (discover a product idea), Validate (pressure-test the idea against fatal flaws, problem reality, competition, and 2-week MVP feasibility), Plan (vision intake + document generation), Design (translate image references into a design.md spec), Launch (go-to-market strategy), and Build (roadmap execution). Use when someone says "PLAID", "plaid idea", "help me find an idea", "product idea", "idea from my business", "idea from my expertise", "plaid validate", "validate my idea", "pressure-test", "is this idea good", "find fatal flaws", "validate the problem", "plan a product", "define my vision", "generate a PRD", "product strategy", "plaid design", "design from image", "translate image to design", "create design.md", "extract design tokens", "plaid launch", "go-to-market", "launch plan", "GTM strategy", "launch playbook", "plaid build", "build the app", "start building", or "execute the roadmap".
nextjs-framer-motion-animations
IncludedAdds production-safe Motion for React or Framer Motion animations to Next.js apps, including reveal, hover and tap micro-interactions, whileInView, stagger, AnimatePresence, layout and layoutId transitions, reorder, scroll-linked UI, and lightweight route-content transitions. Use when the user asks to add, refactor, or debug Motion or Framer Motion in App Router or Pages Router codebases, especially around server/client boundaries, reduced motion, LazyMotion, bundle size, hydration, or route transitions. Avoid for GSAP-style timelines, WebGL or 3D scenes, heavy scroll storytelling, or CSS-only effects unless Motion is explicitly requested.