Skip to content

imsaif/design-with-claude

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

22 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Design with Claude - AI-Powered Design Tools & Agents

A dual-purpose design toolkit that includes:

  1. Design Implementation Tool (CLI) - Generate actual code, components, and Figma files from design briefs
  2. Design Agents Collection - 28 specialized Claude agents for comprehensive design guidance

Transform design ideas into working implementations or get expert AI guidance for any design challenge.

๐Ÿง  How It Works: Intelligent Agent-Powered Generation

Our toolkit combines the expertise of 28 design agents with an intelligent CLI that generates actual code:

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                   DESIGN WITH CLAUDE                          โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚   GUIDANCE & ADVICE    โ”‚      ACTUAL GENERATION              โ”‚
โ”‚                        โ”‚                                      โ”‚
โ”‚   28 Design Agents     โ”‚    CLI Implementation Tool          โ”‚
โ”‚   โ”œโ”€โ”€ UI Designer      โ”‚    โ”œโ”€โ”€ design-create init          โ”‚
โ”‚   โ”œโ”€โ”€ UX Researcher    โ”‚    โ”œโ”€โ”€ design-create from-brief    โ”‚
โ”‚   โ”œโ”€โ”€ Brand Strategist โ”‚    โ”œโ”€โ”€ design-create component     โ”‚
โ”‚   โ””โ”€โ”€ 25 more agents   โ”‚    โ””โ”€โ”€ design-create export        โ”‚
โ”‚                        โ”‚                                      โ”‚
โ”‚   OUTPUT: Expertise    โ”‚    OUTPUT: Real Files & Code       โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

The Magic: Agent-Guided Generation

When you run a command, here's what happens behind the scenes:

USER: "design-create from-brief 'Modern SaaS landing page'"
                            โ”‚
                            โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                    BRIEF PARSER                            โ”‚
โ”‚  Analyzes: "Modern SaaS landing page"                      โ”‚
โ”‚  Identifies: โ€ข Style: Modern โ€ข Type: Landing โ€ข Industry: SaaS โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                            โ”‚
                            โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                  AI ORCHESTRATOR                           โ”‚
โ”‚  Selects Agents: โ†’ web-designer (primary)                 โ”‚
โ”‚                  โ†’ ui-designer (components)                โ”‚
โ”‚                  โ†’ brand-strategist (style)                โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                            โ”‚
                            โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                  AGENT CONSULTATION                        โ”‚
โ”‚  web-designer: "Use hero-features-pricing structure"       โ”‚
โ”‚  ui-designer: "Implement card-based feature sections"      โ”‚
โ”‚  brand-strategist: "Apply modern, minimal color palette"   โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                            โ”‚
                            โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                     GENERATORS                             โ”‚
โ”‚  โ€ข Token Generator โ†’ Creates colors.css, typography.css    โ”‚
โ”‚  โ€ข Component Gen โ†’ Creates Button.jsx, Card.jsx, Hero.jsx  โ”‚
โ”‚  โ€ข Layout Gen โ†’ Creates landing-page.html                  โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                            โ”‚
                            โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                    FINAL OUTPUT                            โ”‚
โ”‚  โœ… tokens/colors.css       - Design tokens               โ”‚
โ”‚  โœ… components/Hero.jsx     - React components            โ”‚
โ”‚  โœ… layouts/landing.html    - Complete layout             โ”‚
โ”‚  โœ… exports/figma/          - Figma file (Phase 4)        โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Key Insight: The CLI doesn't just generate code mechanicallyโ€”it uses the collective knowledge of 28 design experts to create thoughtful, professional implementations.

Agent Selection Matrix

Different commands automatically select the right experts:

Command Primary Agent Supporting Agents Output
from-brief "landing page" web-designer ui-designer, brand-strategist Complete landing page
component button ui-designer design-system-architect Button with variants
tokens --style modern design-system-architect brand-strategist Design token files
export figma ui-designer visual-designer Figma design file

Visual Legend

SYMBOLS USED:
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”
โ†’  Data flow        โœ…  Completed
โ–ผ  Process step     ๐Ÿ”„  In Progress
โ”‚  Connection       โณ  Planned
โ””  Branch/End       ๐Ÿง   AI Decision

