TheGoat395/Codex-Skills / skills/ui-primitives-shadcn-lucide
ui-primitives-shadcn-lucide
VerifiedCustomize installed shadcn and Lucide visuals.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 1.5 KB |
| agents/openai.yaml | config | 290 B |
| references/ui-primitives-shadcn-lucide-guide.md | markdown | 1.3 KB |
references/ui-primitives-shadcn-lucide-guide.md
View on GitHub# UI Primitives Shadcn Lucide Guide
## Lens
Accessible primitives save time, but default styling is not design direction.
## Rules
- Use shadcn/ui for behavior and accessibility when the project already uses it or the component complexity warrants it.
- Customize tokens, radii, borders, focus, hover, spacing, and icons to match the site.
- Use lucide icons for familiar tool or command buttons.
- Use labels/tooltips for unfamiliar icons.
## Useful Patterns
- Dialog: strong focus handling, restrained surface, clear action row.
- Tabs: visible active state and keyboard support.
- Forms: labels, helper text, errors, disabled/loading states.
- Icon buttons: stable square dimensions and tooltip.
## Avoid
- Dropping default shadcn components into a luxury/editorial page unchanged.
- Text buttons where a familiar icon control is clearer.
- Icon-only controls with no accessible label.
## Acceptance Criteria
- Primitives feel native to the site design.
- Accessibility basics remain intact.
## Shared scope
For applicable substantial web work, reuse the [shared scoped web contract](../../website-operating-rules/references/scoped-web-contract.md) when available. Preserve current authorization, stack and requested scope; this optional reference does not require another planning or approval cycle.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| brand-guidelinesanthropics/skillsApplies 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 colors or style guidelines, visual formatting, or company design standards apply. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |