Communitygithub.com

Duanjyy/colorspace-skill

基于世界顶级品牌设计系统生成网页。内置 67 个知名品牌(Stripe、Notion、Apple、Tesla、Vercel 等) 的完整设计系统,根据网页类型智能推荐配色风格,使用品牌级设计规范生成高质量网页。 触发词:做网站、写网页、建站、创建页面、设计网页、做官网、产品落地页、landing page、website、 webpage、homepage、build a website、create a web page、design a landing page、make a homepage Trigger on::帮我做一个落地页, 做个首页, 产品展示页, 活动页, 营销页, 官网首页, landing page, product page, promo page, make me a homepage, build a product showcase, create a campaign page. Workflow:asks one question about the product, then opens a live browser preview of 57 city-inspired visual styles to click-select, lets the user pick typography/nav/color tone/hero variant/features variant/page sections interactively, then outputs a complete multi-file site (index.html + style.css + main.js + SVG sprite) with real product copy.

colorspace-skill 是什么?

colorspace-skill is a Claude Code agent skill that 基于世界顶级品牌设计系统生成网页。内置 67 个知名品牌(Stripe、Notion、Apple、Tesla、Vercel 等) 的完整设计系统,根据网页类型智能推荐配色风格,使用品牌级设计规范生成高质量网页。 触发词:做网站、写网页、建站、创建页面、设计网页、做官网、产品落地页、landing page、website、 webpage、homepage、build a website、create a web page、design a landing page、make a homepage Trigger on::帮我做一个落地页, 做个首页, 产品展示页, 活动页, 营销页, 官网首页, landing page, product page, promo page, make me a homepage, build a product showcase, create a campaign page. Workflow:asks one question about the product, then opens a live browser preview of 57 city-inspired visual styles to click-select, lets the user pick typography/nav/color tone/hero variant/features variant/page sections interactively, then outputs a complete multi-file site (index.html + style.css + main.js + SVG sprite) with real product copy.

兼容平台✓Claude Code~Codex CLI✓Cursor
npx skills add Duanjyy/colorspace-skill

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

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

相关技能