claudeers.

๐Ÿ”“ unclaimed โ€” this page was auto-generated from GitHub. Are you the creator?

Claim this page โ†’
// Automation & Workflows

fireworks-design

๐ŸŽ† A Claude Code workflow that replicates ClaudeDesign โ€” parallel design exploration, panel judging, synthesis, and adversarial refinement to a single world-โ€ฆ

// install
git clone https://github.com/yizhiyanhua-ai/fireworks-design
fireworks-design logo

fireworks-design

An open-source Claude Code workflow that replicates ClaudeDesign โ€” fan out many distinct design directions, judge them like a panel, synthesize the best, and adversarially refine to a single world-class frontend page.

English ยท ็ฎ€ไฝ“ไธญๆ–‡


One-sentence pitch: Stop rolling the dice on a single model output. fireworks-design explores 6โ€“8 independent aesthetics in parallel, scores each across 6 design dimensions, grafts the winners together, then critique-fix-loops the result until it's shippable.

Six-phase pipeline

๐Ÿ“ฆ Install

In Claude Code, just say:

Install fireworks-design into this project โ€” repo is yizhiyanhua-ai/fireworks-design.

Claude drops the workflow into .claude/workflows/ and adds a /fireworks-design slash command โ€” done.

Prefer the shell?
mkdir -p .claude/workflows .claude/commands
curl -fsSL -o .claude/workflows/fireworks-design.js \
  https://raw.githubusercontent.com/yizhiyanhua-ai/fireworks-design/main/fireworks-design.js
curl -fsSL -o .claude/commands/fireworks-design.md \
  https://raw.githubusercontent.com/yizhiyanhua-ai/fireworks-design/main/.claude/commands/fireworks-design.md

๐Ÿš€ Usage

Type the slash command, then your request:

/fireworks-design a landing page for a coffee shop, save to ~/design/coffee, 6 directions, brand #7c3aed

Claude runs the workflow in the background (watch it live with /workflows) and hands you a finished final.html. Or just ask in plain language:

Use fireworks-design to build a landing page for a coffee shop. Save it to ~/design/coffee.

Tweak it conversationally โ€” โ€ฆexplore 8 directions, refine 3 rounds, brand color #7c3aed.

What you get: a single self-contained final.html (plus the explored draft-*.html directions) and a summary of which aesthetic won and why.

Prefer to call it directly?
Workflow({
  name: "fireworks-design",
  args: { prompt: "...", outputDir: "/abs/path", variants: 6, refineRounds: 2 }
})

prompt and outputDir (absolute path) are required; variants (3โ€“8), refineRounds, brand, and lenses are optional. Full reference in the Arguments section below.

14 real pages across totally different domains โ€” all live on GitHub Pages ยท full table + deep-dives. Four highlights:

LUMIรˆRE ๐ŸŽฌ LUMIรˆRE โ€” movie rating ยท Dark Premium NOVA ยท AURORA ๐ŸŽต NOVA ยท AURORA โ€” album ยท Bold Editorial
OBJECT & ECHO ๐ŸŽจ OBJECT & ECHO โ€” studio ยท Bold Editorial AZORES โœˆ๏ธ AZORES โ€” travel ยท Bold Editorial
PageWinner & why it fitsSignature moment
๐ŸŽฌLUMIรˆRE โ€” movie ratingDark Premium โ€” theatrical immersion beat editorial; antique-gold rationed as "prestige currency" (only ratings/CTA/top ranks)one-shot gold projector-beam sweeps the 9.2 score
๐ŸŽตNOVA ยท AURORA โ€” albumBold Editorial โ€” oversized Didone wordmark, midnight-violet-teal 60/30/10generative cover + 32-bar visualizer + play-state changes the whole room
๐ŸŽจOBJECT & ECHO โ€” studioBold Editorial โ€” gallery-zine, kinetic grotesque "object" vs ghosted italic "echo"spatial afterimage echo behind the hero wordmark
โœˆ๏ธAZORES โ€” travelBold Editorial โ€” photography-as-product, NatGeo-meets-Cerealinteractive islands map with breathing halo + cross-fade detail panel

Winner diversity proves the point: across 14 briefs, Bold Editorial won ร—8, Dark Premium ร—3 (movie/restaurant/ecommerce), Swiss Minimal ร—2 (fitness/edtech), Editorial ร—1 (nonprofit). Different briefs crown different winners โ€” that's why we judge instead of generating once. Full ๆ•ˆๆžœ่งฃ่ฏป (winning rationale, signature moments, real bugs the refine/polish pass caught) in examples/README.md.

