Skip to main content
skill CX Codex

material — Claude Code skill: what it does, how to install

Enforces Material Design guidelines, typography scales, color tokens, and WCAG 2.2 AA rules when designing components with AI agents.

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

What material does

The skill directs your AI coding agent to generate implementation-ready design system documentation. It establishes foundational tokens: Inter for primary body copy, Roboto for display text, Fira Code for monospaced elements, and a fixed spacing scale of 4/8/12/16/24/32. Colors are anchored to specific hex values such as #6442D6 for primary and #111827 for text.

When documenting UI elements, the agent must define states like hover, focus-visible, active, disabled, loading, and error across keyboard and pointer inputs. It enforces WCAG 2.2 AA compliance directly into the output. If aesthetic choices clash with contrast or readability, the skill explicitly prioritizes accessibility.

What it helps with

  • generate structured component guidelines for Material Design
  • enforce design tokens for colors, typography scales, and spacing
  • define component states for keyboard focus, touch, and hover
  • create WCAG 2.2 AA acceptance criteria for UI code reviews

Example prompts for the agent

  • Create a component specification for a dialog using the material skill tokens
  • Generate states and accessibility criteria for an input field under WCAG 2.2 AA
  • Write a design system guideline and QA checklist for card components

How to install material

1Skills CLI (Vercel)

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

2Manually: put the files in place

~/.claude/skills/material/SKILL.md

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

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

Questions about material

How to install material in Claude Code?

Run npx skills add bergside/awesome-design-skills --skill material -a claude-code in your terminal. Alternatively, place the specification file at ~/.claude/skills/material/SKILL.md.

What does the material skill do?

It provides structured rules for generating design guidelines, defining tokens, component states, and accessibility criteria based on Google's Material Design.

What accessibility standards does this skill enforce?

It requires WCAG 2.2 AA compliance, keyboard-first interaction patterns, and visible focus indicators. The skill prioritizes accessibility over visual novelty whenever conflicts arise.

Source text

SKILL.md · MIT
---
name: material
description: Google's Material Design with layered surfaces, dynamic theming, built-in motion, and responsive cross-platform patterns.
license: MIT
metadata:
  author: typeui.sh
---

<!-- TYPEUI_SH_MANAGED_START -->
# Material Design System Skill (Antigravity)

## Mission

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

## Brand

UX (user experience) designers use it to create visually consistent, intuitive, and responsive digital experiences. With built-in motion, layering, and dynamic theming, Material Design helps teams deliver accessible, high-quality UIs (user interfaces) across devices and platforms.

## Style Foundations

- Visual style: modern, minimal, clean
- Typography scale: 12/14/16/20/24/32 | Fonts: primary=Inter, display=Roboto, mono=Fira Code | weights=100, 200, 300, 400, 500, 600, 700, 800, 900
- Color palette: primary, secondary, neutral, success, warning, danger | Tokens: primary=#6442D6, secondary=#C8B3FD, 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 →

From the same set67

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

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