{"data":{"slug":"discovered-3bb6e665f29e6deb752bacd5d5c59355a64c254a98281a15","title":"Build a Website or Web App with Lilac Flow","summary":"Run the entire Lilac flow for a website or web app from one idea, with human approval gates and proof at every stage. The process includes ten stages, and you perform the work while `build.mjs` ensures accuracy and checks real tools.","url":"https:\/\/skillshunter.net\/skills\/discovered-3bb6e665f29e6deb752bacd5d5c59355a64c254a98281a15","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/discovered-3bb6e665f29e6deb752bacd5d5c59355a64c254a98281a15","markdown_url":"https:\/\/skillshunter.net\/skills\/discovered-3bb6e665f29e6deb752bacd5d5c59355a64c254a98281a15.md","download_url":"https:\/\/skillshunter.net\/skills\/discovered-3bb6e665f29e6deb752bacd5d5c59355a64c254a98281a15\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Before starting, ensure the `CLAUDE_PLUGIN_ROOT` environment variable is set and the required dependencies are installed. The first step is to run `node \"${CLAUDE_PLUGIN_ROOT}\/scripts\/build.mjs\" init \"<dir>\" --idea \"<idea>\"` to initialize the project.","instructions":"---\nname: build\ndescription: Run the whole Lilac flow for a website or web app from one idea, with human approval gates and proof at every stage.\ndisable-model-invocation: false\n---\n# \/lilac:build \"<idea>\"\n\nOne command, ten stages. You do the work. `build.mjs` keeps the truth and checks the real tools. Start: `node \"${CLAUDE_PLUGIN_ROOT}\/scripts\/build.mjs\" init \"<dir>\" --idea \"<idea>\"` (add `--severity <1-10>` when the user already chose). Right after init, call TaskCreate once per stage and gate that applies at this severity (`build.mjs status` lists them) and tick each as it passes; `.lilac\/progress.json` holds the same steps and timings.\n\n**At the start of EVERY turn run** `node \"${CLAUDE_PLUGIN_ROOT}\/scripts\/build.mjs\" status \"<dir>\"` (after an interruption run `resume` first). It prints the current stage and the exact next command. Do that command's job, nothing else.\n\nStages: 1 brief (human approves) -> 2 foundation (human approves) -> 3 funnel (human approves) -> 4 build -> 5 gates -> 6 fix loop -> 7 hosting (ASK) -> 8 preview (human approves) -> 9 deploy plan -> 10 handoff.\n\n- Brief: skill `brief`, then `build.mjs approve <dir> brief --by --quote` with the human's own words.\n- Foundation: skill `foundation`. Funnel: the funnel skill, then `approve <dir> funnel`.\n- Build: write the site using `brand\/tokens.css` and the blocks in `${CLAUDE_PLUGIN_ROOT}\/blocks` if that folder exists. No invented facts: use `UNKNOWN` or SAMPLE.\n- Gates: `build.mjs gates \"<dir>\"` runs the gates this severity needs (list: `scripts\/gates.json`). Static gates run together; Chrome gates (qa-browser, controls-test, persona-test with 30 simulated visitors) run one at a time. Below severity 7 the Chrome gates are deferred: show the preview first, and run `gates \"<dir>\" --post` while the human looks. They must pass before deploy-plan. Then do the `ux-review` skill on the real pages.\n- Fix loop, at most 5 rounds (3 once a severity is set): each round list what failed and what you changed, then run `gates \"<dir>\" --failed` (reruns only the failures). After the cap stop and ask the human. Only if they say go on, run `gates \"<dir>\" --continue`.\n- Hosting: ask (1 Cloudflare default, 2 Vercel, 3 Cloudflare+Supabase, 4 Vercel+Supabase, 5 other). Code is on GitHub, not a question.\n- Preview: `preview.mjs start`; record approval only after an explicit yes.\n- Deploy plan: print it. Never run it. Handoff: `handoff.mjs`, then `build.mjs report`.\n\nRules\n0. Every approval is the AskUserQuestion tool with Approve, Change something, Stop. Never type the question as text. At severity 6 or below ask brief, foundation and funnel in one call when they are adjacent. A PreToolUse hook (`approval-guard.mjs`) blocks site code while an approval is missing or stale; it is a guard, not proof a human clicked.\n1. Never skip an approval stage. Never write a quote for the human or approve for them.\n2. Never mark a stage done without evidence: `build.mjs done \"<dir>\" <stage> --evidence \"<command> => <result line>\"`. It re-runs the stage's own tool and refuses if it disagrees.\n3. If blocked, run `block \"<dir>\" <stage> --reason \"<why>\"`, stop and ask the human.\n4. Chrome tools must not overlap (the script serialises them). The floor never drops at any severity: no invented facts, secrets scan, no unlicensed assets, approval before deploy, no real-person imagery without consent.\n5. Simulated visitors are not real users: say so every time.\n","use_cases":["Developing a website from an initial idea with structured stages","Implementing a web app with human approval gates at each step","Tracking progress and timing of each stage using `.lilac\/progress.json`"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/DevPatel128\/lilac-plugin\/blob\/7e77aadbd31442412fba6856e43e4a2d8b781a6d\/skills\/build\/SKILL.md","source_commit":"7e77aadbd31442412fba6856e43e4a2d8b781a6d","license":null,"version":null,"listing_approved_at":"2026-11-29","created_at":"2026-11-28T18:57:37.000000Z","updated_at":"2026-11-29T10:53:53.000000Z","seo_title":"Build a Website or Web App with Lilac Flow","seo_description":"Use the Lilac flow to build a website or web app from an idea, with human approval gates and proof at every stage. Run ten stages with `build.mjs` ensuring accuracy and a","seo_keywords":["Lilac flow","website development","web app development","human approval gates","build.mjs","stage tracking"]}}