Communitygithub.com

Duanjyy/colorspace-skill

Generate web pages based on world-class brand design systems. Built-in complete design systems from 67 well-known brands (Stripe, Notion, Apple, Tesla, Vercel, etc.), intelligently recommends color schemes based on page type, and produces high-quality web pages using brand-level design specifications.

What is colorspace-skill?

The Duanjyy/colorspace-skill transforms web page generation by leveraging the complete design systems of 67 top global brands, including Stripe, Notion, Apple, Tesla, and Vercel. When a user requests a website or landing page, the skill intelligently recommends 3–5 brand styles based on the page type (e.g., SaaS product page, e-commerce, blog), ensuring diversity in design language and theme (light/dark). Users can select a recommended brand, choose from the full 67-brand library, or describe a custom style, after which the skill reads the corresponding DESIGN.md file—prioritizing the Agent Prompt Guide, color palette, typography, and component stylings—to generate a complete multi-file site (index.html, style.css, main.js, SVG sprite) with real product copy. The code strictly adheres to the brand’s exact color values, typography hierarchy, component styles, layout spacing, responsive breakpoints, and dark mode variants, outputting production-ready, brand-coherent web pages that look and feel professional. The skill uses an interactive workflow: it asks one question about the product, opens a live browser preview of 57 city-inspired visual styles for selection, then lets the user interactively choose typography, navigation, color tone, hero variant, and page sections before generating the final site.

Works with✓Claude Code~Codex CLI✓Cursor
npx skills add Duanjyy/colorspace-skill

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

Brand Design Studio

Generate web pages powered by the complete design systems of 67 world-class brands, injecting brand-level visual quality into every page.

Brand Design Library

All brand design system files are located at: {skill_dir}\design-md\

Each brand subfolder contains:

  • DESIGN.md — A complete 9-chapter design system document (color palette, typography, components, layout, shadows, responsive behavior, AI prompt guide, etc.)
  • preview.html — Interactive preview in light mode
  • preview-dark.html — Interactive preview in dark mode

Workflow

Step 1: Understand the Request

When a user asks to create a web page or website, first confirm:

  • Page type (SaaS product page, AI product page, e-commerce page, blog, corporate website, campaign page, etc.)
  • Purpose and target audience
  • Whether dark mode is needed

If the user has already specified the page type, go directly to Step 2. If not, use the AskUserQuestion tool to ask.

Step 2: Recommend Brand Styles

  1. Read the brand index in references/brand-index.md to get the brand category index
  2. Based on the user's described page type, match 1–2 most relevant categories
  3. Select 3–5 brands from the matched categories, ensuring style diversity:
    • Include at least one light-style and one dark-style brand
    • Include brands with different design languages (minimalist vs. lively vs. luxury, etc.)
  4. Use AskUserQuestion to present recommendations to the user, with each option including: brand name + style keywords + primary color
  5. Also provide a "Custom selection from other brands" option, informing the user they can choose from all 67 brands

Step 3: User Selection

The user can:

  • a) Choose one of the recommended brands
  • b) Specify another brand (from the 67, you can show all brands under the corresponding category for selection)
  • c) Describe a desired custom style (in this case, still reference the brand design system as inspiration)

Step 4: Read the Design System

After the brand is confirmed, read the corresponding DESIGN.md file: e:\system files\desktop\new folder (2)\design-md\{brand name}\DESIGN.md

Chapter reading priority:

Must-read (core specifications):

  1. Chapter 9: Agent Prompt Guide — Most important! Contains ready-to-use component prompt examples that directly guide how to generate specific components using the brand style
  2. Chapter 2: Color Palette & Roles — Complete color scheme: primary, accent, neutral scale, interactive, surface, and shadow colors, with exact HEX/RGBA values
  3. Chapter 3: Typography Rules — Font families, type scale table (Role/Size/Weight/Line Height/Letter Spacing), typography principles

Important reference: 4. Chapter 4: Component Stylings — Specific CSS property values for buttons, cards, inputs, navigation, and other components 5. Chapter 7: Do's and Don'ts — Brand design best practices and pitfalls to avoid

Supplementary reference (as needed): 6. Chapter 1: Visual Theme & Atmosphere — Overall visual style understanding 7. Chapter 5: Layout Principles — Spacing system, grid, whitespace philosophy, border-radius scale 8. Chapter 6: Depth & Elevation — Shadow elevation system 9. Chapter 8: Responsive Behavior — Responsive breakpoints, collapse strategies

Note: DESIGN.md files are large; read required chapters by priority rather than the entire file at once. Prioritize reading chapters 9, 2, 3, and 4.

Step 5: Generate the Web Page

Strictly follow the design specifications in the DESIGN.md file to generate web page code.

Code Generation Rules

Color Specification

  • MUST use the exact color values (HEX/RGBA) defined in DESIGN.md; do not adjust or replace them
  • MUST define brand core color values as CSS custom properties (:root variables), using variable names referring to the tokens in DESIGN.md
  • Example: :root { --color-primary: #533afd; --color-heading: #061b31; --color-bg: #ffffff; }

Typography Specification

  • MUST strictly follow font size, weight, line height, and letter spacing as per the type scale table
  • MUST use the specified font families and complete fallback chains
  • If DESIGN.md specifies a custom font (e.g., sohne-var, Geist, NotionInter), use that font name in CSS and provide system font fallbacks
  • For fonts available via Google Fonts (e.g., Inter, IBM Plex), include via @import or <link>

Component Specification

  • MUST follow the border-radius, padding, shadow, and hover/active states defined in component stylings
  • MUST implement button variants described in Chapter 4 (Primary, Ghost, Pill, etc.)
  • MUST follow all rules in Chapter 7 (Do's and Don'ts)

Layout & Responsive

  • MUST follow the spacing system and grid specifications from Chapter 5
  • MUST follow the breakpoints and collapse strategies defined in Chapter 8
  • MUST ensure mobile usability

Dark Mode

  • If the user needs dark mode, refer to the color scheme in preview-dark.html
  • Or derive the dark mode based on the dark variant color values in DESIGN.md

Using Chapter 9: Agent Prompt Guide

  • Chapter 9 contains Example Component Prompts — ready-to-use prompts for generating components
  • When generating specific components, prioritize referencing the writing style and structure of these example prompts
  • Chapter 9 also contains an Iteration Guide for iterative refinement of the output

Brand Category Quick Reference

Complete brand category index available in references/brand-index.md, with 6 major categories:

CategorySuitable ScenariosRepresentative Brands
SaaS & Developer ToolsProduct website, tool landing page, API showcase pageStripe, Notion, Linear, Figma, Vercel
AI & Cutting-edge TechAI product page, tech showcase pageClaude, Cursor, x.ai, Mistral, Replicate
Finance & Trading PlatformsFinancial product page, booking systemCoinbase, Kraken, Revolut, Airbnb
Content & Social MediaContent platform, media siteSpotify, Pinterest, Intercom, Zapier
Luxury & Automotive BrandsLuxury showcase, brand websiteTesla, Apple, BMW, Ferrari, Nvidia
Creative & Design PlatformsPortfolio, art siteClay, Expo, IBM

Notes

  • If the user explicitly requests not to use any brand style, do not force recommendations; generate as usual
  • Brand design systems are sourced from the open-source project VoltAgent/awesome-design-md — these are unofficial extracted design specifications
  • This ColorSpace Skill was created by Tangyuan

Related Skills