Skills

Shadcn Dashboard Guide

Builds pages, tables, forms and access rules in a Next.js shadcn dashboard.

Install

npx skills add Kiranism/next-shadcn-dashboard-starter --skill kiranism-shadcn-dashboard -g -a claude-code -y
Category
Engineering
Updated
3d ago
License
MIT
Context cost
Mediumabout 3,000 tokens
Runs scripts
No, instructions only

What it does

Guide for building features, pages, tables, forms, themes, and navigation in this Next.js 16 shadcn dashboard template. Use this skill whenever the user wants to add a new page, create a feature module, build a data table, add a form, configure navigation items, add a theme, set up RBAC access control, or work with the dashboard's patterns and conventions. Also triggers when adding routes under /dashboard, working with Clerk auth/orgs/billing, creating mock APIs, or modifying the sidebar. Even if the user doesn't mention "dashboard" explicitly, if they're adding UI, pages, or features to this project, use this skill.

Dashboard Development Guide

This skill encodes the exact patterns and conventions used in this Next.js 16 + shadcn/ui admin dashboard template.

Quick Reference: What Goes Where

TaskLocation
New pagesrc/app/dashboard/<name>/page.tsx
New feature modulesrc/features/<name>/
Feature componentssrc/features/<name>/components/
API typessrc/features/<name>/api/types.ts
Service layersrc/features/<name>/api/service.ts
Query + mutation optssrc/features/<name>/api/queries.ts
Zod schemassrc/features/<name>/schemas/<name>.ts
Filter/select optionssrc/features/<name>/constants/
Nav configsrc/config/nav-config.ts
Typessrc/types/index.ts
Mock datasrc/constants/mock-api-<name>.ts
Search paramssrc/lib/searchparams.ts
Query clientsrc/lib/query-client.ts
Theme CSSsrc/styles/themes/<name>.css
Theme registrysrc/components/themes/theme.config.ts
Custom hooksrc/hooks/
Icons registrysrc/components/icons.tsx

Adding a New Feature (End-to-End)

When a user asks to add a feature (e.g., "add an orders page"), follow these steps in order. Each step below shows the minimal pattern, see reference files for full templates.

Step 1: Mock API (src/constants/mock-api-<name>.ts)

See references/mock-api-guide.md for the complete template. Key structure:

import { faker } from '@faker-js/faker';
import { matchSorter } from 'match-sorter';
import { delay } from './mock-api';
Read the whole SKILL.md on GitHub

More in Engineering