form-palette
Use when asked to generate a color palette, create industry-matched colors, or pick colors for a product type. Examples: "color palette for fintech", "healthcare app colors", "SaaS brand colors"
- License 许可
- MIT
- 所属仓库
- tonone-ai/tonone
- 最近更新
- 2026-11-11
- Stars
- ★ 77
- Forks
- 11
01 前言 Front Matter
- name
- form-palette
- tags
- [ "product", "design", "visual", "palette" ]
- author
- tonone-ai <hello@tonone.ai>
- license
- MIT
- version
- 0.6.6
- description
- Use when asked to generate a color palette, create industry-matched colors, or pick colors for a product type. Examples: "color palette for fintech", "healthcare app colors", "SaaS brand colors"
- allowed-tools
- Read, Bash, Glob, Grep
- compatibility
- Designed for Claude Code
02 资源文件 1
- 其他SKILL.md.tmpl3.3 KB
03 SKILL.md 正文
<!-- GENERATED from SKILL.md.tmpl by scripts/gen-skill-docs.py — edit the .tmpl or skills/_sections/*.md, not this file -->
form-palette — Color Palette Generation
Follow the output format defined in docs/output-kit.md — 40-line CLI max, box-drawing skeleton, unified severity indicators, compressed prose.
When to use
Product needs a color palette. Industry or product type is known or discoverable from context.
Workflow
- Identify product type from user request or project context
- Search product reasoning:
python3 -m form_agent.uiux search --domain product --query "{product_type}" --limit 3 - Search color conventions:
python3 -m form_agent.uiux search --domain color --query "{product_type}" --limit 3 - Output a full shadcn-compatible token set using the format below
Output format
┌─ Color Palette — {product_type} ───────────────────────────────────┐
│ Token │ Light │ Dark │ WCAG │
├────────────────────────┼──────────────────┼──────────────────┼──────┤
│ Primary │ {hex} │ {hex} │ AA │
│ On Primary │ {hex} │ {hex} │ AA │
│ Secondary │ {hex} │ {hex} │ AA │
│ On Secondary │ {hex} │ {hex} │ AA │
│ Accent │ {hex} │ {hex} │ AA │
│ On Accent │ {hex} │ {hex} │ AA │
│ Background │ {hex} │ {hex} │ — │
│ Foreground │ {hex} │ {hex} │ AA │
│ Card │ {hex} │ {hex} │ — │
│ Card Foreground │ {hex} │ {hex} │ AA │
│ Muted │ {hex} │ {hex} │ — │
│ Muted Foreground │ {hex} │ {hex} │ AA │
│ Border │ {hex} │ {hex} │ — │
│ Destructive │ {hex} │ {hex} │ AA │
│ On Destructive │ {hex} │ {hex} │ AA │
│ Ring │ {hex} │ {hex} │ — │
└────────────────────────┴──────────────────┴──────────────────┴──────┘
Anti-patterns
- Never violate WCAG AA contrast (4.5:1 for normal text, 3:1 for large text)
- Never ignore industry color conventions (e.g., red for destructive, green for success)
- Never output tokens without both light and dark values
- Never reuse the same hue for Primary and Destructive
Delivery
If output exceeds the 40-line CLI budget, invoke /atlas-report with the full findings. The HTML report is the output. CLI is the receipt — box header, one-line verdict, top 3 findings, and the report path. Never dump analysis to CLI.
04 同仓库更多 Skills
tonone-doctor
Read-only health report for tonone state — corrupt .tonone/ files, hook wiring, drift between skills, mirror, bundles and index. Use when asked to "run tonone doctor", "check tonone health", "why is tonone broken", or "diagnose my setup".
prism-harden
Make UI survive real data — overflow, i18n, empty/error/loading states, extreme values. Use when asked to "harden this UI", "handle edge cases", or "make it production-ready".
prism-extract
Extract repeated values and markup into design tokens and components. Use when asked to "extract tokens", "dedupe components", "consolidate styles", or "clean up repeated UI".
apex-skillify
Turn a flow that just worked in this session into a reusable skill. Use when asked to "skillify this", "make this a skill", or "save this workflow".
apex-retro
Weekly engineering retrospective from git history. Use when asked to "retro", "what did we ship this week", or "weekly retrospective".
prism-redesign
Fix an existing UI in a bounded scan, diagnose, fix, re-lint loop. Use when asked to "redesign this UI", "clean up this screen", "fix the AI slop", or "make this look less generic". Lint-driven, max 3 loops, never changes brand direction silently.