Files
daffy0208 e5da92f751 feat: Add Phase 3 design resources - complete aesthetic design system (75 resources)
Comprehensive design resources for building aesthetically pleasing, accessible websites.

## Phase 3 Overview: 75 New Resources
- 35 UI components (overlays, inputs, layouts, utilities)
- 12 integrations (media, icons, fonts, design tools)
- 11 tools (image optimization, color utilities, accessibility)
- 14 MCPs (AI design automation, Figma sync, documentation)
- 3 skills (figma-developer, asset-manager, prototype-designer)

## Phase 3.1: Image Management Suite
Integrations (3):
- Cloudinary: CDN with URL-based transformations, face detection
- Imgix: Real-time image processing via URL parameters
- Unsplash: Stock photo API with search and collections

Components (6):
- Image: Optimized lazy-loading with srcset/sizes, blur placeholder
- Gallery: Lightbox gallery with grid/masonry layout, keyboard navigation
- Carousel: Touch-enabled carousel with autoplay, indicators
- ImageUpload: Drag-and-drop uploader with preview and validation
- Avatar: User avatar with fallback initials and status indicator
- MediaViewer: Full-screen media viewer with zoom/pan

Tools (3):
- image-optimizer-tool: Sharp-based optimization (compression, resizing)
- responsive-image-generator-tool: Generate srcset and sizes attributes
- webp-converter-tool: Convert images to WebP format

## Phase 3.2: Icon & Font Systems
Integrations (5):
- Heroicons: 500+ icons by Tailwind team (outline/solid variants)
- Lucide: 1000+ beautiful open-source icons
- Font Awesome: Thousands of icons with multiple styles
- Google Fonts: 1400+ fonts with pairing suggestions
- Adobe Fonts: Premium web font service integration

Components (2):
- Icon: Universal icon component supporting all libraries
- IconPicker: Icon search and selection interface with previews

MCPs (2):
- icon-library-mcp: Icon search, management, and SVG generation
- font-optimizer-mcp: Font subsetting, optimization, and loading

Tools (2):
- font-pairing-tool: AI-powered font combination suggestions
- type-scale-generator-tool: Generate modular typography scales

## Phase 3.3-3.5: Advanced UI Components (35 components)
All with TypeScript, Tailwind CSS + CVA, WCAG 2.1 AA accessibility, full keyboard navigation.

Overlays & Dialogs (5):
- Tooltip: 4 placements, portal rendering, ARIA describedby
- Popover: Floating popover with click/hover triggers
- Accordion: Collapsible sections with single/multi-expand modes
- Drawer: Slide-out panel from 4 sides with focus trap
- Dialog: Accessible modal with backdrop and ESC handling

Advanced Inputs (5):
- Slider: Range slider with marks, tooltips, dual handles
- ColorPicker: HEX/RGB/HSL modes with presets and alpha
- DatePicker: Calendar picker with range selection, min/max
- TimePicker: 12/24hr formats with keyboard input
- FileUpload: Drag-and-drop with preview and validation

Feedback & Navigation (6):
- Progress: Linear/circular with determinate/indeterminate states
- Badge: Notification badge with dot/count variants
- Alert: Message alerts (info, success, warning, error)
- Breadcrumb: Breadcrumb navigation with custom separators
- Stepper: Step-by-step progress indicator
- Rating: Star rating with half-star support

Layout Components (10):
- Grid: CSS Grid wrapper with responsive columns
- Container: Max-width container with responsive padding
- Stack: Flexbox stack (vertical/horizontal) with spacing
- Spacer: Flexible spacing component
- Divider: Visual divider (horizontal/vertical)
- AspectRatio: Maintain aspect ratio wrapper
- Center: Center content horizontally and vertically
- Switch: Toggle switch with ARIA switch pattern
- Checkbox: Checkbox with indeterminate state
- Radio: Radio button with RadioGroup

Enhanced Existing (9):
- Pagination: Intelligent page number display with ellipsis
- Select: Enhanced with search and multi-select
- Tabs: Compound component with controlled/uncontrolled modes
- Table: Sortable with ARIA table semantics
- Skeleton: Loading placeholder (enhanced version)
- Button: Added loading states and variants
- Card: Enhanced with composable sections
- Input: Added password toggle and validation states
- Modal: Enhanced with focus trap and body scroll lock

## Phase 3.6: AI & Design Tool MCPs (7 MCPs)
- image-generator-mcp: DALL-E, Midjourney, Stable Diffusion integration
- svg-generator-mcp: Programmatic SVG generation with templates
- illustration-generator-mcp: AI-powered custom illustrations
- figma-sync-mcp: Figma-to-code with token extraction
- design-handoff-mcp: Automated design handoff workflows
- theme-builder-mcp: Generate complete themes from base colors
- dark-mode-converter-mcp: Light-to-dark palette transformation

## Phase 3.7: Design Tool Integrations (4 integrations + 3 skills)
Integrations:
- Figma: Complete REST API client with token extraction
- Sketch: Sketch API integration for design assets
- Adobe XD: Adobe XD API for prototypes and specs
- Canva: Canva API for template and asset management

