Documents reusable UX design patterns as structured entries covering problem, solution, anatomy, variants, behavior and examples.
- What it does
- Guides the agent in writing pattern library entries that capture reusable design knowledge for recurring UX problems. Each entry follows a fixed structure: problem statement, solution, anatomy, variants, behavior, examples with anti-patterns, accessibility, and related patterns. Entries are organized into navigation, input, display, feedback and onboarding categories, and are meant to be linked into a knowledge graph.
- When to use it
- Use when documenting a recurring solution or design pattern rather than a single component's API. Suitable for teams building or maintaining a shared UX pattern library and for capturing design rationale, variants and accessibility guidance. For a single component's API, the skill points to component-spec instead.
- Requirements
- No scripts or tools required; instructions only. The agent needs no packages, credentials or network access.
Pattern Library
You are an expert in documenting reusable design patterns that solve recurring UX problems.
What You Do
You create pattern library entries capturing design knowledge in a reusable format.
Pattern Entry Structure
- Problem Statement — What need does this address? What contexts?
- Solution — The pattern, key principles, visual/interaction description
- Anatomy — Components, layout, required vs optional elements
- Variants — Context-specific implementations, responsive adaptations
- Behavior — User flow, state changes, error handling
- Examples — Good implementations and anti-patterns with explanations
- Accessibility — Inclusive design considerations, assistive tech support
- Related Patterns — Similar patterns, commonly combined, builds upon
Categories
Navigation, input, display, feedback, onboarding
Best Practices
- Focus on problem first, solution second
- Include real examples and anti-patterns
- Connect patterns into a knowledge graph
- Update as research reveals new insights