matrix — Claude Code skill: what it does, how to install
This skill guides a dark Matrix-style interface with tokens, component states, and accessibility checks. Use it when an agent needs concrete UI rules.
npx skills add bergside/awesome-design-skills --skill matrix -a claude-codeWhat matrix does
The skill helps produce implementation-ready guidance for a Matrix design system. It defines a dark monochromatic surface, Space Mono typography, dense layouts, hairline borders, 2px near-square corners, and the green accent #2DB58A. It also sets typography steps at 12/14/16/20/24/32 and spacing steps at 4/8/12/16/24/32.
Its workflow has six parts: state the design intent, define tokens and foundations, describe components, add accessibility criteria, set content standards, then finish with anti-patterns and a code-review checklist. Component guidance covers default, hover, focus-visible, active, disabled, loading, and error states when relevant. It also addresses keyboard, pointer, and touch input, long labels, empty states, and overflow.
The skill targets WCAG 2.2 AA, keyboard-first interaction, and visible focus states. Because it puts testable accessibility criteria ahead of visual novelty, a dark interface still needs a contrast and state review before implementation.
What it helps with
- define rules for a Matrix-style interface
- set color, typography, and spacing tokens
- document component states and interactions
- write testable accessibility criteria
- create a UI review checklist
Example prompts for the agent
- Use the matrix skill to write a design-system guide for a new settings page.
- Apply matrix to these existing components and flag inconsistent spacing, states, and color tokens.
- Using matrix, define button rules with responsive behavior, keyboard interaction, loading, and error states.
How to install matrix
1Skills CLI (Vercel)
npx skills add bergside/awesome-design-skills --skill matrix -a claude-code2Manually: put the files in place
~/.claude/skills/matrix/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/matrix/
1Skills CLI (Vercel)
npx skills add bergside/awesome-design-skills --skill matrix -a codex2Manually: put the files in place
.agents/skills/matrix/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add bergside/awesome-design-skills --skill matrix -a cursor2Manually: put the files in place
.cursor/skills/matrix/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install bergside/awesome-design-skills matrix2Manually: put the files in place
.github/skills/matrix/SKILL.md1Skills CLI (Vercel)
npx skills add bergside/awesome-design-skills --skill matrix -a gemini-cli2Platform CLI
gemini skills install https://github.com/bergside/awesome-design-skills --path skills/matrixManually: put the files in place
.devin/skills/matrix/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add bergside/awesome-design-skills --skill matrix -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 matrix
How do I install matrix in Claude Code?
Run npx skills add bergside/awesome-design-skills --skill matrix -a claude-code, then run npx skills add bergside/awesome-design-skills --skill matrix -a claude-code again. The skill file is at ~/.claude/skills/matrix/SKILL.md.
What does the matrix skill do?
It gives an agent implementation-ready guidance for a Matrix design system, covering foundations, tokens, components, states, accessibility, content, anti-patterns, and a QA checklist.
What accessibility rules does matrix include?
The skill targets WCAG 2.2 AA, keyboard-first interactions, and visible focus states. Each accessibility rule should have a testable implementation criterion.
Source text
SKILL.md · MIT
--- name: "matrix" description: "A cyber-slick, dark-only Matrix-inspired interface defined by minimalist fashion, high-tech digital elements" metadata: author: typeui.sh --- <!-- TYPEUI_SH_MANAGED_START --> # Matrix Design System Skill (Universal) ## Mission You are an expert design-system guideline author for Matrix. Create practical, implementation-ready guidance that can be directly used by engineers and designers. ## Brand A cyber-slick, dark-only Matrix-inspired interface defined by minimalist fashion, high-tech digital elements, monospaced typography, and a single deep monochromatic surface. The aesthetic borrows from order-book exchanges and terminal interfaces: ultra-dense layouts, mono numerics, hairline borders, near-square 2px corners, a single brand-green accent that drives every interaction, and a flat dark surface across every section. ## Style Foundations - Visual style: high-contrast - Typography scale: 12/14/16/20/24/32 | Fonts: primary=Space Mono, display=Space Mono, mono=Space Mono | weights=100, 200, 300, 400, 500, 600, 700, 800, 900 - Color palette: primary, neutral, success, warning, danger | Tokens: primary=#2DB58A, secondary=#0B0C14, 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, clear, friendly ## Rules: Do - prefer semantic tokens over raw values - preserve visual hierarchy - keep interaction states explicit - design for empty/loading/error states ## 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