/claude-skills:cinematic-website-prime-directivefrom claude-skills
Guides building a cinematic, production-ready website from a one-line prompt. Covers 100 rules across visual design, SPA routing, PWA, JSON-LD, testing, and deployment. React 19+Vite default, Angular optional.
Ships in claude-skills. 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.
None: SKILL.md is the whole skill.
One-line prompt → satisfy all 100 build-breaking rules across 10 categories before DONE.
Start here:
website-build-manifestis the cross-linked acceptance index for the whole one-prompt build (phase order, per-page/per-site gates, architecture, quality bar,EMDASH_*config). Load it first, then this skill's 100 rules + the detail rules it links.
#060610 base) + bold accent (#00E5FF / #7C3AED / #50AAE3) — never neutral greyclamp() type — body 16-19px, display 64-128px, ratio 1.25-1.333backdrop-filtercolor-mix(in oklch, ...) derived shades — no static rgb tintstext-wrap: balance headings, text-wrap: pretty body — no orphansreference/aesthetic-quality-lexicon.md.@view-transition { navigation: auto; }) for SPA page swapsprefetch="hover"<script type="speculationrules"> prerender eagerness:"moderate"React.lazy + Vite manualChunks — no single chunk >250KB gzsite.webmanifest w/ name, short_name, description, theme_color, background_color, display:"standalone"screenshots[] ≥3 entries w/ form_factor:"wide" + form_factor:"narrow"shortcuts[] for top 3 actions, share_target, file_handlers, protocol_handlersStaleWhileRevalidate HTML/JS, CacheFirst + ExpirationPlugin imagesoffline.html shell w/ branded copy + link to cached pagesbeforeinstallprompt + iOS separate UIapple-touch-icon 180×180 + apple-touch-startup-imageWebSite + Organization + WebPage + BreadcrumbList + FAQPageLocalBusiness, Product, BlogPosting, HowTo, PersonPerson + sameAs) + dateModified on every content page (EEAT)citation: CreativeWork[] array for every quantitative claim@id across blocks; use stable IRIsinLanguage on every block; isAccessibleForFree:true on public contentsitemap.xml w/ <lastmod> on every URLrobots.txt triple-state: Allow OR Disallow per GPTBot, ClaudeBot, Claude-User, Claude-SearchBot, PerplexityBot, Google-Extended, CCBot, Bytespider — never defaulthumans.txt, .well-known/security.txt, browserconfig.xml, llms.txt (OPTIONAL)FAQPage w/ 5+ Q&A blocks (highest AI citation rate)primary_hostname set)persistence:'memory' (cookie-free), autocapture on@sentry/cloudflare v11 (stream trace lifecycle default since 11.0) + withSentry + OIDC DSN[observability] enabled = true + OTLP export to Axiomdata-appearance="interaction-only") on every form — NEVER visibleautofocus + requestAnimationFrame(() => inputRef.current?.focus({preventScroll:true})) after open-state flip, re-press = re-focus + select(), Esc returns focus to trigger. Playwright build gate: await page.keyboard.press('Meta+K'); await expect(input).toBeFocused();fetchpriority="high" on LCP <img> AND its <link rel="preload">unicode-range per scriptpage.goto for internal)wrangler tail clean during smoke tests (no Worker errors)wrangler deploy + version metadata/health endpoint returns {status, version, timestamp}secrets.required validated at deployAnything less than all 100 — plus always-on rules 111-118 (§12) — is in-progress.
Phrase detect — rebuild | optimize | enhance | modernize | recreate | clone | better version of {domain} OR bare-domain prompt where domain resolves 200 = enhancement mode. Output = union(SOURCE_URLS, STANDARD_PAGE_SET[org_type], DEMOGRAPHIC_LOCALES, JEWELS) − CRUFT_URLS. See rules/source-site-enhancement.md.
Crawl FIRST — sitemap.xml → robots.txt → HTML BFS → Wayback fallback → CMS index endpoints (Squarespace /config/pages, WP wp-sitemap-posts-*.xml, Wix _api/v1/sitemap.xml) → _url_inventory.json. Every URL classified keep | merge | 301 | drop.
Org-type page-set floor per 15-site-generation/page-set-expansion.md:
Demographic-i18n auto-trigger via ACS B16001 lookup on service area — every language ≥10% community share gets /{locale}/* full route mirror with hreflang cross-refs. Newark NJ ⇒ en+es+pt automatic.
Jewel discovery (org-type-specific high-value pages absent from source):
/parish-toolkit|/planned-giving|/financials|/annual-report|/donate/refurbish|/ways-to-give|/transcript|/alumni|/press|/testimonials|/partners/changelog|/security|/status|/integrations|/customers|/roadmap|/api-docs/specials|/gallery|/team|/reviews|/insurance|/financing/now|/uses|/colophon|/reading-listIA normalize — /home → /, /our-mission-1 | /blog-1 | /testpage | /new-page-* → drop or 301, flat /health-clinic → /services/health-clinic nested + index when 9+ services. CRUFT_PATTERNS auto-301 to canonical.
Squarespace random-ID slugs → semantic + 301. Same for Wix _compiler/page-data dupes + WP ?p=123 permalinks.
Jewel content authority via Form 990 / Charity Navigator / Candid / Wayback / Newspapers.com / LinkedIn — never stub, every quantitative claim APA-cited per rules/citations.md.
Hard gate page count — deployed site MUST have keep_count + standard_gap_count + jewel_count + locale_count*(keep+standard+jewel) pages. Nonprofits min: keep + 14 standard + 10 jewels. Build fails when deployed-route-count < expected.
Monitor-fire on first tool-call message — rebuild prompt is multi-faceted (≥7 independent work units: crawl → classify → org-type-infer → demographic-i18n → jewel-content-author → IA-normalize → Squarespace-dedupe → deploy-verify). Sequential = build fail. See rules/source-site-enhancement.md § Parallel-agent playbook.
animation-timeline: view() / scroll() ONLY inside @supports (animation-timeline: view()). Firefox: unsupported as of late 2026 — verify at caniuse before relying. Never animation-only state.if (!CSS.supports('animation-timeline: view()')) observe(...). Double-driving one element = double motion = fail.@starting-style first-paint entrances — transition-based, zero JS; pair transition-behavior: allow-discrete for display/dialog/popover entry+exit. Baseline mid-2024 (Chrome 117 / Safari 17.5 / Firefox 129) — still verify at caniuse.prefers-reduced-motion → ONE rich static frame (no rAF loop). Reference impl: claude.megabyte.space hero — heroNebula fn in public/index.html (heymegabyte/claude.megabyte.space).document.hidden (visibilitychange) AND element-offscreen (IntersectionObserver on the canvas). Either alone still burns battery + CPU.minmax() grid + 1-2 span-2 anchor cards + accent wash on the anchors. A uniform card wall is slop (extends rule 9's anti-centered-stack mandate).background-clip: text + background-size: 200% (or larger) + slow background-position pan; gate on prefers-reduced-motion: no-preference.Cache-Control: immutable / 1yr asset ships as hashed filename or ?v=<version> bumped on EVERY change, INCLUDING any _headers Early-Hints preload of the same URL (CF 103 Early Hints cache also lags a deploy briefly). Reference incident (claude.megabyte.space, 2026-10-04): a stylesheet served immutable, max-age=1yr on an UNVERSIONED URL left returning visitors on stale CSS indefinitely.rules/openspec-change-ownership.md and rules/agent-provider-policy.md. Assign each OpenSpec change one owner through verification. Route suitable bounded changes to OpenCode with DeepSeek through LiteLLM.rules/evidence-gated-autonomous-orchestration.md. Its conference and risk gates govern provider selection and independence.control-plane/RUNTIME.md. Capture cited proposals for application code in theme.tools, host configuration in install.doctor, and agent guidance in agent-skills. Submit authorized findings to same-run OpenSpec admission.theme.tools, install.doctor, and agent-skills extraction reviews concurrently with proportional tests and release preparation. After reconciling those changes and generated outputs, revalidate the exact final tree. Commit only that tested tree, push it normally to main, promote it through the approved production rail, and run production smoke plus critical E2E verification. Fail closed without mutating production when authority, credentials, spending permission, review, recovery, validation, or provenance gates are missing; record the exact blocker instead.Before implementation, load rules/theme-tools-skill-integration.md from the agent-skills repository and the entry for this skill in config/theme-tools-skill-map.json. Apply catalog-first reuse, upstream contribution, thin-consumer adoption, UI-first theme.tools implementation and test-driven verification, and .tools/telemetry routing proportionally to this task.
What SKILL.md sets; muted values are Claude Code's defaults
Any one-line website prompt: 'Make a website for X', 'Build a site for Y', 'Rebuild Z.com', or equivalent. Trumps generic 06-build-and-slice-loop.
inheritxhighThree short reads, in order
npx claudepluginhub heymegabyte/agent-skills --plugin claude-skills46 skills in this plugin
/operating-systemSupreme policy layer governing all agent behavior. Autonomy, one-line prompt interpretation, speed standards, emphasis signal processing, cross-skill coordination, done definitions, conflict resolution. Loaded every prompt./goal-and-briefEstablish project thesis before first code. Infer product type from domain/folder/README. Identify users, business model, pSEO strategy, AI-native dev approach. Maintain PROJECT_BRIEF.md as source of truth./preference-and-memoryCaptures and evolves user preferences with confidence levels. Maintains Voice of the Customer model with exact language, dissatisfaction and aspiration signals. Handles promotion/demotion, global vs project scoping, auto memory system, and Omi wearable data integration./architecture-and-stackCloudflare-first platform selection. Workers, D1, R2, KV, DO, Queues, Vectorize, Containers, Workflows, native Go CLIs and measured Rust/WASM acceleration. Default stack, override conditions, auth, data patterns and reliability./build-and-slice-loopUse when implementing features or streaming OnePrompt site builds. Complete vertical slices with real content, strict TypeScript and Zod. Parallel section/data work, deterministic assembly, granular patches and immediate valid previews./quality-and-verification5-level verification pyramid: static→unit→Playwright E2E (homepage-first, 6bp)→AI visual→post-deploy. 8-check quality gate. Multi-agent testing (functional/security/a11y/performance). Playwright v1.56+ AI agents (Planner/Generator/Healer, v1.63 current). WCAG 2.2 AA via axe-core v4.13. Percy+Chromatic visual regression. ADA Title II 2027/2028 deadlines. TypeScript compiler diagnostics, source coverage, typed lint, and semantic navigation.Other plugins' skills for the same job