Skip to content

aiskillstore/marketplace / skills/aayushbaniya2006/ui-handler

ui-handler

Verified

Implement UI using Shadcn MCP (atoms/theme) and 21st.dev MCP (complex sections). Use when adding buttons, layouts, or generating landing pages.

FileKindSize
SKILL.mdskill md1.8 KB
reference.mdmarkdown1.2 KB
skill-report.jsonconfig16.4 KB

reference.md

View on GitHub
# UI Architecture Reference

## 1. Component Strategy

| Component Type | Source | MCP Tool | Path |
| :--- | :--- | :--- | :--- |
| **Atoms** (Button, Input) | Shadcn UI | `shadcn` | `src/components/ui/` |
| **Blocks** (Hero, Footer) | 21st.dev | `21st-dev` | `src/components/sections/` |
| **Page Specific** | Custom | - | `src/app/.../_components/` |

## 2. Theming (`src/app/globals.css`)
-   **Format**: CSS Variables with Tailwind v4 `@theme`.
-   **Colors**: OKLCH color space is preferred for dynamic range.
-   **Updates**: Use the Shadcn MCP to update the base color palette or typography variables safely.

## 3. Best Practices
1.  **Don't Reinvent**: Always check Shadcn or 21st.dev before coding from scratch.
2.  **Tailwind Native**: Use utility classes (`flex gap-4`) over custom CSS.
3.  **Responsiveness**: Design Mobile-First (`w-full md:w-1/2`).
4.  **Dark Mode**: Ensure all colors use semantic variables (`bg-background` not `bg-white`) to support dark mode automatically.

## 4. 21st.dev Usage
When generating components with 21st.dev:
-   Be specific about the **vibe** (e.g., "minimalist", "brutalist", "corporate").
-   Mention required **interactivity** (e.g., "with a framer motion reveal").
-   Ask for **responsive** designs.
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: 322kUpdated Claude CodeCodexVerifiedInstall
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: 198kUpdated Claude CodeCodexVerifiedInstall
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: 198kUpdated Claude CodeCodexVerifiedInstall
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: 198kUpdated Claude CodeCodexVerifiedInstall