fiction
bergside/awesome-design-skills
Playful, cartoonesque design system with children's-book aesthetics and accessibility-first components.
What is fiction?
Fiction is a design-system skill that provides implementation-ready guidance for building interfaces with a warm, energetic, hand-drawn aesthetic inspired by children's illustrations. Use it when you need to create accessible, consistent UI components with bold typography, saturated colors, thick outlines, and rounded shapes.
- Define design tokens (typography, color, spacing) with semantic naming and WCAG 2.2 AA compliance
- Generate component-level rules covering anatomy, states (default, hover, focus, active, disabled, loading, error), and interaction behavior
- Provide responsive design guidance and edge-case handling for overflow, empty states, and long labels
- Establish accessibility acceptance criteria and testable keyboard-first interaction patterns
- Document anti-patterns and migration guidance for inconsistent existing UI
- Create QA checklists for code review validation
How to install fiction
npx skills add https://github.com/bergside/awesome-design-skills --skill fictionHow to use fiction
- 1.Install the skill using the provided npx command
- 2.Review the brand foundations (visual style, typography scale, color palette, spacing scale) to understand the design language
- 3.Use the guideline authoring workflow to generate component-specific rules: restate intent, define tokens, specify anatomy and states, add accessibility criteria, document anti-patterns, and create QA checklists
- 4.Apply the required output structure when documenting new components or design patterns
- 5.Reference the quality gates to ensure rules are concrete, testable, and accessibility-first
Use cases
- Building a children's app or playful consumer product with consistent design language
- Documenting component specifications for a design system handoff to engineering teams
- Establishing accessibility standards and interaction states across a new product
- Creating design guidance that balances visual novelty with WCAG compliance and clarity
- Migrating existing UI to a cohesive cartoonesque brand identity
- Design system authors and maintainers
- Product engineers implementing component libraries
- Designers creating brand-consistent UI specifications
- Teams building accessible, playful interfaces for consumer or educational products
fiction FAQ
Fiction uses Cossette Texte for primary and display text, JetBrains Mono for monospace, with a 12/14/16/20/24/32 scale. Colors include primary (#222222), secondary (#FFE9CE), success (#16A34A), warning (#D97706), danger (#DC2626), surface (#FFFFFF), and text (#111827). Spacing follows a 4/8/12/16/24/32 scale.
Fiction requires WCAG 2.2 AA compliance, keyboard-first interactions, and visible focus states. Every component rule must include testable accessibility acceptance criteria, and accessibility is prioritized over visual novelty when conflicts arise.
Component rules must explicitly define default, hover, focus-visible, active, disabled, loading, and error states (as relevant), with spacing, typography, and color-token usage specified for each.
No. Fiction requires semantic tokens over raw values to maintain consistency and enable system-wide updates. All guidance must reference token names, not hex codes or pixel values.
Use the required output structure: context and goals, design tokens and foundations, component-level rules (anatomy, variants, states, responsive behavior), accessibility requirements, content and tone standards, anti-patterns, and a QA checklist.
Full instructions (SKILL.md)
Source of truth, from bergside/awesome-design-skills.
name: "fiction" description: "A playful, energetic, cartoonesque interface inspired by friendly children's-book illustrations — warm cream backgrounds, big bold custom display typography, saturated brand color blocks, thick black outlines, generously rounded shapes" metadata: author: typeui.sh
<!-- TYPEUI_SH_MANAGED_START -->Fiction Design System Skill (Universal)
Mission
You are an expert design-system guideline author for Fiction. Create practical, implementation-ready guidance that can be directly used by engineers and designers.
Brand
A playful, energetic, cartoonesque interface inspired by friendly children's-book illustrations — warm cream backgrounds, big bold custom display typography, saturated brand color blocks, thick black outlines, generously rounded shapes, flat surfaces with almost no shadows, and decorative hand-drawn-feeling illustrations in every section.
Style Foundations
- Visual style: playful
- Typography scale: 12/14/16/20/24/32 | Fonts: primary=Cossette Texte, display=Cossette Texte, mono=JetBrains Mono | weights=100, 200, 300, 400, 500, 600, 700, 800, 900
- Color palette: primary, neutral, success, warning, danger | Tokens: primary=#222222, secondary=#FFE9CE, success=#16A34A, warning=#D97706, danger=#DC2626, surface=#FFFFFF, text=#111827
- Spacing scale: 4/8/12/16/24/32
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
- Restate the design intent in one sentence before proposing rules.
- Define tokens and foundational constraints before component-level guidance.
- Specify component anatomy, states, variants, and interaction behavior.
- Include accessibility acceptance criteria and content-writing expectations.
- Add anti-patterns and migration notes for existing inconsistent UI.
- 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.
Related skills
More from bergside/awesome-design-skills and the wider catalog.

flat
Flat design system with minimalist 2D style, vibrant colors, and clean typography for fast, accessible interfaces.

friendly
Approachable design system with rounded elements, whitespace, and soft pastel colors.

futuristic
Forward-looking design system with tech-inspired typography, modern layouts, and innovation-driven aesthetics.

glassmorphism
Frosted glass design system with translucent layers, blur effects, and luminous borders for modern UI.

gradient
Design-system guidance for modern, playful interfaces with smooth color transitions and visual depth.

immersive
Immersive, interactive exhibit-style interface with storytelling, animation, and gamified elements on a unified brand canvas.