fireworks-design
LUMIรˆRE
fireworks-design
MAISON NOIR
fireworks-design
OBJECT & ECHO
fireworks-design
NOVA ยท AURORA
fireworks-design
PULSE
fireworks-design
AZORES
fireworks-design
LUMEN
fireworks-design
ECHOES OF THE VOID
fireworks-design
Brightwater
fireworks-design
AURA ONE
fireworks-design
BUILD/2026
fireworks-design
vector
fireworks-design
tideline
fireworks-design
Lin Hua

๐Ÿง  How it works โ€” six phases

โ‘  Brief โ€” distill a design system

One agent turns your prompt (+ optional brand) into a shared creative brief: product framing, audience, required sections, and concrete design tokens (font pairings, palette hexes, mood, references). These tokens are injected into every subsequent agent, so the whole pipeline stays on-brand.

โ‘ก Diverge โ€” wide exploration (the quality core)

Each agent commits fully to one aesthetic and produces a complete, self-contained HTML file. Each generator internally plans โ†’ self-critiques โ†’ produces, rather than dumping a first draft.

Diverge fan-out

โ‘ข Judge โ€” panel scoring

Every direction ร— every design dimension, scored 1โ€“10 by independent critics (~36 critiques in parallel for 6 directions). Each verdict also returns its single highest-leverage fix, which feeds the next phase.

Judge matrix

โ‘ฃ Synthesize โ€” graft the best

Reads the Top-3 directions' source, uses the strongest as the base, folds in the best elements of the others, and fixes every issue the judges flagged. The output must clearly beat any single direction.

โ‘ค Refine โ€” adversarial polishing

A ruthless reviewer returns prioritized issues (severity-tagged); a fixer applies them surgically. Looped refineRounds times (default 2). This is ClaudeDesign's "fine-grained controls," engineered.

Refine loop

โ‘ฅ Polish โ€” ship-ready QA

A final gate checks and fixes: responsiveness (375/768/1280+), all interactive states, prefers-reduced-motion, semantic HTML + ARIA, WCAG AA contrast, no console errors, no leftover placeholders โ€” then writes final.html.

โœจ Why this exists

Even experienced designers ration exploration โ€” there's rarely time to prototype a dozen directions, so you settle for two. From the Claude Design announcement:

"Even experienced designers have to ration exploration โ€” there's rarely time to prototype a dozen directions, so you limit yourself to a few."

A single LLM generation is one draw from a distribution. Its taste, mood, and prompt interpretation are locked into that one version. fireworks-design turns that variance into a quality floor by:

  • Exploring widely โ€” N parallel agents, each committed to a distinct aesthetic.
  • Judging independently โ€” a panel scores every direction across separate design dimensions.
  • Synthesizing โ€” taking the winner as the skeleton and grafting the best of the runners-up.
  • Refining adversarially โ€” critique โ†’ fix, looped until it clears the bar.

๐Ÿงฉ Built on Claude Code's Dynamic Workflow

fireworks-design is not a prompt, a library, or a hosted service. It's a single JavaScript file that the Claude Code Workflow runtime executes as a Dynamic Workflow โ€” deterministic code that spawns model agents, runs them in parallel, and composes their schema-validated outputs. Control flow belongs to the script (loops, fan-out, barriers), not to the model, so every run is reproducible and resumable. Bring it your model; it brings the orchestration.

The whole pipeline is ~270 lines with a shape you can read at a glance:

// fireworks-design.js โ€” condensed to its bones
phase('Brief');    const brief    = await agentRetry(briefPrompt, { schema: BRIEF_SCHEMA })

phase('Diverge');  const variants = await parallel(LENSES.map(l => () =>          // fan-out: N directions
                    agent(generate(l), { schema: VARIANT_SCHEMA }))).filter(Boolean)

phase('Judge');    const verdicts = await parallel(variants.flatMap(v =>          // panel: N ร— 6 dimensions
                    DIMS.map(d => () => agent(judge(v, d), { schema: SCORE_SCHEMA }))))

phase('Synthesize'); await agentRetry(synthesize(top(variants, verdicts)))        // graft the best

for (let i = 0; i < REFINE_ROUNDS; i++) {                                         // critique โ†” fix loop
  const issues = await agentRetry(critique, { schema: CRITIQUE_SCHEMA })
  await agentRetry(fix(issues))
}

phase('Polish');   await agentRetry(polish)                                       // ship-ready QA
return { outputPath: FINAL_PATH, winner, ranking, summary: polish }

What makes this a dynamic workflow rather than a script that calls a model:

  • Deterministic orchestration โ€” parallel() is a real barrier, phase() groups live progress, the for loop is yours. The model never decides what runs next.
  • Schema-validated agents โ€” every agent() returns typed JSON, so the pipeline composes data, not prose. No regex-parsing model output.
  • Resumable โ€” edit a prompt and re-run; the unchanged prefix replays from cache (resumeFromRunId).

