design
GitHub统一设计技能,涵盖品牌标识、UI样式、Logo生成、企业识别程序(CIP)、演示文稿及社交媒体素材。集成Higgsfield AI进行像素级资产生成,并提供设计规范与子技能路由。
触发场景
安装
npx skills add AjayIrkal23/agentic-mercy-10x --skill design -g -y
SKILL.md
Frontmatter
{
"name": "design",
"license": "MIT",
"metadata": {
"author": "claudekit",
"version": "2.1.0",
"category": "design",
"surfaces": [
"frontend"
],
"triggers": {
"intents": [
"design"
],
"keywords": [
"logo",
"logo design",
"logotype",
"wordmark",
"brand mark",
"corporate identity",
"cip",
"identity program",
"mockup",
"mockups",
"icon design",
"svg icon",
"icon set",
"social photo",
"social media image",
"letterhead",
"business card",
"stationery",
"brand collateral"
]
}
},
"description": "Identity and marketing-asset design: logo generation (55 styles), corporate identity programs (50 deliverables, CIP mockups), icon design (15 styles, SVG), banner design (22 styles for social\/ads\/web\/print), and social photo sets. Broader identity scope than component UI work; pixels come from Higgsfield.",
"when_to_use": "Use for logos, wordmarks, corporate identity\/CIP mockups, SVG icon sets, banners, and social-media image sets — not for app component UI.",
"argument-hint": "[design-type] [context]"
}
Assets: Higgsfield MCP (
higgsfield-generate) is configured and mandatory. Every raster, video, 3D, or audio asset is generated throughmcp__higgsfield__generate_image/generate_video/generate_3d/generate_audio. The Gemini scripts underscripts/(logo/generate.py,cip/generate.py,icon/generate.py) are legacy and must not be run — use this skill for its art direction, specs, styles, and layout reasoning (thesearch.pyhelpers are fine), then hand pixel generation to Higgsfield. SVG icons are text: write them directly, no image API. See the Assets section of~/.claude/rules/frontend.md.
Design
Unified design skill: brand, tokens, UI, logo, CIP, slides, banners, social photos, icons.
When to Use
- Brand identity, voice, assets
- Design system tokens and specs
- UI styling with shadcn/ui + Tailwind
- Logo design and AI generation
- Corporate identity program (CIP) deliverables
- Presentations and pitch decks
- Banner design for social media, ads, web, print
- Social photos for Instagram, Facebook, LinkedIn, Twitter, Pinterest, TikTok
Sub-skill Routing
| Task | Sub-skill | Details |
|---|---|---|
| Brand identity, voice, assets | brand |
External skill |
| Tokens, specs, CSS vars | design-system |
External skill |
| shadcn/ui, Tailwind, code | ui-styling |
External skill |
| Logo creation, AI generation | Logo (built-in) | references/logo-design.md |
| CIP mockups, deliverables | CIP (built-in) | references/cip-design.md |
| Presentations, pitch decks | Slides (built-in) | references/slides.md |
| Banners, covers, headers | Banner (built-in) | references/banner-sizes-and-styles.md |
| Social media images/photos | Social Photos (built-in) | references/social-photos-design.md |
| SVG icons, icon sets | Icon (built-in) | references/icon-design.md |
Logo Design (Built-in)
55+ styles, 30 color palettes, 25 industry guides. Higgsfield generate_image (Nano Banana 2 / GPT Image 2).
Logo: Generate Design Brief
python3 ~/.claude/skills/design/scripts/logo/search.py "tech startup modern" --design-brief -p "BrandName"
Logo: Search Styles/Colors/Industries
python3 ~/.claude/skills/design/scripts/logo/search.py "minimalist clean" --domain style
python3 ~/.claude/skills/design/scripts/logo/search.py "tech professional" --domain color
python3 ~/.claude/skills/design/scripts/logo/search.py "healthcare medical" --domain industry
Logo: Generate with AI
ALWAYS generate output logo images with white background.
Take the brief from search.py --design-brief and call mcp__higgsfield__generate_image
(GPT Image 2 for wordmarks/text, Nano Banana 2 for marks). scripts/logo/generate.py is a
legacy Gemini path — do not run it.
After generation, ALWAYS ask the user about an HTML preview via AskUserQuestion. If yes, build a simple HTML gallery page of the variants.
CIP Design (Built-in)
50+ deliverables, 20 styles, 20 industries. Higgsfield generate_image (Nano Banana 2 / Pro).
CIP: Generate Brief
python3 ~/.claude/skills/design/scripts/cip/search.py "tech startup" --cip-brief -b "BrandName"
CIP: Search Domains
python3 ~/.claude/skills/design/scripts/cip/search.py "business card letterhead" --domain deliverable
python3 ~/.claude/skills/design/scripts/cip/search.py "luxury premium elegant" --domain style
python3 ~/.claude/skills/design/scripts/cip/search.py "hospitality hotel" --domain industry
python3 ~/.claude/skills/design/scripts/cip/search.py "office reception" --domain mockup
CIP: Generate Mockups
Compose each deliverable prompt from search.py --cip-brief plus the logo, then call
mcp__higgsfield__generate_image with the logo as a reference image (upload it via
media_upload_widget first). One call per deliverable; a full set = business card, letterhead,
envelope, signage, and two office mockups. scripts/cip/generate.py is a legacy Gemini path —
do not run it.
Models: Higgsfield generate_image — nano_banana_2 (default, fast) or gpt_image_2 / Nano Banana Pro (higher text fidelity, 4K)
CIP: Render HTML Presentation
python3 ~/.claude/skills/design/scripts/cip/render-html.py --brand "TopGroup" --industry "consulting" --images /path/to/cip-output
Tip: If no logo exists, use Logo Design section above first.
Slides (Built-in)
Strategic HTML presentations with Chart.js, design tokens, copywriting formulas.
Load references/slides-create.md for the creation workflow.
Slides: Knowledge Base
| Topic | File |
|---|---|
| Creation Guide | references/slides-create.md |
| Layout Patterns | references/slides-layout-patterns.md |
| HTML Template | references/slides-html-template.md |
| Copywriting | references/slides-copywriting-formulas.md |
| Strategies | references/slides-strategies.md |
Banner Design (Built-in)
22 art direction styles across social, ads, web, print. Uses design-taste-frontend, plugin frontend-design, higgsfield-generate, and a browser screenshot (Playwright MCP).
Load references/banner-sizes-and-styles.md for complete sizes and styles reference.
Banner: Workflow
- Gather requirements via
AskUserQuestion— purpose, platform, content, brand, style, quantity - Research — Activate
design-taste-frontend, browse Pinterest for references - Design — Create HTML/CSS banner with plugin
frontend-design, generate visuals withhiggsfield-generate - Export — Screenshot to PNG at exact dimensions via Playwright MCP
browser_take_screenshot - Present — Show all options side-by-side, iterate on feedback
Banner: Quick Size Reference
| Platform | Type | Size (px) |
|---|---|---|
| Cover | 820 x 312 | |
| Twitter/X | Header | 1500 x 500 |
| Personal | 1584 x 396 | |
| YouTube | Channel art | 2560 x 1440 |
| Story | 1080 x 1920 | |
| Post | 1080 x 1080 | |
| Google Ads | Med Rectangle | 300 x 250 |
| Website | Hero | 1920 x 600-1080 |
Banner: Top Art Styles
| Style | Best For |
|---|---|
| Minimalist | SaaS, tech |
| Bold Typography | Announcements |
| Gradient | Modern brands |
| Photo-Based | Lifestyle, e-com |
| Geometric | Tech, fintech |
| Glassmorphism | SaaS, apps |
| Neon/Cyberpunk | Gaming, events |
Banner: Design Rules
- Safe zones: critical content in central 70-80%
- One CTA per banner, bottom-right, min 44px height
- Max 2 fonts, min 16px body, ≥32px headline
- Text under 20% for ads (Meta penalizes)
- Print: 300 DPI, CMYK, 3-5mm bleed
Icon Design (Built-in)
15 styles, 12 categories. Icons are SVG text: write them directly (24×24 viewBox, currentColor,
1.5–2 px stroke for outlined, one <path> per icon where possible) and export sizes with
width/height attributes. scripts/icon/generate.py is a legacy Gemini path — do not run it.
Load references/icon-design.md for style rules per category.
Icon: Top Styles
| Style | Best For |
|---|---|
| outlined | UI interfaces, web apps |
| filled | Mobile apps, nav bars |
| duotone | Marketing, landing pages |
| rounded | Friendly apps, health |
| sharp | Tech, fintech, enterprise |
| flat | Material design, Google-style |
| gradient | Modern brands, SaaS |
Model: the active session model — SVG is XML text, so this needs no image API at all (and must NOT be routed to Higgsfield, which returns rasters).
Social Photos (Built-in)
Multi-platform social image design: HTML/CSS → screenshot export. Uses design-taste-frontend, brand, tailwind-design-system tokens, and a browser screenshot (Playwright MCP).
Load references/social-photos-design.md for sizes, templates, best practices.
Social Photos: Workflow
- Orchestrate — a TodoWrite list for the tasks; parallel subagents for independent work
- Analyze — Parse prompt: subject, platforms, style, brand context, content elements
- Ideate — 3-5 concepts, present via
AskUserQuestion - Design —
brand→tailwind-design-systemtokens →design-taste-frontendor pluginfrontend-design; HTML per idea × size - Export — Playwright MCP screenshot at exact px (2x deviceScaleFactor)
- Verify — Inspect the exported PNGs (Read the image); fix layout/styling issues and re-export
- Report — Summary to
plans/reports/with design decisions - Organize — Move the exported files into the project's asset directories and the report into
plans/reports/
Social Photos: Key Sizes
| Platform | Size (px) | Platform | Size (px) |
|---|---|---|---|
| IG Post | 1080×1080 | FB Post | 1200×630 |
| IG Story | 1080×1920 | X Post | 1200×675 |
| IG Carousel | 1080×1350 | 1200×627 | |
| YT Thumb | 1280×720 | 1000×1500 |
Workflows
Complete Brand Package
- Logo → brief from
scripts/logo/search.py→ Higgsfieldgenerate_image→ logo variants - CIP → brief from
scripts/cip/search.py→ Higgsfieldgenerate_imagewith the logo as reference → deliverable mockups - Presentation → Load
references/slides-create.md→ Build pitch deck
New Design System
- Brand (brand skill) → Define colors, typography, voice
- Tokens (design-system skill) → Create semantic token layers
- Implement (ui-styling skill) → Configure Tailwind, shadcn/ui
References
| Topic | File |
|---|---|
| Design Routing | references/design-routing.md |
| Logo Design Guide | references/logo-design.md |
| Logo Styles | references/logo-style-guide.md |
| Logo Colors | references/logo-color-psychology.md |
| Logo Prompts | references/logo-prompt-engineering.md |
| CIP Design Guide | references/cip-design.md |
| CIP Deliverables | references/cip-deliverable-guide.md |
| CIP Styles | references/cip-style-guide.md |
| CIP Prompts | references/cip-prompt-engineering.md |
| Slides Create | references/slides-create.md |
| Slides Layouts | references/slides-layout-patterns.md |
| Slides Template | references/slides-html-template.md |
| Slides Copy | references/slides-copywriting-formulas.md |
| Slides Strategy | references/slides-strategies.md |
| Banner Sizes & Styles | references/banner-sizes-and-styles.md |
| Social Photos Guide | references/social-photos-design.md |
| Icon Design Guide | references/icon-design.md |
Scripts
| Script | Purpose |
|---|---|
scripts/logo/search.py |
Search logo styles, colors, industries |
scripts/logo/generate.py |
LEGACY (Gemini) — do not run; use Higgsfield generate_image |
scripts/logo/core.py |
BM25 search engine for logo data |
scripts/cip/search.py |
Search CIP deliverables, styles, industries |
scripts/cip/generate.py |
LEGACY (Gemini) — do not run; use Higgsfield generate_image |
scripts/cip/render-html.py |
Render HTML presentation from CIP mockups |
scripts/cip/core.py |
BM25 search engine for CIP data |
scripts/icon/generate.py |
LEGACY (Gemini) — do not run; write SVG directly |
Prerequisites
Python: This skill uses Python scripts. On Windows, use python instead of python3 (e.g., python scripts/logo/search.py instead of python3 scripts/logo/search.py).
Check if Python is installed:
python3 --version || python --version
Setup
No setup: image generation goes through the Higgsfield MCP connector, and the search.py /
render-html.py helpers need only Python 3 (stdlib). Do not install google-genai.
Integration
External sub-skills: brand, tailwind-design-system (tokens), ui-styling Related Skills: design-taste-frontend, frontend-design (plugin), higgsfield-generate
版本历史
- 2315578 当前 2026-10-18 19:20


