/cc-polymath:elegant-designfrom cc-polymath
Designs accessible, responsive interfaces with chat, terminals, code display, and streaming content. Guides use of shadcn/ui, daisyUI, HeroUI.
Ships in cc-polymath. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
World-class design is intentional, accessible, and delightful. Every element serves a purpose, every interaction feels natural, and the experience adapts gracefully across contexts.
Core Principles:
Use this skill when:
Follow this workflow for optimal results:
Map User Experience:
# Create flow diagrams with Graphviz
cat > user-flow.dot << 'EOF'
digraph UserFlow {
Start -> "Observe State"
"Observe State" -> "Orient Understanding"
"Orient Understanding" -> "Decide Action"
"Decide Action" -> "Act Execute"
"Act Execute" -> "Observe State" [label="OODA loop"]
}
EOF
dot -Tpng user-flow.dot -o user-flow.png
OODA Loop Mapping: For each major user goal, optimize the cycle:
Document States:
List Affordances: Identify every UI element needed:
Before Building Custom Components:
Establish Visual System:
Read the detailed foundation guides:
foundation/typography.md - Font selection (Geist, JetBrains Mono), scales, loadingfoundation/colors-and-spacing.md - Color palettes, spacing systems, dark modefoundation/layout-patterns.md - Grids, containers, white space, responsive breakpointsQuick Reference:
For sophisticated interactive features, reference the specialized guides:
Chat & Messaging:
interactive/chat-and-messaging.md when building conversational interfacesTerminals & Code Display:
interactive/terminals-and-code.md for terminal emulators, syntax highlighting, semantic highlightingStreaming & Loading:
interactive/streaming-and-loading.md for progressive loading, streaming text, optimistic updatesDiffs & Logs:
interactive/diffs-and-logs.md for version control UIs, log viewersBuild Components:
implementation/components-and-accessibility.md for component architecture and WCAG complianceOptimize Performance:
implementation/performance.md for Core Web Vitals optimizationTest & Refine:
implementation/testing-and-qa.md for comprehensive testing approachPre-Launch Checklist:
Need to understand the basics?
→ Read foundation/ files first
Building chat or messaging?
→ Read interactive/chat-and-messaging.md
Building terminal or code editor?
→ Read interactive/terminals-and-code.md
Need streaming or loading states?
→ Read interactive/streaming-and-loading.md
Building diffs or log viewers?
→ Read interactive/diffs-and-logs.md
Ready to implement?
→ Read implementation/ files
Need tools or want to avoid mistakes?
→ Read reference/ files
shadcn/ui (https://ui.shadcn.com) - PRIMARY CHOICE
daisyUI (https://daisyui.com)
HeroUI (https://heroui.com)
See reference/design-systems.md for detailed comparison and usage patterns.
Use these fonts exclusively:
Geist (https://vercel.com/font) - For ALL interface text
JetBrains Mono (https://jetbrains.com/mono) - For ALL code/technical content
Never mix multiple sans-serif or multiple monospace fonts.
See foundation/typography.md for complete guidance.
Study these for design patterns:
Avoid these mistakes:
<div> for everythingSee reference/anti-patterns.md for complete list with explanations.
For simple interfaces (single page, few components):
For complex interfaces (multiple features, interactive elements):
For developer tools or technical interfaces:
If unsure where to start:
If design feels off:
If implementation is slow:
elegant-design/
├── SKILL.md (you are here)
├── foundation/
│ ├── typography.md (fonts, scales, loading)
│ ├── colors-and-spacing.md (palettes, spacing system, dark mode)
│ └── layout-patterns.md (grids, containers, responsive)
├── interactive/
│ ├── chat-and-messaging.md (chat UIs, streaming messages)
│ ├── terminals-and-code.md (terminals, syntax highlighting)
│ ├── streaming-and-loading.md (progressive loading, skeletons)
│ └── diffs-and-logs.md (version control UI, log viewers)
├── implementation/
│ ├── components-and-accessibility.md (architecture, WCAG)
│ ├── performance.md (Core Web Vitals, optimization)
│ └── testing-and-qa.md (testing checklist, tools)
└── reference/
├── design-systems.md (shadcn, daisyUI, HeroUI details)
├── tools-and-libraries.md (complete tool list)
└── anti-patterns.md (what not to do, with explanations)
World-class design is invisible. Users shouldn't notice your clever solutions - they should simply accomplish their goals effortlessly and maybe smile along the way.
Start simple, iterate based on real use. Don't build everything at once. Build what's needed, test it, refine it, then move to the next feature.
Accessibility is not optional. Design for keyboard navigation, screen readers, and sufficient contrast from the start. Retrofitting is much harder.
Performance matters. A beautiful interface that's slow is a bad interface. Measure performance early and often.
README.md (opens in a new tab)SUMMARY.txt (opens in a new tab)foundation/colors-and-spacing.md (opens in a new tab)foundation/layout-patterns.md (opens in a new tab)foundation/typography.md (opens in a new tab)implementation/components-and-accessibility.md (opens in a new tab)implementation/performance.md (opens in a new tab)implementation/testing-and-qa.md (opens in a new tab)interactive/chat-and-messaging.md (opens in a new tab)interactive/diffs-and-logs.md (opens in a new tab)interactive/streaming-and-loading.md (opens in a new tab)interactive/terminals-and-code.md (opens in a new tab)reference/anti-patterns.md (opens in a new tab)reference/design-systems.md (opens in a new tab)reference/tools-and-libraries.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
26 skills in this plugin
/anti-slopComprehensive toolkit for detecting and eliminating "AI slop" - generic, low-quality AI-generated patterns in natural language, code, and design. Use when reviewing or improving content quality, preventing generic AI patterns, cleaning up existing content, or enforcing quality standards in writing, code, or design work./discover-agenticAutomatically discover agentic workflow skills when building AI agents, implementing tool use patterns, managing context windows, decomposing complex tasks, or designing multi-step autonomous workflows. Activates for agentic AI development./discover-apiAutomatically discover API design skills when working with REST APIs, GraphQL schemas, API authentication, OAuth, JWT, rate limiting, API versioning, error handling, or endpoint design. Activates for backend API development tasks.npx claudepluginhub rand/cc-polymath --plugin cc-polymathOther plugins' skills for the same job