ai-design-skills

35 structured design languages. One command. Consistent UIs.

Stars
6
Language
HTML
Updated

AI Design Skills

Give AI a Sense of Design

npm version npm downloads npm license GitHub stars GitHub issues GitHub last commit


35 structured design languages. One command. Consistent UIs.

AI generates messy layouts, inconsistent spacing, and random colors. AI Design Skills fixes that by giving AI a complete design specification to follow.


Quick Start

npm install ai-design-skills

CLI Commands

npx ai-design-skills --help           # Show help
npx ai-design-skills                  # Show interactive menu
npx ai-design-skills list             # List all 35 design languages
npx ai-design-skills minimalism       # Get load command for a skill
npx ai-design-skills glassmorphism    # Get load command for glassmorphism
npx ai-design-skills brutalism        # Get load command for brutalism
npx ai-design-skills material-design  # Get load command for material

Claude / skills.sh

/load ai-design-skills/core/minimalism
/load ai-design-skills/depth-texture/glassmorphism
/load ai-design-skills/bold/brutalism

JavaScript / Node.js

import { getDesignLanguage } from 'ai-design-skills';

const design = await getDesignLanguage('minimalism');
console.log(design);
// { name: 'minimalism', principles: [...], colors: {...}, ... }

The Problem

AI-generated UIs look like AI generated them:

  • Inconsistent spacing (random 16px, 24px, 8px values)
  • Messy colors (arbitrary hex codes, clashing palettes)
  • No design system (each component looks different)

The Solution

Structured design language specifications that AI follows. Each skill includes:

  • Layout rules (grid, spacing, responsive)
  • Typography (fonts, sizes, hierarchy)
  • Color system (palettes, contrast, usage)
  • Components (buttons, forms, cards)
  • Do's and Don'ts
  • Machine-readable JSON

CLI Output

When you run npx ai-design-skills:

==========================================================
   AI DESIGN SKILLS
   Give AI a Sense of Design
==========================================================

  35 Design Languages available

  Available Categories:

  1. Core (8)
  2. Depth & Texture (6)
  3. Modes & Color (5)
  4. Experimental (5)
  5. Product Oriented (5)
  6. Futuristic (5)

  Usage:
    npx ai-design-skills                    Show this menu
    npx ai-design-skills list                List all skills
    npx ai-design-skills minimalism          Show load command
    npx ai-design-skills --help              Show help

35 Design Languages

CategorySkills
Core (8)minimalism, flat-design, material-design, swiss-international, enterprise-ui, data-first-dashboard, card-based-ui, bento-grid-layout
Depth (6)glassmorphism, neumorphism, claymorphism, soft-ui, gradient-mesh-design, aurora-ui
Color (5)dark-mode-minimal, monochrome-aesthetic, duotone-design, high-contrast-accessibility, pastel-ui
Bold (5)brutalism, anti-design, retro-web, cyberpunk-ui, vaporwave-aesthetic
Product (5)saas-modern, fintech-ui, ecommerce-conversion, mobile-first-ui, super-app-ui
Futuristic (5)tech-futurism, ai-native-ui, spatial-ui, voice-first-ui, gesture-based-ui

Each Skill Includes

  • Principles - Core design philosophy
  • Layout Rules - Grid system, spacing, breakpoints
  • Typography - Font family, sizes, weights, line heights
  • Colors - Complete palette with hex codes
  • Components - Button styles, form specs, card layouts
  • Do's / Don'ts - Quick design guidance
  • Agent Instructions - Prompts for AI transformation
  • Output Constraints - Technical specs for code output
  • JSON Schema - Machine-readable for programmatic access

Use Cases

NeedSkills
Clean landing pageminimalism, glassmorphism
Mobile appmaterial-design, soft-ui
Dashboarddata-first-dashboard, bento-grid-layout
E-commerceecommerce-conversion, saas-modern
Dark themedark-mode-minimal, cyberpunk-ui
Accessiblehigh-contrast-accessibility, voice-first-ui

API

import { getDesignLanguage, getAllDesignLanguages, transformUI } from 'ai-design-skills';

// Get a single design language
const design = await getDesignLanguage('glassmorphism');

// List all available languages
const all = await getAllDesignLanguages();

// Transform UI following rules
const result = await transformUI({
  design: 'minimalism',
  input: '<div>Your UI</div>'
});

Compatible Platforms

Claude OpenAI Cursor VS Code npm


GitHub npm Landing Page


License

npm license

MIT