๐Ÿ’ก Why Use This? (vs Figma AI / V0)

While tools like Figma AI are great for generating visuals, Design with Claude is built for Engineering.

Feature Figma / V0 / Visual Tools Design with Claude CLI
Output "Pictures of code" or spaghetti code Production-ready, clean architecture
Structure Single file / Copy-paste Full Repo Scaffolding (Git, Jest, Linting)
Logic Hardcoded values Props, Variants, & Semantic Tokens
Context "Here is the result" "Here is WHY" (Agentic Reasoning)
Workflow Switch context to design tool Stay in your terminal

The "Code-First" Philosophy

This tool treats design as a dependency. You don't draw a button; you npm install a design system. It generates mathematically consistent tokens, accessible contrast ratios, and component APIs that a Senior Engineer would approve.

๐Ÿš€ Design Implementation Tool (CLI)

NEW: The design-create CLI tool turns design briefs into actual implementations - code, components, and Figma files.

Quick Start

# Install dependencies
npm install

# Initialize a new design project
node bin/design-create.js init my-project

# Navigate to your project
cd my-project

# Generate design tokens
design-create tokens --mode light --primary "#6366F1"

# Generate from brief
design-create from-brief "Modern SaaS landing page with pricing section"

# Generate specific components
design-create component button
design-create component input
design-create component header

# Generate layouts
design-create layout landing-page
design-create layout dashboard

# Generate assets
design-create generate icons --set basic
design-create generate placeholders --type all

# Export to different formats (coming in Phase 3)
design-create export react
design-create export figma --figma-token YOUR_TOKEN

Available Commands

โœ… Project Initialization

  • design-create init [project-name] - Initialize new design project with complete structure

โœ… Design Token Generation

  • design-create tokens - Generate complete design token system
    • Full color scales (50-900) for primary, secondary, neutral
    • Semantic colors (success, warning, error, info)
    • Typography system (10 sizes, 9 weights, letter spacing)
    • Spacing system (18 values)
    • Shadow system (8 levels)
    • Border radius tokens

โœ… Component Generation

  • design-create component <name> - Generate production-ready components
    • Button: 4 variants ร— 4 sizes ร— 5 states
    • Forms: Input, Select, Checkbox, Radio, Textarea
    • Navigation: Header, Sidebar, Breadcrumb
    • Interactive: Modal, Dropdown, Tooltip, Tabs
    • Basic: Card, Hero, FeatureSection

โœ… Layout Generation

  • design-create layout <type> - Generate complete page layouts
    • landing-page - Hero, features, pricing, CTA sections
    • dashboard - Sidebar + main content area
    • documentation - Sidebar, breadcrumbs, table of contents

โœ… Asset Generation

  • design-create generate icons - Generate SVG icon sets
    • Basic set: 20 common icons
    • Social set: 4 social media icons
    • Auto-generated React components
  • design-create generate placeholders - Generate placeholder assets
    • Image placeholders (4 sizes)
    • Avatar placeholders (4 sizes)
    • Logo placeholder

โœ… Brief-to-Code

  • design-create from-brief <brief> - Generate complete design from description
    • AI-powered brief parsing
    • Automatic agent selection
    • Complete token + component + layout generation

๐Ÿ”„ Export System (Phase 3)

  • design-create export <format> - Export to HTML/React/Vue/Figma (Coming Soon)

Implementation Status

  • โœ… Phase 1 Complete: CLI framework, project initialization, template system
  • โœ… Phase 2 Complete: Tokens, components, layouts, and asset generation
    • Enhanced token system with full color scales
    • 13+ production-ready components
    • 3 complete layout templates
    • 24 icons + placeholder generators
  • ๐Ÿ”„ Phase 3: Multi-format export system (Week 3)
  • ๐Ÿ”„ Phase 4: Figma integration (Week 4)

Generated Project Structure

When you run design-create init, you get:

