/loxihart-design:building-flashfusion-live-artifactsfrom loxihart-design
Builds, patches, and registers the FlashFusion Agent Control Center as a Cowork live artifact — void-dark dashboard with semi-transparent blur panels, live Supabase data, and per-panel Demo fallback. Use when the user mentions: build the FlashFusion artifact, rebuild the control center, add a panel to the dashboard, the artifact is broken, update FlashFusion dashboard, patch the agent dashboard, fix the live connection, update brand tokens, ff artifact, ff dashboard, agent control panel, agent control center, demo mode artifact, approval queue panel, HITL queue dashboard, live agent view, ChaosClubCo dashboard. Fires on dashboard or control-center requests in the FlashFusion context even when FlashFusion or artifact is not named. PERSONAL lane only — never run on LOXIHART tasks.
Ships in loxihart-design. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Navigation layer for the full FlashFusion Agent Control Center workflow. Canonical specs live in sot/FF-PLAT-CORE-SOT.md. Phase detail, patch playbook, and gotchas live in references/.
Sandbox enforces strict CDN whitelist (Chart.js 4.5.0, Grid.js, Mermaid), blocks fetch(), requires color-scheme: light on :root. Demo mode is the primary UX — OAuth TTL expires within one turn. Every panel needs independent Demo fallback. LOXIHART project ID oorstbwcydxwiojrsoim is a hard stop.
All canonical FlashFusion specs live in sot/FF-PLAT-CORE-SOT.md. Query by section anchor — never load the entire SOT.
Required SOT reads, by task type:
| Task | Read these SOT sections | Read these references |
|---|---|---|
| Build from scratch | §1, §2, §3, §6, §7, §8, §9, §10 | references/phases.md |
| Patch 1–3 panels | §3 (panels), §4 (schema) | references/patch-playbook.md |
| Add new panel | §3 (canonical list), §4 (schema), §5 (state) | references/patch-playbook.md |
| Fix live connection | §7 (sandbox), §10 (MCP tools), §8 (LOXIHART check) | references/gotchas.md #3, #7 |
| Update brand tokens | §1 (tokens), §2 (recipe) | — |
| Debug rendering | §7 (sandbox), §6 (CDN) | references/gotchas.md |
sot/INFOGRAPHIC-CORRECTED.md explains the tier model. Read once for context; not needed per-task.
What triggered this workflow?
├─ Build from scratch
│ └─ Run all 7 phases — references/phases.md
│ Read SOT §1, §2, §3, §6, §7, §8, §9, §10 first
├─ Schema change (column renamed, table added/dropped)
│ └─ references/patch-playbook.md — 5 steps
│ Read SOT §3, §4
│ Do NOT full rebuild
├─ Add a new panel
│ └─ references/patch-playbook.md — "Adding a Panel" template
│ Read SOT §3, §5
│ Do NOT rewrite existing panels
├─ Fix broken live connection (OAuth error / MCP failure)
│ └─ references/gotchas.md #3, #7 — diagnose first, don't rebuild
│ Read SOT §7, §10
└─ Update brand tokens only
└─ Update SOT §1 — then patch artifact CSS
Re-run smoke test items 1, 3, 4 only
Example 1 — Build from scratch.
User: "Build the FlashFusion Agent Control Center artifact."
→ Lane check (PERSONAL confirmed). Read SOT §8 (LOXIHART quarantine) first. Read SOT §1, §2, §3, §6, §7, §9, §10. Read references/phases.md. Build 10 required panels with Demo data. ToolSearch for create_artifact. Register with artifact_id from SOT §9. Smoke test all 10 items.
Example 2 — Schema change patch.
User: "The approvals table got a new 'priority' column — update the dashboard."
→ Read SOT §3, §4. Read references/patch-playbook.md. Affected panels: approval queue only (§3 row 5). Update SOT §4 schema first, then apply Patch Playbook 5 steps. Re-register with update_artifact.
Example 3 — Fix broken live connection.
User: "The live data isn't loading, just showing Demo."
→ Do NOT rebuild. Read references/gotchas.md #3 (network blocked) and #7 (OAuth TTL). Check localStorage for ff_pid. Check OAuth status. Verify MCP tool names via ToolSearch (per SOT §10).
| Phase | Name | Primary detail location |
|---|---|---|
| 1 | Pre-Build Lane Gate | references/phases.md Phase 1 + SOT §8 |
| 2 | Brand Token Load | SOT §1 + §2 |
| 3 | HTML Build (10 panels) | references/phases.md Phase 3 + SOT §3 |
| 4 | Data Fetch Architecture | references/phases.md Phase 4 |
| 5 | CDN Requirements | SOT §6 |
| 6 | Register Artifact | references/phases.md Phase 6 + SOT §9 + §10 |
| 7 | Smoke Test | Inline below |
create_artifact and update_artifact are ALWAYS deferred — ToolSearch every timecolor-scheme: light on :root is non-negotiable, even on dark themesfetch(), XMLHttpRequest, or third-party SDKs — only window.cowork.callMcpTooloorstbwcydxwiojrsoim — hard stop if found anywhere4.5.0 with integrity hash from SOT §6 — silent failure otherwiseflashfusion-control-center is FIXED — never change (SOT §9)unpkg.com and cdnjs.cloudflare.com are blocked — only cdn.jsdelivr.net (SOT §6)Full diagnosis + fix for each: references/gotchas.md.
Run after every build or patch. All 10 must pass before the artifact is production-ready.
? key and C button; closes with Escapeff_pid in localStorage and switches badge to "LIVE"ff_budget from localStorage (default 50)flashfusion-control-center (not a new ID — SOT §9)oorstbwcydxwiojrsoim does NOT appear anywhere in artifact HTML (per SOT §8)color-scheme: light is the first property in :root (per SOT §1)4.5.0 with correct integrity hash (per SOT §6)fetch(), XMLHttpRequest, or supabase-js in artifact HTML (per SOT §7)window.cowork.callMcpTool()ff_pid, ff_budget, ff_mode read/written from localStorage per SOT §5flashfusion-control-center (per SOT §9)create_artifact / update_artifact (per SOT §10)color-scheme: light required on :root (observed behavior)mcp__cowork__create_artifact is deferred every session (observed across sessions)window.cowork.callMcpTool() is the only permitted data access pattern (observed: direct fetch produces empty panels, no console error)window.cowork.askClaude() behavior with large payloads untestedcallMcpTool architecturally possible but untestedsot/FF-PLAT-CORE-SOT.md. Body reduced from ~365 to ~200 lines per Anthropic progressive disclosure pattern.Named failure modes for this skill. Each is a hard stop, not a warning.
README.md (opens in a new tab)commands/ff-build.md (opens in a new tab)commands/ff-patch.md (opens in a new tab)commands/ff-smoketest.md (opens in a new tab)references/gotchas.md (opens in a new tab)references/patch-playbook.md (opens in a new tab)references/phases.md (opens in a new tab)skills/building-flashfusion-live-artifacts/references/gotchas.md (opens in a new tab)skills/building-flashfusion-live-artifacts/references/patch-playbook.md (opens in a new tab)skills/building-flashfusion-live-artifacts/references/phases.md (opens in a new tab)sot/FF-PLAT-CORE-SOT.md (opens in a new tab)sot/INFOGRAPHIC-CORRECTED.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub krosebrook/loxihart-skills --plugin loxihart-design19 skills in this plugin
/advanced-ux-patternsComprehensive UX best practices including accessibility (WCAG 2.2), interaction patterns, user research methods, and usability principles. Use when designing user interfaces, conducting UX audits, or implementing accessible, user-centered designs. Also triggers on WCAG, ARIA, keyboard navigation, screen reader, focus trap, focus management, touch targets, usability testing, heuristic evaluation, card sorting, tree testing, NPS, SUS, form design, navigation patterns, mobile UX, design handoff, cognitive load, information architecture, dark patterns, skeleton screen, error states, reduced motion, dark mode accessibility, component states, error recovery, or any request to audit, improve, spec, or review a user interface — even casually. If UI is involved, use this skill./advanced-visual-designAdvanced visual design techniques including typography systems, color theory, grid-based layouts, visual hierarchy, and composition principles. Use when creating high-quality visual designs, establishing design foundations, or implementing sophisticated design systems. Also triggers on type scale, font pairing, color palette, HSL color, 8-point grid, 12-column layout, visual hierarchy, whitespace, composition, rule of thirds, golden ratio, dark mode design, optical adjustments, or easing curves. Even if someone says "make this look professional" or "set up my design foundations" — use this skill./applying-web-design-standardsApplies web design standards covering typography systems, color theory, grid layouts, design tokens, component library architecture, responsive CSS, and performance optimization. Use when the user mentions: type scale, font pairing, color palette, HSL color, 8-point grid, design tokens, component API, Storybook, Style Dictionary, atomic design, responsive layout, mobile-first, Core Web Vitals, CSS Grid, Flexbox, container queries, pre-launch audit. Does NOT activate for Kyle-specific branded builds — use executing-branded-frontends or managing-design-briefs instead./auditing-cross-app-experiencesAudit, shape, redesign, animate, harden, test, and ship an existing application or frontend with evidence-bound UX, accessibility, performance, security, and release checks. Invoke for all requests to improve a site's design, usability, motion, responsiveness, mobile experience, onboarding, dashboard, 3D game view, or production readiness. Preserve existing product intent and release holds./building-parallax-scroll-effectsBuilds scroll-linked motion effects — depth-layer parallax, sticky pinning, scroll-triggered reveals, horizontal scroll-jacking, pointer/mouse parallax, scale-on-scroll, velocity-aware marquees, and native CSS scroll-driven animation (animation-timeline) — with performance and accessibility handled from the first line of code, not bolted on after. Use when the user asks for parallax scrolling, scroll animations, scroll-triggered effects, depth on scroll, sticky sections, pinned sections, horizontal scroll sections, scroll-jacking, mouse or pointer parallax, animate on scroll, reveal on scroll, scroll-linked motion, or a landing page/hero that should "feel alive" while scrolling. Covers four implementation stacks — vanilla CSS/JS, native CSS scroll-timelines, GSAP ScrollTrigger, and Motion (the library formerly named Framer Motion) for React — and picks between them by tradeoff, not by default. Check this before writing any scroll-linked animation, even a single fade-in-on-scroll.
/compiling-brand-design-systemsUse whenever the user says "compile the design system", "build a design system", "build the brand system", "make me a token system", "turn this brand into tokens", "design tokens for", "component library for my brand", or names a brand plus "design system" — even if they don't say "tokens" or "components". Also triggers on: brand system compile, full DS build, token architecture, dark/light theming build, sub-brand namespace, CVA component set, DTCG tokens, ship the design system, rebuild the design system, extend the design system for [sub-brand].