Skip to main content
skill CX Codex

generic-fullstack-design-system — Claude Code skill

generic-fullstack-design-system is a Claude Code skill that helps configure design systems for Next.js and NestJS full-stack projects, including Tailwind tokens, shadcn/ui components, and dark mode.

MIT 142 installs ★ 114 updated 2026-10-25

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add travisjneuman/.claude --skill generic-fullstack-design-system -a claude-code
Open on GitHub

What generic-fullstack-design-system does

This skill supplies your coding assistant with concrete design patterns for full-stack frontend code. It defines a central theme structure in lib/theme.ts, matches CSS variables in globals.css with tailwind.config.js, and outlines an asset layout inside public/.

The guide includes implementations for shadcn/ui components such as Button variants, form controls with Input and Label, and Dialog modals. Dark mode setup relies on next-themes around the root layout.

Code snippets target Tailwind and Next.js, so using a different frontend framework requires manual adaptation.

What it helps with

  • connect theme CSS variables with Tailwind CSS config
  • scaffold shadcn/ui button variants, inputs, and dialog modals
  • implement dark theme switching with next-themes
  • apply glassmorphism and gradient background styles

Example prompts for the agent

  • Configure design tokens in lib/theme.ts and sync them with tailwind.config.js.
  • Create a modal dialog with a form using shadcn/ui components.
  • Set up a dark mode toggle button using next-themes.

How to install generic-fullstack-design-system

1Skills CLI (Vercel)

npx skills add travisjneuman/.claude --skill generic-fullstack-design-system -a claude-code

2Manually: put the files in place

~/.claude/skills/generic-fullstack-design-system/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/generic-fullstack-design-system/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about generic-fullstack-design-system

How to install generic-fullstack-design-system in Claude Code?

Run npx skills add travisjneuman/.claude --skill generic-fullstack-design-system -a claude-code.

What does generic-fullstack-design-system do?

It instructs your AI tool on design tokens, Tailwind configuration, shadcn/ui patterns, and dark mode setup.

Which packages are required for the included code snippets?

The snippets require Tailwind CSS, shadcn/ui primitives, and next-themes for theme toggling.

Source text

SKILL.md · MIT
---
name: generic-fullstack-design-system
description: Complete design system reference for full-stack applications. Covers colors, typography, spacing, component patterns (shadcn/ui), effects, GPU-accelerated animations, and WCAG AA accessibility. Use when implementing UI, choosing colors, applying spacing, creating components, or ensuring brand consistency.
---

# Fullstack Design System

Design system patterns for Next.js/NestJS full-stack applications.

**Extends:** [Generic Design System](../generic-design-system/SKILL.md) - Read base skill for color theory, typography scale, spacing system, and component states.

## Theme Configuration

### lib/theme.ts Structure

```typescript
// lib/theme.ts - Single source of truth
export const theme = {
  colors: {
    primary: "hsl(220, 100%, 55%)",
    secondary: "hsl(180, 100%, 50%)",
    accent: "hsl(270, 70%, 60%)",
  },
  spacing: {
    xs: "4px",
    sm: "8px",
    md: "16px",
    lg: "24px",
  },
};
```

### CSS Variables (globals.css)

```css
:root {
  --background: #ffffff;
  --foreground: #0a0a0f;
  --primary: hsl(220, 100%, 55%);
  --primary-foreground: #ffffff;
}

.dark {
  --background: #0a0a0f;
  --foreground: #fafafa;
}
```

### Tailwind Integration

```javascript
// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        background: "var(--background)",
        foreground: "var(--foreground)",
        primary: "var(--primary)",
      },
    },
  },
};
```

## shadcn/ui Patterns

### Button Variants

```tsx
import { Button } from '@/components/ui/button';

<Button>Primary</Button>
<Button variant="outline">Secondary</Button>
<Button variant="destructive">Delete</Button>
<Button variant="ghost">Cancel</Button>
<Button size="sm">Small</Button>
<Button size="lg">Large</Button>
```