my-project/
โ”œโ”€โ”€ .design-project/          # Configuration and state
โ”‚   โ”œโ”€โ”€ config.json          # Project configuration
โ”‚   โ”œโ”€โ”€ state.json           # Generation state tracking
โ”‚   โ””โ”€โ”€ templates/           # Custom templates
โ”œโ”€โ”€ src/                     # Generated source files
โ”‚   โ”œโ”€โ”€ components/          # Generated components
โ”‚   โ”œโ”€โ”€ layouts/             # Generated layouts
โ”‚   โ””โ”€โ”€ assets/              # Generated assets
โ”œโ”€โ”€ tokens/                  # Design tokens (colors, typography, spacing)
โ”œโ”€โ”€ exports/                 # Export outputs
โ”‚   โ”œโ”€โ”€ html/               # HTML/CSS exports
โ”‚   โ”œโ”€โ”€ react/              # React components
โ”‚   โ”œโ”€โ”€ vue/                # Vue components
โ”‚   โ””โ”€โ”€ figma/              # Figma export data
โ”œโ”€โ”€ README.md               # Project documentation
โ””โ”€โ”€ .gitignore             # Git ignore rules

๐ŸŽจ Design Agents Collection

A comprehensive collection of 28 specialized design agents for Claude, providing expert guidance for every aspect of the design process. From UI/UX to brand strategy, these agents offer professional insights and best practices.

Prerequisites

For Design Implementation Tool

  • Node.js: v16.0.0 or higher
  • npm: Package manager

For Design Agents Collection

  • Claude Access: Claude CLI (claude-code) or Claude AI web interface
  • Git: For cloning the repository (optional)

Installation

Design Implementation Tool Setup

# Clone the repository
git clone https://github.com/imsaif/design-with-claude.git
cd design-with-claude

# Install dependencies
npm install

# Test CLI (should show help)
node bin/design-create.js --help

# Create your first project
node bin/design-create.js init my-first-project

Design Agents Collection Setup

Option 1: Clone and Use Directly

Clone the repository and reference agents from the location:

git clone https://github.com/imsaif/design-with-claude.git
cd design-with-claude

Option 2: Install to Claude's Agent Directory

User-wide Installation

Make agents available for all your projects:

# Clone the repository
git clone https://github.com/imsaif/design-with-claude.git
cd design-with-claude

