Skip to main content
skill CX Codex

editorial — Claude Code skill: magazine layout and type rules

A skill that turns your agent into an editorial design-system author: serif type scale, 8pt grid, color tokens, component states and accessibility checks.

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

What editorial does

The skill gives the agent a role: write design-system guidance for Editorial that engineers can implement straight away. It starts from foundations — a type scale of 14/16/18/24/32/40, Gelasio for body and display, Ubuntu Mono for code, and a token set such as primary=#111111 and surface=#FFFFFF on an 8pt baseline grid.

From there it moves to components and process. The agent restates the design intent in one sentence, defines tokens before component rules, then covers anatomy, variants and states. Required states are named outright: default, hover, focus-visible, active, disabled, loading, error. Accessibility claims have to be testable in code rather than aspirational.

The accessibility bar is explicit: WCAG 2.2 AA, keyboard-first interaction, visible focus, semantic HTML before ARIA, 44px+ touch targets. That makes the skill a poor fit for a codebase where text contrast is already low and focus outlines are stripped in CSS — you would be fixing the base first. Install runs through npx skills add, and the skill file lands in your platform's skills directory.

What it helps with

  • write a design system engineers can code against without guessing
  • lock down a type scale and color tokens before building components
  • list every state for buttons, inputs and links
  • check contrast and focus against WCAG 2.2 AA
  • record anti-patterns and migration notes for screens already shipped

Example prompts for the agent

  • Write the Editorial design system for our long-form article: tokens, type, grid
  • Draft rules for an article card in the Editorial style, with all states
  • Audit our markup against the Editorial guidelines and give me the QA checklist

How to install editorial

1Skills CLI (Vercel)

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

2Manually: put the files in place

~/.claude/skills/editorial/SKILL.md

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

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

Questions about editorial

How do I install editorial in Claude?

Run npx skills add bergside/awesome-design-skills --skill editorial -a claude-code. The skill file is placed at ~/.claude/skills/editorial/SKILL.md.

What does the editorial skill do?

It has the agent author design-system guidance: tokens, typography, component anatomy and states, plus accessibility criteria, delivered in a fixed structure that ends with a QA checklist.

Which accessibility requirements does it set?

WCAG 2.2 AA, keyboard-first interaction, visible focus states, semantic HTML before ARIA, reduced-motion support, 44px+ touch targets and high-contrast support.

Source text

SKILL.md · MIT
---
name: editorial
description: Magazine-inspired editorial layout with refined serif typography, structured grids, and elegant reading experiences.
license: MIT
metadata:
  author: typeui.sh
---

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

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

## Brand


## Style Foundations
- Visual style: modern, editorial
- Typography scale: 14/16/18/24/32/40 | Fonts: primary=Gelasio, display=Gelasio, mono=Ubuntu Mono | weights=100, 200, 300, 400, 500, 600, 700, 800, 900
- Color palette: primary, secondary, neutral, success | Tokens: primary=#111111, secondary=#f1f1f1, 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, semantic HTML before ARIA, screen-reader tested labels, reduced-motion support, 44px+ touch targets, high-contrast support

## Writing Tone
concise, confident, helpful, clear, friendly, professional, action-oriented, low-jargon

## Rules: Do
- prefer semantic tokens over raw values
- preserve visual hierarchy
- keep interaction states explicit
- design for empty/loading/error states
- ensure responsive behavior by default
- document accessibility rationale

## 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 →

From the same set67

glassmorphism Guides the agent in creating glassmorphism design system rules with translucent layers, blur, and high contrast. Fits teams building bento cards compliant with WCAG 2.2 AA. CX Codex +1 2,900installs premium Sets Apple-inspired design-system guidance for tokens, spacing, typography and accessibility. Use it when building or aligning an interface. CX Codex +1 2,700installs minimal This skill defines a minimal UI system with typography, tokens, spacing, and accessibility rules. Use it when shaping interfaces or a shared design system. CX Codex +1 2,600installs bento A skill for bento-style interfaces with modular cards, clear hierarchy, and soft spacing. Use it when an AI agent needs concrete UI and design-system guidance. CX Codex +1 2,500installs enterprise This skill gives your agent a dark design system for data dashboards: modular grids, glass-like panels, tokens and accessibility rules. Useful when the agent builds UI for monitoring and analytics. CX Codex +1 2,500installs clean Generates minimal design system guidelines using an 8pt grid, strict color tokens, and WCAG 2.2 AA accessibility rules. CX Codex +1 2,500installs brutalism This skill hands your agent a set of brutalist design rules: concrete aesthetics, jarring layouts, functional minimalism. Useful when you want an interface with no polish. CX Codex +1 2,400installs material Enforces Material Design guidelines, typography scales, color tokens, and WCAG 2.2 AA rules when designing components with AI agents. 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