draft-patterns
FreeNo executable scriptsNot checkedUse when asked about UX patterns, interaction best practices, form design, navigation patterns, or loading states. Examples: "best practice for form…
by jeremylongshore★ 2,961 GitHub starsAbout this skill
draft-patterns — UX Pattern Reference
Follow the output format defined in docs/output-kit.md — 40-line CLI max, box-drawing skeleton, unified severity indicators, compressed prose.
When to use
User asks about interaction patterns, best practices, form design, navigation, or loading/empty states.
Workflow
- Identify pattern category from user request (forms, navigation, loading, empty states, modals, etc.)
- Search UX knowledge base:
python3 -m draft_agent.uiux search --domain ux --query "{pattern_category}" --limit 5 - Cross-reference severity ratings from results — surface Critical and High first
- Output structured do/don't table with code examples and severity
Output format
┌─ UX Patterns — {pattern_category} ──────────────────────────────────────────┐
│ Category │ Issue │ Do │ Don't │ Severity │
├─────────────┼────────────────────┼─────────────────────┼──────────┼──────────┤
│ {category} │ {issue} │ {do} │ {dont} │ Critical │
│ {category} │ {issue} │ {do} │ {dont} │ High │
│ {category} │ {issue} │ {do} │ {dont} │ Medium │
└─────────────┴────────────────────┴─────────────────────┴──────────┴──────────┘
Code example ({do_example_label}):
{code_block}
Anti-patterns
- Never recommend patterns without checking platform context (web vs. mobile vs. desktop)
- Never ignore severity ratings — Critical issues must be called out explicitly
- Never present more than 7 patterns per category without grouping
- Never omit code examples for implementation-level questions
Delivery
If output exceeds the 40-line CLI budget, invoke /atlas-report with the full findings. The HTML report is the output. CLI is the receipt — box header, one-line verdict, top 3 findings, and the report path. Never dump analysis to CLI.
Install draft-patterns in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
ReadBashGlobGrepBundled files
FAQ
What does the draft-patterns skill do?
Use when asked about UX patterns, interaction best practices, form design, navigation patterns, or loading states. Examples: "best practice for form validation", "navigation pattern for dashboard", "loading state UX"
How do I install the draft-patterns skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the draft-patterns skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
by Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
by Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
by Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
by Anthropic