# Copy agents to your home Claude directory
cp -r agents/* ~/.claude/agents/

Project-specific Installation

Install agents for a specific project only:

# Navigate to your project
cd your-project

# Copy agents to project's Claude directory
cp -r path/to/design-with-claude/agents/* .claude/agents/

Option 3: Use with Claude Web Interface

Simply copy the content of any agent file and paste it at the beginning of your Claude conversation to give Claude that agent's expertise.

Quick Start

After installation, you can immediately start using agents:

With Claude CLI

# Start a new Claude session with a specific agent
claude --agent ui-designer "Help me design a landing page"

# Or within an existing Claude session
> @ui-designer Create a responsive navigation menu

With Claude Web Interface

  1. Open any agent file (e.g., agents/core-design/ui-designer.md)
  2. Copy the entire content
  3. Paste it at the start of your Claude conversation
  4. Ask your design question

Verify Installation (Claude CLI)

# List available agents
ls ~/.claude/agents/

# Or for project-specific
ls .claude/agents/

Agent Categories

๐ŸŽจ Core Design

Essential design agents for foundational design work.

  • design-system-architect - Create comprehensive design systems with tokens, components, and governance
  • ux-design-expert - Optimize user experience, accessibility, and interface design
  • ui-designer - Design beautiful, functional user interfaces with visual hierarchy
  • accessibility-specialist - Ensure WCAG compliance and inclusive design practices

๐Ÿ–ผ๏ธ Visual Design

Agents focused on visual communication and aesthetics.

  • visual-designer - Master typography, color theory, and composition
  • illustration-designer - Create custom illustrations and visual narratives
  • icon-designer - Design comprehensive icon systems and pictographs
  • motion-designer - Develop animations, transitions, and micro-interactions

๐Ÿ“ฑ Product Design

End-to-end product design across platforms.

  • product-designer - Holistic product design from research to launch
  • mobile-designer - iOS and Android app design with platform guidelines
  • web-designer - Responsive web design with performance optimization
  • dashboard-designer - Data visualization and analytics interfaces

๐Ÿข Brand Identity

Brand development and marketing design.

  • brand-strategist - Brand positioning, architecture, and strategy
  • logo-designer - Logo design and visual identity systems
  • brand-guidelines-creator - Comprehensive brand documentation
  • marketing-designer - Campaign creative and conversion optimization

โšก Interaction Design

Interactive experiences and prototyping.

  • interaction-designer - Micro-interactions and user feedback systems
  • prototyping-expert - Rapid prototyping from low to high fidelity
  • gesture-designer - Touch, gesture, and spatial interactions
  • voice-ui-designer - Conversational interfaces and voice experiences

๐Ÿ”ฌ Research & Strategy

User research and strategic design planning.

  • ux-researcher - Qualitative and quantitative research methods
  • information-architect - Content organization and navigation systems
  • service-designer - End-to-end service blueprints and journeys
  • design-strategist - Design vision and business alignment

๐ŸŽฎ Specialized

Domain-specific design expertise.

  • game-ui-designer - Game interfaces, HUD systems, and menus
  • ar-vr-designer - Augmented and virtual reality experiences
  • automotive-ux - In-vehicle infotainment and digital clusters
  • healthcare-ux - Medical interfaces with compliance and safety

Usage Examples

Using Agents with Claude CLI

Invoke agents using the @ symbol followed by the agent name:

# UI/UX Design
@ui-designer Help me design a landing page for a SaaS product

# User Research
@ux-researcher Plan a user research study for our mobile app

# Brand Strategy
@brand-strategist Develop a brand positioning for a sustainable fashion startup

# Accessibility Review
@accessibility-specialist Review my design for WCAG compliance

Using Agents with Claude Web Interface

When using the web interface, paste the agent content at the start of your conversation, then ask your questions normally:

[Paste agent content from agents/core-design/ui-designer.md]

User: Help me design a landing page for a SaaS product
Claude: [Responds with UI designer expertise]

Combining Multiple Agents

Agents can work together for comprehensive solutions:

# For holistic design solutions
@design-strategist and @product-designer Help me plan a new feature rollout

# For visual and motion design
@visual-designer and @motion-designer Create an animated hero section

# For research and architecture
@ux-researcher and @information-architect Optimize our navigation structure

Real-World Scenarios

# Design System Creation
@design-system-architect Create a token system for our startup

# Mobile App Design
@mobile-designer Design an iOS app following Apple's HIG

# Dashboard Creation  
@dashboard-designer Create a analytics dashboard with key metrics

# Brand Identity
@logo-designer Create logo concepts for a tech startup

Agent Structure

Each agent follows a consistent structure:

---
name: agent-name
description: Brief description of expertise
category: category-name
version: 1.0.0
tools: all
---

Role description and expertise details...

## Core Expertise
- Specific skills and knowledge areas

## When Invoked
1. Step-by-step approach to tasks

## Best Practices
- Key principles and guidelines

Features

Comprehensive Coverage

  • 28 specialized agents covering all design disciplines
  • From strategy to execution
  • Platform-specific expertise
  • Industry-specific knowledge

Best Practices

  • Industry standards and guidelines
  • Accessibility and compliance
  • Performance optimization
  • User-centered methodologies

Practical Application

  • Step-by-step workflows
  • Tool recommendations
  • Documentation templates
  • Testing methodologies

Contributing

We welcome contributions! To add new agents or improve existing ones:

  1. Fork the repository
  2. Create your agent following the standard structure
  3. Place it in the appropriate category folder
  4. Update this README with your agent details
  5. Submit a pull request

Agent Guidelines

  • Clear, specific expertise definition
  • Practical, actionable guidance
  • Industry best practices
  • Comprehensive documentation

Version History

  • v1.0.0 - Initial release with 28 design agents

License

This project is licensed under the ISC License.

Support

For questions, issues, or suggestions, please open an issue in the repository.

Acknowledgments

This collection was inspired by the need for specialized design assistance in AI-powered workflows, helping designers leverage Claude's capabilities for enhanced creativity and productivity.


Note: These agents are designed to work with Claude and provide specialized design expertise. They follow industry best practices and are continuously updated to reflect current design standards and methodologies.