fantasy — Claude Code skill: what it does, how to install
A game-inspired design-system skill for bold fantasy UI. It helps agents define visual foundations, component rules, and accessibility checks.
npx skills add bergside/awesome-design-skills --skill fantasy -a claude-codeWhat fantasy does
fantasy gives coding agents an implementation-ready design system for a game-inspired fantasy interface. It defines a bold visual direction, the 12/14/16/20/24/32 type scale, New Rocker for primary and display text, IBM Plex Mono, named color tokens, and an 8pt spacing grid.
The skill guides component anatomy, variants, states, keyboard and pointer behavior, responsive cases, long labels, empty states, and overflow. It also asks for WCAG 2.2 AA checks, visible focus states, concise copy, anti-patterns, migration notes, and a code-review QA checklist.
It works with Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, and OpenCode. Because the visual system calls for New Rocker and IBM Plex Mono, check whether those fonts fit the project before applying the guidance.
What it helps with
- define a fantasy visual direction for a UI
- set color, type, and spacing tokens
- specify component states and interactions
- add testable accessibility criteria
- prepare a design-system QA checklist
Example prompts for the agent
- Use the
fantasyskill to design a game profile page with tokens, component states, and responsive rules. - Apply
fantasyto these buttons, fields, and cards. Include keyboard behavior and visible focus states. - Review this interface with
fantasyand flag contrast, spacing, and hierarchy problems.
How to install fantasy
1Skills CLI (Vercel)
npx skills add bergside/awesome-design-skills --skill fantasy -a claude-code2Manually: put the files in place
~/.claude/skills/fantasy/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/fantasy/
1Skills CLI (Vercel)
npx skills add bergside/awesome-design-skills --skill fantasy -a codex2Manually: put the files in place
.agents/skills/fantasy/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add bergside/awesome-design-skills --skill fantasy -a cursor2Manually: put the files in place
.cursor/skills/fantasy/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install bergside/awesome-design-skills fantasy2Manually: put the files in place
.github/skills/fantasy/SKILL.md1Skills CLI (Vercel)
npx skills add bergside/awesome-design-skills --skill fantasy -a gemini-cli2Platform CLI
gemini skills install https://github.com/bergside/awesome-design-skills --path skills/fantasyManually: put the files in place
.devin/skills/fantasy/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add bergside/awesome-design-skills --skill fantasy -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about fantasy
How do I install fantasy in Claude Code?
Run npx skills add bergside/awesome-design-skills --skill fantasy -a claude-code, run the same command once more, then open ~/.claude/skills/fantasy/SKILL.md.
What does the fantasy skill do?
It gives an agent practical rules for a fantasy UI, covering visual foundations, tokens, typography, components, states, responsive behavior, and accessibility. The output is structured for design and implementation work.
What accessibility requirements does fantasy include?
The skill targets WCAG 2.2 AA, keyboard-first interactions, and visible focus states. It also requires accessibility criteria that can be tested in implementation.
Source text
SKILL.md · MIT
--- name: fantasy description: Game-inspired fantasy aesthetic with bold, premium visuals, rich color palettes, and immersive thematic elements. license: MIT metadata: author: typeui.sh --- <!-- TYPEUI_SH_MANAGED_START --> # Fantasy Design System Skill (Universal) ## Mission You are an expert design-system guideline author for fantasy. Create practical, implementation-ready guidance that can be directly used by engineers and designers. ## Brand the best game in the world ## Style Foundations - Visual style: bold, premium - Typography scale: 12/14/16/20/24/32 | Fonts: primary=New Rocker, display=New Rocker, mono=IBM Plex Mono | weights=100, 200, 300, 400, 500, 600, 700, 800, 900 - Color palette: primary, secondary, success, warning, danger, info | Tokens: primary=#0250CC, secondary=#FDC800, success=#16A34A, warning=#D97706, danger=#DC2626, surface=#FFFFFF, text=#111827 - Spacing scale: 8pt baseline grid ## Accessibility WCAG 2.2 AA, keyboard-first interactions, visible focus states ## Writing Tone concise, confident, helpful ## Rules: Do - prefer semantic tokens over raw values - preserve visual hierarchy - keep interaction states explicit ## Rules: Don't - avoid low contrast text - avoid inconsistent spacing rhythm - avoid ambiguous labels ## Expected Behavior - Follow the foundations first, then component consistency. - When uncertain, prioritize accessibility and clarity over novelty. - Provide concrete defaults and explain trade-offs when alternatives are possible. - Keep guidance opinionated, concise, and implementation-focused. ## Guideline Authoring Workflow 1. Restate the design intent in one sentence before proposing rules. 2. Define tokens and foundational constraints before component-level guidance. 3. Specify component anatomy, states, variants, and interaction behavior. 4. Include accessibility acceptance criteria and content-writing expectations. 5. Add anti-patterns and migration notes for existing inconsistent UI. 6. End with a QA checklist that can be executed in code review. ## Required Output Structure When generating design-system guidance, use this structure: - Context and goals - Design tokens and foundations - Component-level rules (anatomy, variants, states, responsive behavior) - Accessibility requirements and testable acceptance criteria - Content and tone standards with examples - Anti-patterns and prohibited implementations - QA checklist ## Component Rule Expectations - Define required states: default, hover, focus-visible, active, disabled, loading, error (as relevant). - Describe interaction behavior for keyboard, pointer, and touch. - State spacing, typography, and color-token usage explicitly. - Include responsive behavior and edge cases (long labels, empty states, overflow). ## Quality Gates - No rule should depend on ambiguous adjectives alone; anchor each rule to a token, threshold, or example. - Every accessibility statement must be testable in implementation. - Prefer system consistency over one-off local optimizations. - Flag conflicts between aesthetics and accessibility, then prioritize accessibility. ## Example Constraint Language - Use "must" for non-negotiable rules and "should" for recommendations. - Pair every do-rule with at least one concrete don't-example. - If introducing a new pattern, include migration guidance for existing components. <!-- TYPEUI_SH_MANAGED_END -->
© typeui.sh · MIT · bergside/awesome-design-skills