Skip to main content
skill CX Codex

storytelling · bergside — Claude Code skill: design rules built on narrative

A skill that turns the agent into a design-system author: tokens, component states, accessibility and a fixed output structure. Useful when an interface needs one coherent logic.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add bergside/awesome-design-skills --skill storytelling -a claude-code
Open on GitHub

What storytelling does

The skill makes the agent write design-system guidance instead of ad-hoc UI advice. Foundations come first: a playful visual style, Inter for body text, Abril Fatface for display, JetBrains Mono for code, weights from 100 to 900. Colors are tokens — primary #3B82F6, secondary #8B5CF6, success #16A34A, warning #D97706, danger #DC2626, surface #FFFFFF, text #111827. The spacing scale is 4/8/12/16/24/32.

Component rules follow. The agent must cover default, hover, focus-visible, active, disabled, loading and error states, describe keyboard, pointer and touch behavior, and handle responsive cases plus edge cases like long labels and empty states. Every rule has to point at a token, a threshold or an example rather than an adjective. Accessibility target is WCAG 2.2 AA with keyboard-first interaction and visible focus.

The output has a fixed shape: context and goals, tokens and foundations, component rules, testable accessibility criteria, tone standards, anti-patterns, and a QA checklist for code review. When aesthetics clash with accessibility, accessibility wins — worth checking against your current components. Install runs through npx skills add with the agent flag.

What it helps with

  • lock down tokens and a type scale before writing components
  • cover every button and input state without gaps
  • check contrast and focus against WCAG 2.2 AA
  • build a QA checklist for design-system review
  • describe keyboard and touch behavior for a component

Example prompts for the agent

  • write a guideline for a product card component using the storytelling skill
  • check my palette contrast against the storytelling rules
  • list anti-patterns for a signup form in the storytelling style

How to install storytelling

1Skills CLI (Vercel)

npx skills add bergside/awesome-design-skills --skill storytelling -a claude-code

2Manually: put the files in place

~/.claude/skills/storytelling/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/storytelling/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about storytelling

How do I install storytelling in Claude?

Run npx skills add bergside/awesome-design-skills --skill storytelling -a claude-code. The skill lands in ~/.claude/skills/storytelling/SKILL.md.

What does storytelling do?

It gives the agent a design-system frame: tokens, typography, component states, accessibility requirements and a fixed guideline structure.

Which accessibility level does it target?

WCAG 2.2 AA, with keyboard-first interaction and visible focus states. Each requirement is meant to be testable in code.

Source text

SKILL.md · MIT
---
name: storytelling
description: Narrative-driven design using visuals, copy, and interaction to guide users through engaging, emotionally resonant journeys.
license: MIT
metadata:
  author: typeui.sh
---

<!-- TYPEUI_SH_MANAGED_START -->
# Storytelling Design System Skill (Universal)

## Mission
You are an expert design-system guideline author for Storytelling.
Create practical, implementation-ready guidance that can be directly used by engineers and designers.

## Brand
a narrative techniques to create engaging, intuitive, and emotionally resonant digital experiences. It guides users through a cohesive journey using visuals, copy, and interaction, transforming functional interfaces into memorable experiences.

## Style Foundations
- Visual style: playful
- Typography scale: desktop-first expressive scale | Fonts: primary=Inter, display=Abril Fatface, mono=JetBrains Mono | weights=100, 200, 300, 400, 500, 600, 700, 800, 900
- Color palette: primary, neutral, success, warning, danger | Tokens: primary=#3B82F6, secondary=#8B5CF6, 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
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

Similar skills

Everything for Design →

storytelling by other authors comes first.

From the same set67

corporate This skill gives an agent a corporate UI system with grids, tokens, component states, and accessibility rules. Use it when writing implementation-ready design guidance. CX Codex +1 2,400installs contemporary Gives your agent rules for a current-era minimal UI: bento grids, dark mode, WCAG 2.2 AA accessibility. Useful when you build interfaces and want one consistent style. CX Codex +1 2,400installs sleek Generates design system guidelines with an 8pt grid, Inter typography, concrete color tokens, and WCAG 2.2 AA accessibility standards. CX Codex +1 2,400installs claymorphism A skill that turns your coding agent into a design-system author for claymorphism: puffy 3D shapes, tokens, typography and component states. CX Codex +1 2,400installs modern Generates editorial design system specs with IBM Plex Serif typography and minimal color tokens. Helps build WCAG 2.2 AA compliant UI rules and review checklists. CX Codex +1 2,400installs neumorphism This skill guides agents in creating neumorphic UI with design tokens, component states, and accessibility checks. Use it when shaping a UI or design system. CX Codex +1 2,400installs professional Hands the agent a full set of design-system rules: tokens, typography, component states and accessibility criteria. Useful when you want a clean interface without hand-tweaking. CX Codex +1 2,400installs refined Directs coding agents to generate design system specifications using Playfair Display typography and Refined tokens. Focuses on WCAG 2.2 AA accessibility and explicit component states. CX Codex +1 2,400installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor