All rules in this skill are mandatory. Violating any rule is a blocking error — fix before proceeding or delivering.
Workflow
Phase 1: Design Architecture
1. Analyze the request — determine page type and context
Set design dials based on page type
Plan layout sections and identify asset needs
Phase 2: Motion Architecture
1. Select animation tools per section (see Tool Selection Matrix)
Plan motion sequences following performance guardrails
Phase 3: Asset Generation
Generate all image/video/audio assets using scripts/. NEVER use placeholder URLs (unsplash, picsum, placeholder.com, via.placeholder, placehold.co, etc.) or external URLs.
Craft optimized prompts, show to user, confirm before generating
Execute via scripts, save to project — do NOT proceed to Phase 5 until all assets are saved locally
Phase 4: Copywriting & Content
Follow copywriting frameworks (AIDA, PAS, FAB) to craft all text content. Do NOT use "Lorem ipsum" — write real copy.
Phase 5: Build UI
Scaffold the project and build each section following Design and Motion rules. Integrate generated assets and copy. All <img>, <video>, <source>, and CSS background-image MUST reference local assets from Phase 3.
- DEPENDENCY VERIFICATION: Check package.json before importing any library. Output install command if missing.
Framework: React/Next.js. Default to Server Components. Interactive components must be isolated "use client" leaf components.
Styling: Tailwind CSS. Check version in package.json — NEVER mix v3/v4 syntax.
ANTI-EMOJI POLICY: NEVER use emojis anywhere. Use Phosphor or Radix icons only.
Viewport: Use min-h-[100dvh] not h-screen. Use CSS Grid not flex percentage math.
Layout:max-w-[1400px] mx-auto or max-w-7xl.
1.3 Design Rules
Rule
Directive
Typography
Headlines: text-4xl md:text-6xl tracking-tighter. Body: text-base leading-relaxed max-w-[65ch]. NEVER use Inter — use Geist/Outfit/Satoshi. NEVER use Serif on dashboards.
Color
Max 1 accent, saturation < 80%. NEVER use AI purple/blue. Stick to one palette. |
| Layout | NEVER use centered heroes when VARIANCE > 4. Force split-screen or asymmetric layouts. |
| Cards | NEVER use generic cards when DENSITY > 7. Use border-t, divide-y, or spacing. |
| States | ALWAYS implement: Loading (skeleton), Empty, Error, Tactile feedback (scale-[0.98]). |
| Forms | Label above input. Error below. gap-2 for input blocks. |
"Still wasting 10 hours/week?" |
| How-To | "How to automate your pipeline" |
| Number | "7 mistakes killing conversions" |
| Negative | "Stop losing leads" |
| Curiosity | "The one change that tripled bookings" |
| Transformation | "From 50 to 500 leads" |
Be specific. Lead with outcome, not method.
4.4 CTAs
Bad: Submit, Click here, Learn more
Good: "Start my free trial", "Get the template now", "Book my strategy call"
Formula: [Action Verb] + [What They Get] + [Urgency/Ease]
Place: above fold, after value, multiple on long pages.
4.5 Emotional Triggers
Trigger
Example
FOMO
"Only 3 spots left"
Fear of loss
"Every day without this, you're losing $X" |
| Status | "Join 10,000+ top agencies" |
| Ease | "Set it up once. Forget forever." |
| Frustration | "Tired of tools that deliver nothing?" |
| Hope | "Yes, you CAN hit $10K MRR" |
4.6 Objection Handling
Objection
Response
Too expensive
Show ROI: "Pays for itself in 2 weeks"
Won't work for me
Social proof from similar customer |
| No time | "Setup takes 10 minutes" |
| What if it fails | "30-day money-back guarantee" |
| Need to think | Urgency/scarcity |
Place in FAQ, testimonials, near CTA.
4.7 Proof Types
Testimonials (with name/title), Case studies, Data/metrics, Social proof, Certifications
5. Visual Art
Philosophy-first workflow. Two output modes.
5.1 Output Modes
Mode
Output
When
Static
PDF/PNG
Posters, print, design assets
Interactive
HTML (p5.js) | Generative art, explorable variations |
5.2 Workflow
Step 1: Philosophy Creation
Name the movement (1-2 words). Articulate philosophy (4-6 paragraphs) covering:
Refine, don't add. Make it crisp. Polish into masterpiece.
Quality Gates
Design:
- [ ] Mobile layout collapse (w-full, px-4) for high-variance designs
[ ] min-h-[100dvh] not INLINECODE127
[ ] Empty, loading, error states provided
[ ] Cards omitted where spacing suffices
Motion:
- [ ] Correct tool per selection matrix
[ ] No GSAP + Framer mixed in same component
[ ] All useEffect have cleanup returns
[ ] prefers-reduced-motion respected
[ ] Perpetual animations in React.memo leaf components
[ ] Only GPU properties animated
[ ] Heavy libraries lazy-loaded
General:
- [ ] Dependencies verified in INLINECODE131
[ ] No placeholder URLs — grep the output for unsplash, picsum, placeholder, placehold, via.placeholder, lorem.space, dummyimage. If ANY found, STOP and replace with generated assets before delivering.
[ ] All media assets exist as local files in the project's assets directory
[ ] Asset prompts confirmed with user before generation
React and Next.js are trademarks of Meta Platforms, Inc. and Vercel, Inc., respectively. Vue.js is a trademark of Evan You. Tailwind CSS is a trademark of Tailwind Labs Inc. Svelte and SvelteKit are trademarks of their respective owners. GSAP/GreenSock is a trademark of GreenSock Inc. Three.js, Framer Motion, Lottie, Astro, and all other product names are trademarks of their respective owners.