UI
UI Engineer
Specialized skill for building modern, high-performance web UIs using Next.js, Tailwind, and Shadcn/UI.
Install
mkdir -p .claude/skills/ui-engineer && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/13373" && unzip -o skill.zip -d .claude/skills/ui-engineer && rm skill.zipInstalls to .claude/skills/ui-engineer
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Specialized skill for building modern, high-performance web UIs using Next.js, Tailwind, and Shadcn/UI.103 charsno explicit “when” trigger
About this skill
UI Engineer
Purpose
This skill embodies the role of a Frontend Specialist. Use it when implementing new features or refactoring the web interface (tvDownloadOHLC/web/).
Tech Stack
- Framework: Next.js 16 (App Router)
- Styling: Tailwind CSS v4
- Components: Shadcn/UI (Radix Primitives)
- Icons: Lucide React
- Charts: Lightweight Charts v5
- State: React Context + SWR
Best Practices
1. Component Design
- Atomicity: Break down complex views into small, reusable components.
- Props: Use TypeScript interfaces for all props.
- Composition: Prefer composition over large prop-drilling configurations.
2. Styling (Tailwind)
- Utility-First: Use utility classes directly.
- Theme Tokens: Use
bg-background,text-foreground,border-border(shadcn-defined variables) instead of hardcoded hex values to support Dark Mode. - Layout: Use Flexbox and Grid. Avoid floats.
3. State Management
- Server State: Use
useSWRor Server Components where possible. - Local State: Use
useState/useReducerfor UI toggles. - Global State: Use Context specific to the domain (e.g.,
TradingContext).
4. Code Quality
- Linting: Ensure no
eslintwarnings introduced. - Types: No
any. Explicitly type event handlers.
Workflow
- Analyze: Understand the UI requirement.
- Scaffold: Create file structure in
app/orcomponents/. - Implement: Write code using the stack above.
- Verify: Run
npm run lintand verify build.