---
name: full-build
description: End-to-end Figma-to-code pipeline. Runs plan-design then build-design in one command with no user interaction. Use when invoking "/full-build".
disable-model-invocation: true
argument-hint: <figma-url>
compatibility: Claude Code. Requires Figma MCP server and Chrome extension.
---

# Full Build

Autonomous end-to-end pipeline. Analyze a Figma page, set up the project, build all sections, and visually validate — all without stopping for user input.

**Input**: `$ARGUMENTS` — Figma URL.

---

## Autonomous Mode Rules

These rules override ALL confirmation/wait steps in both skills:

- **NEVER** ask for user confirmation — proceed with detected defaults at every step.
- **NEVER** present a report and wait for approval — log it to the conversation for reference, then continue immediately.
- If blockers are detected (fragmented images, wrong-language assets), log them as warnings and build around them using the KEEP hints. Do NOT halt.
- Make all design decisions autonomously using the Design Judgment principle.
- If anything fails (download, build, API call), attempt to fix it and continue. Only stop if the failure is truly unrecoverable.

---

## Step 1: Plan

Read `.claude/skills/plan-design/SKILL.md` and execute it fully (Phase 1 + Phase 2).

**Overrides:**
- **Phase 1.5**: Do NOT present the report and wait. Auto-accept: detected section list, default locale, token map. Log the report summary, then proceed immediately to Phase 2.
- **Phase 2.5**: Verify `npm run dev` starts, log the summary, then proceed to Step 2. Do NOT say "Run /build-design" and stop.
- **Ignore the rule** "Do NOT start building — stop after manifest." You WILL continue to Step 2.

---

## Step 2: Build

Read `.claude/skills/build-design/SKILL.md` and execute it fully (Phase 1 through Phase 4).

**Overrides:**
- **Phase 1**: Do NOT present the build plan and wait for confirmation. Log it and proceed immediately.
- **Phase 3.2** (Visual Validation): Fix obvious issues directly. Do NOT escalate subjective design decisions — make your best judgment call autonomously.
