Build production-grade Next.js applications or systematically migrate existing frontends to Next.js + shadcn/ui following strict design principles and best practices.
Works with
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versionnextjs-shadcn-builderExecute the skills CLI command in your project's root directory to begin installation:
Fetches nextjs-shadcn-builder from ovachiever/droid-tings and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate nextjs-shadcn-builder. Access via /nextjs-shadcn-builder in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
1
total installs
1
this week
31
GitHub stars
0
upvotes
Run in your terminal
1
installs
1
this week
31
stars
Build production-grade Next.js applications or systematically migrate existing frontends to Next.js + shadcn/ui following strict design principles and best practices.
This skill handles two primary workflows:
Core Philosophy: 100% adherence to shadcn/ui design principles:
User Request
├─ Creating New Next.js App
│ └─ Follow "Creating New Application" workflow (Phase 3 onwards)
│
└─ Migrating Existing Codebase
├─ Phase 1: Codebase Analysis
├─ Phase 2: Migration Planning
├─ Phase 3: Next.js + shadcn Setup
├─ Phase 4: Systematic Conversion
└─ Phase 5: Verification & Cleanup
Automated analysis of existing frontend to understand scope and complexity.
Steps:
Deliverables:
Create systematic conversion plan with prioritized batches.
Steps:
Deliverables:
Initialize Next.js infrastructure alongside or replacing existing codebase.
Steps:
Deliverables:
Convert components batch by batch with testing after each batch.
Steps:
Per Batch Workflow:
Deliverables:
Final testing, optimization, and old code removal.
Steps:
Deliverables:
Run the automated analysis script:
python ./scripts/analyze-codebase.py /path/to/existing/codebase
This script will:
Output: codebase-analysis.json with framework metadata
The analysis script automatically generates a component inventory including:
Output: component-inventory.json
Example structure:
{
"components": [
{
"name": "UserCard",
"path": "src/components/UserCard.tsx",
"type": "functional",
"complexity": "simple",
"shadcn_equivalent": "Card",
"hardcoded_values": ["#3b82f6", "16px padding"],
"dependencies": ["react", "styled-components"]
}
]
}
Run the detection script:
bash ./scripts/detect-hardcoded-values.sh /path/to/existing/codebase
This script detects:
#hex, rgb(), rgba(), hsl(), color namesmargin: 20px, padding: 1remstyle={{...}}Output: hardcoded-values-report.md with violations grouped by category
Run the report generator:
python ./scripts/generate-migration-report.py
This combines all analysis data into a comprehensive markdown report:
Output: migration-analysis-report.md
# Frontend Migration Analysis Report
## Executive Summary
[One-paragraph overview: framework, size, complexity]
## Current State Analysis
- **Framework**: React 18.2.0
- **Build Tool**: Vite 4.3.0
- **Component Count**: 47 components
- **Styling**: styled-components + custom CSS
- **State Management**: Redux Toolkit
- **Routing**: React Router v6
## Hardcoded Values Detected
- Colors: 142 instances across 34 files
- Spacing: 89 instances across 28 files
- Custom fonts: 3 non-standard fonts
- Inline styles: 67 instances
## Component Categorization
- **Simple (shadcn mapping exists)**: 28 components
- **Moderate (requires adaptation)**: 13 components
- **Complex (custom development needed)**: 6 components
## Recommended Migration Plan
1. Phase 3: Setup Next.js + shadcn infrastructure
2. Phase 4.1: Convert layout components (Header, Footer, Layout)
3. Phase 4.2: Convert simple UI (Button, Card, Badge → shadcn equivalents)
4. Phase 4.3: Convert forms (Input, Select → shadcn/ui Form components)
5. Phase 4.4: Convert complex components (DataTable, Charts)
6. Phase 4.5: Styling standardization (CSS variables)
7. Phase 4.6: Pages and routing
8. Phase 5: Verification and cleanup
## Estimated Effort
- **Total Components**: 47
- **Batches**: 9-10 batches
- **Complexity**: Moderate
Review the component-inventory.json and create a mapping table using the shadcn component reference.
VERY IMPORTANT: Use MCP to discover shadcn components
Before mapping, check if shadcn MCP server is available:
# Check if MCP server is available
# Try accessing https://ui.shadcn.com/docs/mcp
If MCP is not available, install it:
npx shadcn@latest mcp init --client claude
Use MCP to query available components:
Component Mapping Table Template:
| Existing Component | shadcn Equivalent | Complexity | Priority | Notes |
|---|---|---|---|---|
| CustomButton | Button | Low | 1 | Props mostly compatible |
| Modal | Dialog | Medium | 2 | Different API, uses Radix |
| DataTable | Table + DataTable | High | 3 | Requires custom hooks |
| Dropdown | DropdownMenu | Low | 1 | Direct mapping |
| DatePicker | Calendar + Popover | Medium | 2 | Composition pattern |
Load framework-specific migration guide:
./references/react-to-nextjs.md./references/vue-to-nextjs.md./references/angular-to-nextjs.md./references/styling-migration.mdOrganize components into batches following these principles:
Batching Strategy:
Example Batch Plan:
Batch 1: Layout & Structure (Priority: Critical)
Batch 2: Simple UI Components (Priority: High)
Batch 3: Form Components (Priority: High)
Batch 4: Navigation (Priority: Medium)
Batch 5: Data Display (Priority: Medium)
Batch 6: Overlays & Modals (Priority: Medium)
Batch 7: Complex Components (Priority: Low)
Batch 8: Styling Standardization (Priority: Critical)
Batch 9: Pages & Routing (Priority: Critical)
For each batch, identify risks:
Risk Mitigation:
Generate a detailed plan document: migration-plan.md
# Next.js + shadcn Migration Plan
## Project: [Project Name]
## Date: [Current Date]
## Estimated Timeline: [X batches]
## Migration Strategy
### Approach
- Incremental migration with parallel running old and new code
- Batch-bPrerequisites
Time Estimate
15-45 minutes depending on use case complexity
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid when
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
laguagu/claude-code-nextjs-skills
anthropics/claude-code
mblode/agent-skills
github/awesome-copilot
sickn33/antigravity-awesome-skills
leonxlnx/taste-skill
Useful defaults in nextjs-shadcn-builder — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
Solid pick for teams standardizing on skills: nextjs-shadcn-builder is focused, and the summary matches what you get after install.
nextjs-shadcn-builder fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
We added nextjs-shadcn-builder from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
nextjs-shadcn-builder is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
nextjs-shadcn-builder fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
Keeps context tight: nextjs-shadcn-builder is the kind of skill you can hand to a new teammate without a long onboarding doc.
Solid pick for teams standardizing on skills: nextjs-shadcn-builder is focused, and the summary matches what you get after install.
Registry listing for nextjs-shadcn-builder matched our evaluation — installs cleanly and behaves as described in the markdown.
I recommend nextjs-shadcn-builder for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
showing 1-10 of 62