Skip to content

Repository files navigation

Cinematic UI

Cinematic UI — director-driven web design skill

npm versionnpm downloadsMIT LicenseSkill: cinematic-ui

Claude CodeCodexCursorWindsurfCopilotGemini


A reasoning-first web design skill for AI coding agents. Teaches the agent to think like a film director — research a real director and film, extract cinematic grammar, translate it into page narrative, composition, and motion. Not a style picker. A director's workflow.


What this is

cinematic-ui is a reusable skill package for Claude Code, Codex, Cursor, Windsurf, Gemini, and GitHub Copilot. It guides an agent through a fixed workflow to design a website:

  1. Pick a director + a specific film.
  2. Research the film's language (cinematography, light, pacing, texture).
  3. Translate the research into web artifacts: decisions.md, storyboard.md, compiled-spec.md.
  4. Implement HTML / CSS / JS against the spec.

The film is research material, not a design spec sheet. The agent's job is to extract structural patterns from the film and translate them into layout, composition, motion, and typography.


Workflow

PhaseWorkOutput
Phase 1Start questionnaire, pick director + film, uniqueness audit, researchdecisions.md
Phase 2Site-wide cinematic grammar, per-page scene thesis, signature compositionsstoryboard.md
Phase 3Shots, interactions, composition, texture, typography (per storyboard)compiled-spec.md
Phase 4Implement, fill in reduced-motion + responsive, run anti-garbage checksHTML / CSS / JS

Phase 2 internal order is fixed: site-wide grammar → per-page thesis → per-page composition → shared system last.


Supported agents

AgentEntry fileInstall path
Claude CodeCLAUDE.md~/.claude/skills/cinematic-ui
Codex / ChatGPTCODEX.md$CODEX_HOME/skills/cinematic-ui
Cursor.cursor/rules/cinematic-ui.mdcauto-loaded on clone
Windsurf.windsurf/rules/cinematic-ui.mdauto-loaded on clone
GitHub Copilot.github/copilot-instructions.mdauto-loaded on clone
Gemini / AntigravityGEMINI.mdread at project start
Cross-toolAGENTS.mdshared reference

Installation

npm (all platforms)

npm install -g @pythoughts/cinematic-ui

The package contents are then at $(npm root -g)/@pythoughts/cinematic-ui/. Copy or symlink the files into the target agent's skills/rules folder. Example for Claude Code:

PKG=$(npm root -g)/@pythoughts/cinematic-ui
ln -s "$PKG"~/.claude/skills/cinematic-ui

Invoke with /cinematic-ui inside Claude Code.

Git (Claude Code)

Windows:

git clone https://github.com/Pythoughts-labs/cinematic-ui "$env:USERPROFILE\.claude\skills\cinematic-ui"

macOS / Linux:

git clone https://github.com/Pythoughts-labs/cinematic-ui ~/.claude/skills/cinematic-ui

Git (Codex / ChatGPT)

git clone https://github.com/Pythoughts-labs/cinematic-ui $CODEX_HOME/skills/cinematic-ui

Git (Cursor / Windsurf / GitHub Copilot)

git clone https://github.com/Pythoughts-labs/cinematic-ui

Rule files are picked up automatically.


Suggested prompt

Use cinematic-ui to build a homepage.
Pick the director and film yourself.
Research the director and film first if web access is available.
Run the Demo Uniqueness Protocol.
Do not reuse shells from previous demos.

Reference library

All reference data lives in references/, organized by phase. Load only what the current phase needs.

Core rule files

FilePurpose
references/library-index.mdWhich files to read at each phase
references/autonomous-direction.mdAutonomous posture, color direction, surprise + self-critique
references/premium-calibration.mdPost-brief self-check
references/anti-garbage.mdCommon AI design degradation patterns
references/anti-convergence.mdHash-based selection to prevent repeated shells
references/implementation-guardrails.mdPhase 3–4 build rules
references/reference-protocol.mdDecompose references without copying
references/output-templates.mdStandard artifact formats per phase

Data libraries

FileContents
references/data/directors-200.md200+ directors with representative films and visual style
references/data/hero-archetypes.md30 hero skeletons
references/data/narrative-beats.md25 narrative beats + 18 director arc templates
references/data/section-functions.md50 functional section types
references/data/section-archetypes.md91+ section skeletons
references/data/dna-index.tsv1,486-site design DNA index
references/data/design-dna-db.txtSite-level DNA data
references/data/camera-shots-50.md55 entrance and reveal motion patterns
references/data/interaction-effects-50.md55+ hover / click / scroll interactions
references/data/compositions.md80 layout compositions
references/data/visual-elements.md40 decorative visual elements
references/data/background-techniques.md50+ hero background techniques
references/data/typography-cinema.md40+ typography treatments
references/data/color-grades.md40+ film color grade → UI token translations
references/data/font-moods.md30+ font pairings by mood
references/data/textures.md30+ surface texture techniques

Repository layout

cinematic-ui/
├── SKILL.md ← main skill logic
├── skill.json ← cross-agent skill manifest
├── package.json ← npm package metadata
├── CLAUDE.md ← Claude Code
├── AGENTS.md ← cross-tool shared reference
├── CODEX.md ← Codex / ChatGPT
├── GEMINI.md ← Gemini / Antigravity
├── .cursor/rules/ ← Cursor (auto-loaded)
├── .windsurf/rules/ ← Windsurf (auto-loaded)
├── .github/copilot-instructions.md ← GitHub Copilot (auto-loaded)
├── agents/openai.yaml ← OpenAI skill metadata
└── references/
├── library-index.md
├── premium-calibration.md
├── anti-garbage.md
├── anti-convergence.md
├── implementation-guardrails.md
├── reference-protocol.md
├── output-templates.md
└── data/ ← 16 design data libraries

Publishing

This skill is published as a scoped npm package under the pythoughts npm org (same maintainer as @pythoughts/react-frontend-skills). The owner publishes with:

npm login
npm publish --access public

--access public is required because @pythoughts/cinematic-ui is a scoped package.


Contributing

See CONTRIBUTING.md.

License

MIT. See LICENSE.

About

Director-driven web design skill for AI coding agents — research a real film, extract cinematic grammar, build with storyboard-first specs.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors