claude-workspace: Skill for Claude Code

.claude/skills/design-intelligence/SKILL.md

design-intelligence is a skill for Claude Code from Piyush8296/claude-workspace. It costs 55 tokens per session (2,080 once invoked), scanned A, original, MIT.

A design reference for creating polished user interfaces with Claude Design and Google Stitch, two AI design tools. It covers visual styles, color palettes, typography, and turning designs into code.

In plain words
What is it for?
Use it to create mockups, prototypes, design systems, multi-screen app flows, and frontend code from descriptions.
Why use it?
It helps you choose the right design tool and make visual decisions more consistently. It also explains which code formats each tool can produce.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is Piyush8296/claude-workspace's own configuration. It tells Claude Code how to work on claude-workspace itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-workspace configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Piyush8296/claude-workspace. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Piyush8296/claude-workspace/main/.claude/skills/design-intelligence/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Piyush8296/claude-workspace

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for design-intelligence

README.md
[![agentmods](https://agentmods.dev/badge/skills/piyush8296/claude-workspace/design-intelligence/github.svg)](https://agentmods.dev/skills/piyush8296/claude-workspace/design-intelligence)
Your own site
<a href="https://agentmods.dev/skills/piyush8296/claude-workspace/design-intelligence"><img src="https://agentmods.dev/badge/skills/piyush8296/claude-workspace/design-intelligence/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for design-intelligence

Your own site · 80×15
<a href="https://agentmods.dev/skills/piyush8296/claude-workspace/design-intelligence"><img src="https://agentmods.dev/badge/skills/piyush8296/claude-workspace/design-intelligence.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,080 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00055 $0.02080
Opus 5 $0.00028 $0.01040
Sonnet 5 $0.00011 $0.00416
Haiku 4.5 $0.00006 $0.00208

Measured 9d ago against content hash e32508def717, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

design-intelligence scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/design-intelligence/SKILL.md · 201 lines

How it starts

The opening of the file, as written. The whole thing — 201 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Design Intelligence

Tool Selection

Two primary AI design tools for frontend teams:

Tool Best For Code Export Access
Claude Design Prototypes, presentations, design system enforcement, iterative refinement via conversation React, HTML/CSS Claude Pro/Max/Team/Enterprise
Google Stitch Multi-screen generation, rapid iteration, full app flows from natural language HTML, CSS, Tailwind, Vue, Angular, Flutter, SwiftUI Free (Google account)

When to Use Claude Design

  • You need designs that match your existing codebase and design system
  • Iterative refinement through conversation ("make the CTA more prominent")
  • Generating presentations and visual prototypes alongside code
  • Your team uses Claude for everything already

When to Use Google Stitch

  • Generating entire multi-screen flows from a single prompt (up to 5 screens)
  • Rapid exploration with model selection (Gemini Pro for quality, Flash for speed)
  • You need exports in frameworks beyond React (Vue, Angular, Flutter, SwiftUI)
  • Free access with no usage caps

Design System Generation Workflow

Step 1: Define Design Tokens

Generate a complete token set from your brand identity:

:root {
  /* Color Tokens */
  --color-primary-50:  #eff6ff;
  --color-primary-100: #dbeafe;
  --color-primary-500: #3b82f6;
  --color-primary-600: #2563eb;
  --color-primary-700: #1d4ed8;
  --color-primary-900: #1e3a5f;

  --color-accent-400:  #fbbf24;
  --color-accent-500:  #f59e0b;

  --color-neutral-50:  #fafafa;
  --color-neutral-100: #f5f5f5;
  --color-neutral-200: #e5e5e5;
  --color-neutral-500: #737373;
  --color-neutral-800: #262626;
  --color-neutral-900: #171717;

  --color-success: #22c55e;
  --color-warning: #f59e0b;
  --color-error:   #ef4444;
  --color-info:    #3b82f6;

  /* Typography Tokens */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Spacing Scale (8px grid) */
  --space-1:  0.25rem;   /* 4px  */
  --space-2:  0.5rem;    /* 8px  */
  --space-3:  0.75rem;   /* 12px */
  --space-4:  1rem;      /* 16px */
  --space-6:  1.5rem;    /* 24px */
  --space-8:  2rem;      /* 32px */
  --space-12: 3rem;      /* 48px */
  --space-16: 4rem;      /* 64px */
  --space-24: 6rem;      /* 96px */

  /* Border Radius */
  --radius-sm:   0.25rem;
  --radius-md:   0.5rem;
  --radius-lg:   0.75rem;
  --radius-xl:   1rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md:  0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg:  0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl:  0 20px 25px -5px rgb(0 0 0 / 0.1);
}

Read the full file on GitHub · 201 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 201 lines · 55 tokens per session scan A e32508def717

Subscribe to this mod's changes

design-intelligence is a skill published in the GitHub repository Piyush8296/claude-workspace (2 stars, last pushed 4mo ago), licensed MIT. It adds 55 tokens to every session and 2,080 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

ux-spec

Generates UI/UX specifications with wireframes and design system. Creates UXSPEC.md and DESIGNSYSTEM.md from PRD and Architecture specs. Use when designing app interface and creating design system.

rshankras/claude-code-apple-skills · 41 tokens

animation-patterns

SwiftUI animation patterns including springs, transitions, PhaseAnimator, KeyframeAnimator, SF Symbol effects, scroll-driven effects, mesh gradients, text renderers, and shader effects. Use when implementing, reviewing, or fixing animation or visual-effect code on iOS/macOS.

rshankras/claude-code-apple-skills · 58 tokens

generic-react-ux-designer

Professional UI/UX design expertise for React applications. Covers design thinking, user psychology (Hick's/Fitts's/Jakob's Law), visual hierarchy, interaction patterns, accessibility, performance-driven design, and design critique. Use when designing features, improving UX, solving user problems, or conducting design…

travisjneuman/.claude · 69 tokens

frontend-enhancer

This skill should be used when enhancing the visual design and aesthetics of web applications. It provides modern UI components, design patterns, color palettes, animations, and layout templates. REQUIRES ui-research skill first. Use this skill for tasks like improving styling, creating responsive designs…

travisjneuman/.claude · 79 tokens

generic-design-system

Complete design system reference for any project - colors, typography, spacing, components, animations. Adapts to project theme and tech stack. Use when implementing UI, choosing colors, creating animations, or ensuring brand consistency. For new design systems, use ui-research skill first.

travisjneuman/.claude · 60 tokens

generic-fullstack-ux-designer

Professional UI/UX design expertise for full-stack applications. Covers design thinking, user psychology (Hick's/Fitts's/Jakob's Law), visual hierarchy, interaction patterns, accessibility, performance-driven design, and design critique. Use when designing features, improving UX, solving user problems, or conducting…

travisjneuman/.claude · 71 tokens