Full file: fireworks-design.js.

๐Ÿ”ฌ Under the hood โ€” orchestration, not iteration

This isn't a "generate, then ask the same model to improve it" loop. It's a deterministic multi-agent pipeline that composes several modern inference-time techniques into one reproducible run โ€” built on the Claude Code Workflow runtime (parallel() / pipeline() / agent() primitives, schema-validated returns, resumable execution).

TechniqueWhere it livesWhy it matters
Best-of-N + self-consistencyDiverge โ†’ JudgeGenerate N directions, keep the one with the highest average across independent scores โ€” quality rises with N, not with luck.
LLM-as-judge panelJudge6 dimensions ร— N directions, scored by critics that never see each other's answers. Kills single-judge bias.
Diverse generation (diverse beams)Diverge lensesEach agent commits to a distinct aesthetic, so the N samples cover the design space instead of clustering on one idea.
Critique-and-revise (Self-Refine / Reflexion)RefineA dedicated critic emits severity-tagged issues; a fixer applies them surgically; loop until the bar clears.
Synthesis / graftingSynthesizeThe winner is the skeleton, runners-up donate their best parts โ€” not a merge of averages.
Structured tool-useevery agentReturns are schema-validated JSON, composed deterministically โ€” no brittle regex parsing of model prose.
Context isolationper-agentEach agent runs in its own context with only the tokens it needs; the shared brief is injected (cacheable), not re-read.
Resumable executionruntimeresumeFromRunId replays cached results for the unchanged prefix โ€” edit a prompt mid-run without paying to re-run everything.
Model-agnosticagent() omits modelInherits the session model. Swap Opus โ†” Sonnet โ†” anything; the pipeline is identical.
Budget- & rate-limit-awarebudget global, retriesFan-out can scale to a token budget; agents auto-retry on 429s instead of crashing the run.

The net effect: you're not hoping the model has a good day. You're engineering a quality floor out of sampling, judging, and refinement โ€” the same inference-time-scaling ideas behind best-of-N and self-consistency, applied to design instead of math.

โš™๏ธ Arguments

ArgumentRequiredDefaultDescription
promptโœ…โ€”What to build (natural language).
outputDirโœ…โ€”Absolute path to write files.
variantsโŒ6Number of directions (3โ€“8).
refineRoundsโŒ2Critiqueโ†’fix loops.
brandโŒโ€”Brand notes / existing design system / references.
lensesโŒallRestrict to specific aesthetics by key.

๐ŸŽš๏ธ Customization

Aesthetic lenses (LENSES)

The distinct directions explored in phase โ‘ก. Edit the LENSES array to add your own styles:

KeyStyle
editorialBold Editorial โ€” high-contrast, expressive display type, magazine grid
minimalSwiss Minimal โ€” grid-obsessed, restrained, Inter/Geist
gradientVibrant Gradient โ€” mesh gradients, glassmorphism, neon accents
dark-premiumDark Premium โ€” near-black canvas, gold/violet accent, cinematic
organicSoft Organic โ€” rounded forms, warm palette, approachable motion
brutalistNeo-Brutalist โ€” raw borders, hard shadows, mono, high-energy
glassGlass Aurora โ€” translucent layers, aurora blobs, backdrop blur
mono-techMono Tech โ€” monospace accents, terminal/data-forward
synthwaveSynthwave โ€” retrofuturist neon, magenta/cyan, chrome, perspective grid
bauhausBauhaus โ€” primary red/yellow/blue, geometric primitives, constructivist
art-decoArt Deco โ€” 1920s gold-on-black, symmetrical geometric ornament, luxury
memphisMemphis 80s โ€” confetti shapes, squiggles, postmodern playfulness
risographRisograph โ€” limited-ink print, halftone, overprint, paper grain
scandiNordic Scandi โ€” pale wood, muted, cozy minimalism, hygge warmth
holographicHolographic โ€” iridescent prism chrome, light refraction, futuristic
coutureFashion Couture โ€” full-bleed photography, tiny serif, extreme negative space
punk-zinePunk Zine โ€” xerox collage, ransom-note type, DIY rebellious
claymorphismClaymorphism โ€” soft 3D pastel, inflated rounded forms, tactile depth

Judge dimensions (DIMS)

What the panel scores on: hierarchy ยท typography ยท color/contrast ยท motion ยท engineering craft ยท delight/originality.

๐Ÿค– Model choices

Every agent() call omits the model parameter, so all subagents inherit the current session model. Run it on Opus for top quality, on Sonnet for speed, or on any model your harness exposes โ€” no code changes needed.

๐Ÿ’ผ Example cases

A few prompts to try (all outputDir set to an absolute path):