### Form Components

```tsx
import { Input } from "@/components/ui/input";
import { Label } from "@/components/ui/label";

<div className="space-y-2">
  <Label htmlFor="email">Email</Label>
  <Input id="email" type="email" placeholder="[email protected]" />
</div>;
```

### Dialog/Modal

```tsx
import {
  Dialog,
  DialogContent,
  DialogHeader,
  DialogTitle,
} from "@/components/ui/dialog";

<Dialog open={open} onOpenChange={setOpen}>
  <DialogContent>
    <DialogHeader>
      <DialogTitle>Confirm Action</DialogTitle>
    </DialogHeader>
    {/* Content */}
  </DialogContent>
</Dialog>;
```

## Visual Effects

### Glassmorphism

```css
.glass {
  background: hsl(var(--card) / 0.5);
  backdrop-filter: blur(12px);
  border: 1px solid hsl(var(--border) / 0.5);
}
```

### Gradient Backgrounds

```css
.bg-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
}
```

## Dark Mode Implementation

### Next.js + next-themes

```tsx
// app/layout.tsx
import { ThemeProvider } from "next-themes";

export default function RootLayout({ children }) {
  return (
    <html suppressHydrationWarning>
      <body>
        <ThemeProvider attribute="class" defaultTheme="system">
          {children}
        </ThemeProvider>
      </body>
    </html>
  );
}
```

### Theme Toggle

```tsx
import { useTheme } from "next-themes";

function ThemeToggle() {
  const { theme, setTheme } = useTheme();
  return (
    <button onClick={() => setTheme(theme === "dark" ? "light" : "dark")}>
      Toggle theme
    </button>
  );
}
```

## Asset Organization

```
public/
├── images/
│   ├── logo.svg
│   └── og-image.png    # 1200x630, < 1MB
├── favicons/
│   ├── favicon.ico
│   ├── apple-touch-icon.png
│   └── favicon-32x32.png
└── site.webmanifest
```

## See Also

- [Generic Design System](../generic-design-system/SKILL.md) - Token organization, spacing
- [Design Patterns](../_shared/DESIGN_PATTERNS.md) - Atomic Design, component docs
- [UX Principles](../_shared/UX_PRINCIPLES.md) - Visual hierarchy

© travisjneuman · MIT · travisjneuman/.claude

Similar skills

All skills for Frontend and UI →

From the same set117

The whole set →
generic-design-system generic-design-system provides standard design system guidelines for AI coding agents, covering color tokens, typography, spacing scales, and component states. CX Codex +1 143installs event-driven-architecture The event-driven-architecture skill guides asynchronous system design around brokers, event flows, and distributed work. Use it when services must communicate through messages. CX Codex +1 143installs content-repurposer content-repurposer turns one piece of writing into a thread, a LinkedIn post, a carousel or a newsletter, and shifts the tone to match the channel. CX Codex +1 142installs generic-feature-developer generic-feature-developer walks a feature from reading the codebase to picking patterns, shipping small commits and checking edge cases before you close it. CX Codex +1 142installs tdd-workflow tdd-workflow — a skill for Claude Code, Codex, Cursor and other platforms that enforces test-driven development: first a failing test (RED), then minimal code to pass (GREEN), then refactoring. CX Codex +1 141installs core-workflow core-workflow is a skill with working protocols for agents: Git conventions, security and accessibility checklists, and task sizing. It loads for complex work or when a specific pattern is requested. CX Codex +1 141installs newsletter-creator newsletter-creator builds a company newsletter from a fixed outline: section order, a scoring pass over the links, and email layout rules to follow. CX Codex +1 140installs generic-react-feature-developer generic-react-feature-developer is a Claude Code skill that defines React feature architecture, including directory layout, Zustand, React Query, IndexedDB, and lazy loading. CX Codex +1 139installs

Project sponsors

Companies that keep this analytics open