Skills:
- figma-developer: Figma-to-code workflows and automation
- asset-manager: Asset organization, optimization, brand libraries
- prototype-designer: Interactive prototypes and user testing

## Phase 3.8: Design Tools & Utilities (6 tools + 5 MCPs)
Tools:
- color-palette-generator-tool: Generate harmonious palettes with WCAG
- contrast-checker-tool: WCAG 2.1 AA/AAA contrast validation
- color-scheme-tool: Complementary, analogous, triadic schemes
- breakpoint-analyzer-tool: Analyze responsive breakpoints
- color-blindness-simulator-tool: Simulate deuteranopia, protanopia, tritanopia
- touch-target-validator-tool: Validate 44px minimum touch targets

MCPs:
- storybook-generator-mcp: Auto-generate Storybook stories
- props-documenter-mcp: Component props documentation
- typography-analyzer-mcp: Typography analysis and optimization
- asset-library-mcp: Design asset library management
- responsive-preview-mcp: Multi-device preview generation

## Registry Updates (Phase 3.9)
Updated all META registries with Phase 3 resources:
- component-registry.json: 35 → 70 components (+35)
- integration-registry.json: 13 → 25 integrations (+12)
- tool-registry.json: 13 → 24 tools (+11)
- mcp-registry.json: 34 → 48 MCPs (+14)
- skill-registry.json: 42 → 45 skills (+3)
- .claude/CLAUDE.md: Updated resource counts (150 → 216)
- README.md: Updated resource counts

New Categories:
- Components: media (6)
- Integrations: media-services (3), icon-libraries (3), font-services (2), design-tools (4)
- Tools: media-tools (3), design-tools (8)
- MCPs: design category expanded (2 → 16)

## Also Included
- 7 comprehensive playbooks (RAG, multi-agent, MCP dev, component dev, monitoring, performance, security)
- 4 observability tools (logger, metrics, tracer, error-tracker)
- 4 workflow orchestration components (task-queue, workflow-orchestrator, state-manager, event-bus)
- 3 MCP server handler components (tool-handler, resource-handler, prompt-handler)
- Phase 2 CLI components and tools (auth, forms, errors, feedback)

Total Resources: 216 (was 150)
All resources discoverable via CLI and relationship mapping system.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-27 22:47:53 +00:00
..

AI Dev CLI

Automatically generate production-ready code with one command!

No more copy-pasting. No more manual setup. Just instant, working code.

🎯 What This Does

The ai-dev CLI automatically generates:

  • 🧩 React components with tests + Storybook
  • 🔧 MCP servers with full implementations
  • 🔌 API integrations with TypeScript types
  • 🛠️ Agent tools for LangChain/CrewAI
  • 🚀 Complete projects ready to deploy

ADHD-friendly: One command does everything. No configuration needed.

📦 Installation

npm install -g @ai-dev-standards/cli

Quick Start (NPX)

# Create complete projects instantly
npx @ai-dev-standards/create-saas my-app
npx @ai-dev-standards/create-rag-system docs-qa

# Or use the CLI directly
npx @ai-dev-standards/cli add component Button

🚀 Quick Start

Add a Component

ai-dev add component Button --with-tests --with-storybook --props "variant,size,onClick"

Creates:

components/Button/
├── Button.tsx          # Component with Zod validation
├── Button.test.tsx     # Jest + React Testing Library tests
├── Button.stories.tsx  # Storybook stories
└── index.ts            # Exports

Create a Complete SaaS App

ai-dev init saas-starter my-app \
  --auth supabase \
  --payments stripe \
  --email resend \
  --analytics posthog

Creates a complete, working SaaS with:

  • ✅ Authentication (Supabase)
  • ✅ Payments (Stripe)
  • ✅ Email (Resend)
  • ✅ Analytics (Posthog)
  • ✅ Landing page
  • ✅ Admin dashboard
  • ✅ User settings
  • ✅ API endpoints

Add an MCP Server

ai-dev add mcp-server accessibility-checker

Creates:

MCP-SERVERS/accessibility-checker-mcp/
├── index.js         # Full MCP server implementation
├── package.json     # Dependencies configured
├── README.md        # Setup instructions
└── .env.example     # Environment variables

Setup an Integration

ai-dev setup supabase --with-auth

Creates:

lib/
├── supabase.ts      # Supabase client
└── auth.ts          # Auth functions (signIn, signUp, signOut)

📚 Commands

ai-dev add

Add components, MCP servers, integrations, or tools.

# Add component
ai-dev add component Card --props "title,description,image"

# Add MCP server
ai-dev add mcp-server screenshot-testing

# Add integration
ai-dev add integration stripe --with-webhooks

# Add tool
ai-dev add tool web-search --framework langchain

ai-dev init

Initialize complete projects from scratch.

# SaaS starter
ai-dev init saas-starter my-app

# RAG system
ai-dev init rag-system docs-qa --vector-db pinecone

# API service
ai-dev init api-service my-api --database postgresql

# Dashboard
ai-dev init dashboard analytics-dashboard

# Mobile app
ai-dev init mobile-app my-mobile-app

ai-dev generate

Generate from YAML config file.