TypePromptArgs
SaaS landingPricing + landing for an open-source vector DB; speed benchmarks, code hero, comparison table.variants: 6
OSS homepageMIT CLI tool; install command, 3 feature cards, terminal demo.variants: 4, brand: "mono, #10b981"
PortfolioDesigner one-pager; asymmetric editorial, large type, works grid.variants: 8, refineRounds: 3
EventOne-day AI conference; countdown hero, speakers, schedule, register CTA.variants: 6, brand: "#ea580c"
More quick recipes
GoalSuggested args
Fast first draftvariants: 4, refineRounds: 1
Maximum qualityvariants: 8, refineRounds: 3
Brand-lockedpass brand: with hexes + fonts
Specific aesthetics onlylenses: ["editorial","dark-premium"]

๐Ÿ”— Mapping to ClaudeDesign

ClaudeDesign principleThis workflow
Wide exploration (a dozen directions)โ‘ก Diverge โ€” 6โ€“8 parallel aesthetics
Strongest vision model judgesโ‘ข Judge โ€” 6 dimensions ร— N directions
Distill & merge the bestโ‘ฃ Synthesize โ€” Top-3 graft
Fine-grained iterative controlsโ‘ค Refine โ€” critiqueโ†”fix loop
Design system throughoutโ‘  Brief โ€” tokens injected everywhere
Export deliverable HTMLโ‘ฅ Polish โ€” QA โ†’ final.html

๐Ÿ’ฐ Cost & considerations

  • 6 variants ร— full pipeline โ‰ˆ 40+ agent calls. This is deliberate โ€” quality is the point.
  • Token cost scales with variants, refineRounds, and page complexity.
  • Workflow agents read full HTML files for judging/synthesis, so very long pages cost more.
  • Want budget-aware scaling? Tie VARIANT_COUNT to budget.total (the workflow exposes budget).

โ“ FAQ

Do I need a specific model? No. It inherits your session model. A strong model (Opus-class) gives the best results.

Can I use just one direction? Then you don't need this workflow โ€” run a normal frontend-design pass instead. The value is the parallel exploration + judging.

Where do the draft files go? In your outputDir. They're not committed (see .gitignore); keep or delete them freely.

Can I plug in my design system? Yes โ€” pass it via brand. Brief will fold your tokens into every agent.

๐Ÿค Contributing

Contributions welcome โ€” new aesthetic lenses, judge dimensions, or smarter synthesis. Open an issue first to discuss scope. See CONTRIBUTING.md.

๐Ÿ“„ License

MIT ยฉ yizhiyanhua-ai


Built with Claude Code ยท Quality is the only thing that matters.

๐Ÿ“– ็ฎ€ไฝ“ไธญๆ–‡

// compatibility

Platformscli, api
Operating systemsโ€”
AI compatibilityclaude
LicenseMIT
Pricingopen-source
LanguageHTML

// faq

What is fireworks-design?

๐ŸŽ† A Claude Code workflow that replicates ClaudeDesign โ€” parallel design exploration, panel judging, synthesis, and adversarial refinement to a single world-class frontend page. ๅŒ่ฏญ READMEใ€‚. It is open-source on GitHub.

Is fireworks-design free to use?

fireworks-design is open-source under the MIT license, so it is free to use.

What category does fireworks-design belong to?

fireworks-design is listed under automation in the Claudeers registry of Claude-compatible tools.

0 views
โ˜… 47 stars
unclaimed
updated 4 days ago

// embed badge

fireworks-design on Claudeers
[![Claudeers](https://claudeers.com/api/badge/fireworks-design.svg)](https://claudeers.com/fireworks-design)

// retro hit counter

fireworks-design hit counter
[![Hits](https://claudeers.com/api/counter/fireworks-design.svg)](https://claudeers.com/fireworks-design)

// reviews

// guestbook

0/500

// related in Automation & Workflows

๐Ÿ”“

The agent that grows with you

// automationNousResearch/โŸจPythonโŸฉโ˜… 208,716โ—ท MIT[ claude ]
๐Ÿ”“

The API to search, scrape, and interact with the web at scale. ๐Ÿ”ฅ

// automationfirecrawl/โŸจTypeScriptโŸฉโ˜… 143,720โ—ท AGPL-3.0[ claude ]
๐Ÿ”“

๐ŸŒ Make websites accessible for AI agents. Automate tasks online with ease.

// automationbrowser-use/โŸจPythonโŸฉโ˜… 102,507โ—ท MIT[ claude ]
๐Ÿ”“

An open-source long-horizon SuperAgent harness that researches, codes, and creates. With the help of sandboxes, memories, tools, skill, subagents and messageโ€ฆ

// automationbytedance/โŸจPythonโŸฉโ˜… 76,016โ—ท MIT[ claude ]
โ†’ see how fireworks-design connects across the ecosystem