fireworks-design

作者 yizhiyanhua-ai已验证

🎆 A Claude Code workflow that replicates ClaudeDesign — parallel design exploration, panel judging, synthesis, and adversarial refinement to a single world-class frontend page. 双语 README。

82
Stars
3
Forks
HTML
语言
2026/8/24
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/yizhiyanhua-ai/fireworks-design

快速入门

使用 fireworks-design 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

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 · 简体中文

License: MIT Platform Dynamic Workflow Model PRs Welcome Sponsor


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.

✨ Featured outputs (效果解读)

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.

🖼️ Gallery — all 14 live examples


LUMIÈRE

MAISON NOIR

OBJECT & ECHO

NOVA · AURORA

PULSE

AZORES

LUMEN

ECHOES OF THE VOID

Brightwater

AURA ONE

BUILD/2026

vector

tideline

Lin Hua

🎨 Style Study — 10 styles × 10 themes

Each of the 10 newer aesthetics, paired with a domain that fits it (a synthwave arcade bar, a 1920s speakeasy, a couture lookbook, a punk-band tour, a kids' learning app…). Same workflow, single-lens runs.


PIXEL DIVE · synthwave

FORM & FUNCTION · bauhaus

THE GILDED HOUR · art deco

RIOT DECK · memphis

INK & PAPER · riso

HYGGE & CO · scandi

PRISM · holographic

VESPER · couture

BLACKOUT · punk zine

BLOOM · claymorphism

→ Full table + per-style details in examples/README.md.

🧠 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 orchestrationparallel() 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
promptWhat to build (natural language).
outputDirAbsolute path to write files.
variants6Number of directions (3–8).
refineRounds2Critique→fix loops.
brandBrand notes / existing design system / references.
lensesallRestrict 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.

❤️ Donate

If fireworks-design helps you ship, donate via PayPal — it funds new aesthetic lenses, more example domains, and keeps the workflow sharp. No US account needed; works internationally.

TierAmountBenefits
☕ Backer$50Name in BACKERS.md · early access to new lenses
🎯 Studio$99+ priority issue triage · vote on new lenses
🏛️ Patron$199+ 1 custom lens per quarter · logo in this README

paypal.me/yizhiyanhua · or choose your own amount

📄 License

MIT © yizhiyanhua-ai


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

📖 简体中文

常见问题

What is fireworks-design?

fireworks-design is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by yizhiyanhua-ai. 🎆 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 has 82 GitHub stars.

Is fireworks-design safe to use?

Yes. fireworks-design passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install fireworks-design?

Clone the repository with "git clone https://github.com/yizhiyanhua-ai/fireworks-design" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is fireworks-design written in?

fireworks-design is primarily written in HTML. It is open-source under yizhiyanhua-ai on GitHub, so you can review or fork the full source.

Are there alternatives to fireworks-design?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh fireworks-design against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情