# ai-dev.config.yaml
components:
  - name: Button
    props:
      variant: [primary, secondary]
      size: [sm, md, lg]
    tests: true
    storybook: true

  - name: Card
    props:
      title: string
      description: string
    tests: true

integrations:
  - name: supabase
    provider: supabase
    withAuth: true
ai-dev generate --config ai-dev.config.yaml

ai-dev analyze

Analyze your project and get recommendations.

# Analyze project
ai-dev analyze

# Auto-fix issues
ai-dev analyze --fix

# Save report
ai-dev analyze --report analysis.json

Checks for:

  • ❌ Missing tests
  • ❌ Security vulnerabilities
  • ❌ Accessibility issues
  • ❌ Performance problems
  • ❌ Unused dependencies

ai-dev doctor

Check project health.

# Check health
ai-dev doctor

# Auto-fix all issues
ai-dev doctor --fix-all

# Verbose output
ai-dev doctor --verbose

Checks:

  • ✅ Node.js version
  • ✅ Dependencies installed
  • ✅ Git initialized
  • ✅ Environment variables
  • ✅ TypeScript configuration
  • ✅ Linting setup

ai-dev setup

Setup integrations with full configuration.

# Setup Supabase with auth
ai-dev setup supabase --with-auth

# Setup Pinecone with RAG
ai-dev setup pinecone --with-rag

# Setup Stripe
ai-dev setup stripe

# Setup Resend
ai-dev setup resend

🎨 Examples

Example 1: Build a SaaS in 2 Minutes

# 1. Create SaaS
npx @ai-dev-standards/create-saas my-startup

# 2. Add environment variables
cd my-startup
cp .env.example .env.local
# Fill in your API keys

# 3. Run
npm run dev

# ✅ Complete SaaS with auth, payments, email running!

Example 2: Generate Multiple Components

# components.yaml
components:
  - name: Button
    props:
      variant: [primary, secondary, outline]
      size: [sm, md, lg]
    tests: true
    storybook: true

  - name: Card
    props:
      title: string
      description: string
      image: string
    tests: true

  - name: Modal
    props:
      isOpen: boolean
      onClose: function
    tests: true
    storybook: true
ai-dev generate --config components.yaml
# ✅ Creates all 3 components with tests!

Example 3: Add RAG to Existing Project

# 1. Setup vector database
ai-dev setup pinecone --with-rag

# 2. Creates:
#    - lib/pinecone.ts (Pinecone client)
#    - lib/rag.ts (RAG functions)
#    - .env.local (with PINECONE_API_KEY)

# 3. Use it
import { queryDocuments } from './lib/rag'

const results = await queryDocuments('What is RAG?')

Example 4: Generate MCP Server

ai-dev add mcp-server custom-checker

# Creates working MCP server with:
# - Tools, Resources, Prompts
# - Full implementation
# - Ready to use with Claude Code

🎯 Use Cases

For SaaS Builders

# Complete SaaS stack
ai-dev init saas-starter my-saas \
  --auth supabase \
  --payments stripe \
  --email resend

For AI Developers

# RAG system
ai-dev init rag-system docs-qa --vector-db pinecone

# Add tools
ai-dev add tool document-search --framework langchain

For Frontend Developers

# Components
ai-dev add component Button --with-storybook
ai-dev add component Card
ai-dev add component Modal

# Generate from config
ai-dev generate --config components.yaml

For API Developers

# API service
ai-dev init api-service my-api \
  --type rest \
  --database postgresql \
  --orm prisma

🔧 Configuration

Config File: ai-dev.config.yaml

# Generate components
components:
  - name: Button
    props:
      variant: [primary, secondary]
    tests: true

# Generate MCPs
mcpServers:
  - name: accessibility-checker
    template: accessibility-checker
    features: [tools]

# Generate integrations
integrations:
  - name: supabase
    provider: supabase
    withAuth: true

# Generate tools
tools:
  - name: web-search
    framework: langchain
    category: data-retrieval

🧠 ADHD-Friendly Features

Why this CLI is perfect for ADHD developers:

✅ One command does everything - No multi-step processes ✅ Instant results - See working code immediately ✅ No configuration needed - Smart defaults ✅ Auto-detects what you need - ai-dev doctor finds missing pieces ✅ Auto-fixes issues - --fix-all repairs problems ✅ Clear next steps - Shows exactly what to do next

Example workflow:

# 1. Create project (1 command)
npx @ai-dev-standards/create-saas my-app

# 2. Run it (1 command)
cd my-app && npm run dev

# ✅ Working SaaS in 2 commands!

📖 Documentation

🤝 Contributing

# Clone repo
git clone https://github.com/ai-dev-standards/cli

# Install dependencies
npm install

# Run locally
npm link
ai-dev --help

📝 License

MIT

🎉 Summary

Before:

# Manual component creation
mkdir -p components/Button
touch components/Button/Button.tsx
touch components/Button/Button.test.tsx
touch components/Button/Button.stories.tsx
touch components/Button/index.ts
# ... spend 30 minutes writing code

After:

ai-dev add component Button --with-tests --with-storybook
# ✅ Done in 5 seconds!

Stop copying. Start generating! 🚀