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.
npx skills add bergside/awesome-design-skills --skill editorial -a claude-codeWhat 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-code2Manually: put the files in place
~/.claude/skills/editorial/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/editorial/
1Skills CLI (Vercel)
npx skills add bergside/awesome-design-skills --skill editorial -a codex2Manually: put the files in place
.agents/skills/editorial/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add bergside/awesome-design-skills --skill editorial -a cursor2Manually: put the files in place
.cursor/skills/editorial/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install bergside/awesome-design-skills editorial2Manually: put the files in place
.github/skills/editorial/SKILL.md1Skills CLI (Vercel)
npx skills add bergside/awesome-design-skills --skill editorial -a gemini-cli2Platform CLI
gemini skills install https://github.com/bergside/awesome-design-skills --path skills/editorialManually: put the files in place
.devin/skills/editorial/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add bergside/awesome-design-skills --skill editorial -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 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