scaffold-ui

Scaffold a Next.js App Router frontend with shadcn/ui and Tailwind.

2|Updated Apr 15, 2026
One-click install
npx skills add https://github.com/mdnaimul22/human-skills --skill scaffold-ui
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scaffold-ui
Source: https://github.com/mdnaimul22/human-skills/tree/main/skills/scaffold-ui
Command: npx skills add https://github.com/mdnaimul22/human-skills --skill scaffold-ui

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires create-next-app, shadcn-cli, openapi-typescript, next-themes, zustand, and includes scripts (resource) and assets (resource) components.

What problem does it solve?

Building a polished frontend scaffold from scratch takes time and causes inconsistency, especially when you need both a UI framework setup and a design system that can be themed quickly.

Core Features & Use Cases

  • Instant Next.js + shadcn/ui frontend scaffolding: Creates a ready-to-run web/ app using Next.js (App Router), TypeScript, Tailwind, and a curated set of shadcn/ui components (layout + UI building blocks).
  • Prebuilt app shell with real navigation patterns: Includes dashboard layout structure with sidebar + navbar wrappers, plus auth page layouts (centered card style with no sidebar/navbar).
  • Theme system with 9 built-in themes and optional AI custom theme: Supports multiple dark/light themes out of the box, and can inject an AI-generated custom theme into globals.css with font pairing and Google Fonts wiring.
  • Secure FastAPI API client + OpenAPI-to-TypeScript workflow: Adds a typed API fetch helper for cookie-based auth and a script to generate TypeScript types from FastAPI OpenAPI.

Quick Start

Tell the AI: scaffold-ui a Next.js + shadcn/ui frontend into the project directory at /path/to/project with the default theme.

Frequently Asked Questions about scaffold-ui

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a Next.js and shadcn/ui frontend with a pre-built dashboard and auth layout?

To scaffold a Next.js and shadcn/ui frontend, you can generate a complete App Router project with TypeScript and Tailwind that includes pre-built dashboard sidebar layouts and centered auth card pages. This eliminates manual UI bootstrapping by creating a ready-to-run web/ directory with curated components.

Can I use a custom theme with my Next.js shadcn/ui scaffold instead of the default styling?

Yes, you can apply a custom theme to your Next.js shadcn/ui scaffold by injecting an AI-generated design system via DESIGN_SYSTEM_JSON. The scaffolding process wires this custom data-theme directly into globals.css alongside Google Fonts pairing, while also offering 9 built-in dark and light themes.

How do I generate TypeScript types from a FastAPI OpenAPI schema for my Next.js frontend?

You can generate TypeScript types from a FastAPI OpenAPI schema using an integrated openapi-typescript workflow. This scaffolding process adds a typed API fetch helper configured for cookie-based authentication, allowing your Next.js frontend to securely interact with your FastAPI backend.

Does this Next.js UI scaffold include state management and theme toggling capabilities?

Yes, the Next.js UI scaffold includes state management and theme toggling by installing and configuring zustand for state and next-themes for styling. These dependencies are automatically installed during the scaffolding process to support the themed design system and application state out of the box.

What is the best way to eliminate manual UI bootstrapping inconsistency across multiple Next.js projects?

The best way to eliminate manual UI bootstrapping inconsistency is to use a scaffolding tool that standardizes your Next.js project setup. By generating a uniform App Router structure with shadcn/ui components and consistent theme tokens, you ensure rapid UI styling matches across all projects.

Are there limitations when using create-next-app and shadcn-cli to scaffold a themed design system?

A limitation when using create-next-app and shadcn-cli for a themed design system is that the scaffold targets a specific App Router structure with predefined layout wrappers. If your project requires a radically different routing paradigm or non-Tailwind styling, the generated web/ directory structure and injected globals.css tokens may not apply.