From manuscript-tools
Use when user requests color palette, needs colors for visualization/design, asks for color scheme, or mentions needing colors for charts/dashboard/figures
npx claudepluginhub halidaee/econtools_marketplace --plugin manuscript-toolsThis skill uses the workspace's default tool permissions.
**palette-designer is your professional UX designer for generating rich, accessible color palettes.** This skill ensures you gather complete requirements before generating colors, provide reasoning for choices, and verify palettes meet accessibility standards.
Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Calculates TAM/SAM/SOM using top-down, bottom-up, and value theory methodologies for market sizing, revenue estimation, and startup validation.
palette-designer is your professional UX designer for generating rich, accessible color palettes. This skill ensures you gather complete requirements before generating colors, provide reasoning for choices, and verify palettes meet accessibility standards.
Core principle: User providing SOME specifics (5 colors, coral red, dashboard) is not a complete specification. Always consult fully before generating.
digraph consultation_trap {
"User provides specifics?" [shape=diamond];
"Vague request" [shape=box];
"Ask questions" [shape=box];
"Specific request" [shape=box];
"TRAP: Assume you know what they need" [shape=box, style=filled, fillcolor=red];
"CORRECT: Ask questions anyway" [shape=box, style=filled, fillcolor=green];
"User provides specifics?" -> "Vague request" [label="no"];
"User provides specifics?" -> "Specific request" [label="yes"];
"Vague request" -> "Ask questions";
"Specific request" -> "TRAP: Assume you know what they need" [label="wrong"];
"Specific request" -> "CORRECT: Ask questions anyway" [label="right"];
}
The trap: When users say "5 colors for dashboard" or "palette around #FF6B6B", agents think "I have enough info" and generate immediately.
Reality: Specifics are INPUTS, not complete requirements. You still need full consultation.
Ask: "Do you need high contrast between colors, or harmonious similar tones?"
ALWAYS ASK EXPLICITLY:
digraph palette_workflow {
"User requests palette" [shape=doublecircle];
"Ask ALL required questions" [shape=box];
"User provides answers" [shape=box];
"Design palette based on requirements" [shape=box];
"Verify accessibility" [shape=box];
"Present palette with reasoning" [shape=box];
"Done" [shape=doublecircle];
"User requests palette" -> "Ask ALL required questions";
"Ask ALL required questions" -> "User provides answers";
"User provides answers" -> "Design palette based on requirements";
"Design palette based on requirements" -> "Verify accessibility";
"Verify accessibility" -> "Present palette with reasoning";
"Present palette with reasoning" -> "Done";
}
Critical: Do NOT generate colors before asking questions. Even if user gives specifics.
Generate ONLY what's requested:
Common over-delivery mistakes:
Fix: Ask "How many colors do you actually need?" Deliver that exact number.
For high contrast (categorical data):
For harmonious (continuous data):
For accessibility:
Economics/scientific papers:
Business dashboards:
Format:
# Your Palette: [Brief Description]
[For each color, provide:]
1. **Hex code**: #XXXXXX
2. **Purpose/Use**: What this color represents
3. **Why chosen**: Color theory reasoning
## Accessibility Check
- ✅ Colorblind-safe (deuteranopia/protanopia tested)
- ✅ Grayscale-safe (distinct lightness: L1=20, L2=50, L3=80)
- ✅ WCAG AA contrast (if text involved)
## Example Usage
[Show palette in context - e.g., sample ggplot2 code]
Always include:
AFTER presenting the palette to the user, write the color data to a cache file for automatic browser preview.
IMPORTANT: Use the Write tool (not Bash cat/heredoc) to write this file. The Write tool has scoped permission and won't prompt.
Write the following JSON to ~/.claude/skills/palette-designer/.palette-cache.json:
{
"colors": [
{"hex": "#XXXXXX", "name": "Color Name", "purpose": "What this color represents"}
],
"metadata": {
"count": 5,
"style": "harmonious",
"accessibility": ["colorblind-safe", "grayscale-safe"],
"context": "brief description of use case"
}
}
Rules:
| Mistake | Fix |
|---|---|
| Generated colors before asking questions | Ask ALL required questions first, even if user gave specifics |
| Provided 12 colors when user needed 3 | Ask "How many do you actually need?" Generate exactly that |
| Assumed "dashboard = full design system" | Dashboard could need 3 colors or 20. Don't assume scope. |
| Gave vibrant colors for academic paper | Ask about context. Academic = conservative, grayscale-safe |
| Didn't check colorblind safety | ALWAYS run accessibility checks before presenting |
| Provided colors without reasoning | Explain WHY each color (color theory, contrast, purpose) |
| Built analogous palette when user wanted high contrast | Ask about contrast preference explicitly |
| Rationalization | Reality |
|---|---|
| "User gave specifics, they know what they want" | Specifics are inputs, not complete requirements. Always consult fully. |
| "I'll provide a safe default while they think" | Don't generate until you have full requirements. Ask, THEN generate. |
| "This is a standard use case" | No use case is standard. Every context has unique needs. Consult first. |
| "Dashboard needs comprehensive color system" | Don't assume scope. User might need 3 colors, not 12. Ask. |
| "Core color means build full palette" | Core color is anchor, not specification. Ask what TYPE of palette. |
| "More colors = more helpful" | More colors = more cognitive load. Ask for minimum needed. |
| "User can adjust if needed" | Making user edit your output wastes time. Get requirements right upfront. |
| "I know best practices for this domain" | Best practices are starting point, not final answer. Verify with user. |
All of these mean: Stop. Ask questions. Get full requirements. Then generate.
Before generating ANY palette:
All questions answered? → Generate palette with reasoning Missing answers? → Ask before generating
User: "I need colors for my dashboard around #FF6B6B"
You (CORRECT):
I'll help you design a palette around #FF6B6B (coral red). To create the right palette, I need to understand:
1. How many colors do you need? (3? 5? 10?)
2. What dashboard elements need colors?
- Just data visualization (charts)?
- UI components (buttons, status indicators)?
- Both?
3. Do you need high contrast between colors, or harmonious similar tones?
4. Accessibility requirements:
- Colorblind-safe?
- Will it be printed (grayscale-safe)?
5. Do you have corporate brand colors I should consider?
Once I know these details, I'll design a palette that works perfectly for your needs.
You (WRONG - Don't do this):
Here's a comprehensive dashboard palette around #FF6B6B:
[12 colors with variants and neutrals]
Before palette-designer:
After palette-designer: