agentsclimarketplace

Design context

Skill ArnavPuri/designskills/skills/design-context

Foundational design context skill. Establishes brand identity, color system, typography, design style, and audience preferences. Trigger phrases: "set up design context", "define brand style", "configure design system", "brand guidelines", "design tokens", "style guide setup", "initialize design", "set brand colors".From its SKILL.md

Install
npx -y skills add ArnavPuri/designskills --skill design-context

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 6 stars6 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its file declares

Copied from the file, not written here

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

9.0 KB, as published. Nobody here has run it

Design Context

The foundational skill for all design work. Every other design skill checks this context first. This skill gathers, stores, and serves brand identity, color systems, typography, and design preferences so that all generated visuals are cohesive and on-brand.

Context is saved to .agents/design-context.md for reuse across sessions.


Step 1: Check for Existing Context

Before gathering new information, check for existing design context.

Auto-Detection Sources

Scan the codebase for existing design tokens in this priority order:

  1. .agents/design-context.md -- previously saved context (highest priority)
  2. tailwind.config.js / tailwind.config.ts -- theme.extend.colors, fontFamily, spacing
  3. CSS custom properties -- --color-primary, --font-heading, etc. in :root or globals.css
  4. package.json -- project name, description
  5. Design token files -- tokens.json, theme.js, design-system.*
  6. Existing components -- scan for recurring color values, font stacks, spacing patterns
  7. manifest.json / site.webmanifest -- theme_color, name
  8. Figma variables -- if Figma MCP is available, pull variables from connected files

Auto-Detection Logic

When scanning Tailwind config, extract:

colors.primary -> Brand primary color
colors.secondary -> Brand secondary color
colors.accent -> Accent color
fontFamily.sans -> Body font
fontFamily.heading or fontFamily.display -> Heading font

When scanning CSS variables, map:

--color-primary, --primary -> Primary color
--color-secondary, --secondary -> Secondary color
--color-accent, --accent -> Accent color
--font-heading, --font-display -> Heading font
--font-body, --font-sans -> Body font
--radius, --border-radius -> Border radius preference

If context is found, present it to the user for confirmation before proceeding.


Step 2: Gather Brand Identity

If no existing context is found, gather the following conversationally. Ask in natural groupings, not as a checklist dump.

Brand Core

FieldDescriptionExample
Brand NameOfficial name"Acme Studio"
TaglineShort brand tagline"Design without limits"
MissionOne-sentence mission"Empower creators with professional tools"
IndustryPrimary industry/sector"SaaS / Creative Tools"

Color System

Gather a minimum of 4 color groups. Store as hex codes.

RolePurposeExample
PrimaryMain brand color, CTAs, key UI#2563EB
Primary LightHover states, backgrounds#3B82F6
Primary DarkActive states, text on light#1D4ED8
SecondarySupporting color, secondary actions#7C3AED
AccentHighlights, badges, notifications#F59E0B
Neutral 50Lightest background#FAFAFA
Neutral 100Card backgrounds#F5F5F5
Neutral 200Borders, dividers#E5E5E5
Neutral 500Placeholder text#737373
Neutral 800Body text#262626
Neutral 900Headings#171717
SuccessPositive states#10B981
WarningCaution states#F59E0B
ErrorError states#EF4444

Typography

FieldDescriptionExample
Heading FontDisplay/heading typeface"Inter, sans-serif"
Body FontBody text typeface"Inter, sans-serif"
Mono FontCode/technical typeface"JetBrains Mono, monospace"
Base SizeRoot font size16px
Scale RatioType scale multiplier1.25 (Major Third)
Heading WeightDefault heading weight700
Body WeightDefault body weight400

Type Scale Reference

Use this scale system (base 16px, ratio 1.25):

xs:   12px / 0.75rem
sm:   14px / 0.875rem
base: 16px / 1rem
lg:   18px / 1.125rem
xl:   20px / 1.25rem
2xl:  24px / 1.5rem
3xl:  30px / 1.875rem
4xl:  36px / 2.25rem
5xl:  48px / 3rem
6xl:  60px / 3.75rem
7xl:  72px / 4.5rem

Design Style

Identify the primary style from these archetypes:

StyleCharacteristics
MinimalGenerous whitespace, restrained palette, clean lines, subtle shadows
BoldSaturated colors, large typography, strong contrast, geometric shapes
PlayfulBright colors, rounded corners, illustrations, casual tone
CorporateStructured grids, blue/gray palette, professional imagery, formal
LuxuriousDark backgrounds, metallic accents, serif fonts, fine details
RetroVintage palettes, halftone textures, serif/slab type, warm tones
BrutalistRaw aesthetic, high contrast, monospace type, unconventional layout
OrganicEarth tones, natural textures, flowing shapes, warm neutrals

Audience and Tone

FieldDescriptionExample
Primary AudienceWho sees these designs"Tech-savvy professionals 25-40"
Aesthetic PreferencesWhat resonates with them"Clean, modern, data-driven"
ToneCommunication style"Professional but approachable"
FormalityScale of 1-53 (balanced)

Brand Marks

FieldDescriptionExample
Logo DescriptionDescribe the logo visually"Geometric 'A' mark in primary blue"
Logo UsageWhere/how to use it"Top-left, min 32px height"
Icon StylePreferred icon style"Outlined, 2px stroke, rounded caps"

Platform Preferences

PlatformPriorityNotes
WebHigh/Medium/LowResponsive, modern browsers
MobileHigh/Medium/LowTouch-friendly, safe areas
PrintHigh/Medium/LowCMYK considerations
SocialHigh/Medium/LowPlatform-specific sizes

Step 3: Save Context

Save the gathered context to .agents/design-context.md using this template:

# Design Context

## Brand Identity
- **Name:** [Brand Name]
- **Tagline:** [Tagline]
- **Mission:** [Mission]
- **Industry:** [Industry]

## Color System
| Role | Hex | Usage |
|------|-----|-------|
| Primary | #XXXXXX | CTAs, key elements |
| Primary Light | #XXXXXX | Hover, backgrounds |
| Primary Dark | #XXXXXX | Active, dark text |
| Secondary | #XXXXXX | Supporting elements |
| Accent | #XXXXXX | Highlights, badges |
| Neutral 50 | #XXXXXX | Light backgrounds |
| Neutral 100 | #XXXXXX | Card backgrounds |
| Neutral 200 | #XXXXXX | Borders |
| Neutral 500 | #XXXXXX | Muted text |
| Neutral 800 | #XXXXXX | Body text |
| Neutral 900 | #XXXXXX | Headings |
| Success | #XXXXXX | Positive |
| Warning | #XXXXXX | Caution |
| Error | #XXXXXX | Error |

## Typography
- **Heading Font:** [Font stack]
- **Body Font:** [Font stack]
- **Mono Font:** [Font stack]
- **Base Size:** [size]
- **Scale Ratio:** [ratio]
- **Heading Weight:** [weight]
- **Body Weight:** [weight]

## Design Style
- **Primary Style:** [Style archetype]
- **Border Radius:** [value]
- **Shadow Style:** [subtle/medium/dramatic/none]
- **Spacing System:** [4px/8px base grid]

## Audience
- **Primary:** [Description]
- **Aesthetic:** [Preferences]
- **Tone:** [Tone description]

## Brand Marks
- **Logo:** [Description]
- **Icon Style:** [Description]

## Platform Priority
- Web: [priority]
- Mobile: [priority]
- Social: [priority]
- Print: [priority]

Step 4: Using Context in Other Skills

When any other design skill activates, it must:

  1. Read .agents/design-context.md first
  2. Apply the color system -- never use arbitrary colors
  3. Use the specified typography -- load Google Fonts if needed via <link> tag
  4. Match the design style archetype
  5. Respect the tone and audience preferences

Quick Context Snippet for Other Skills

Other skills should include this check at the top of their workflow:

Before generating any visual:
1. Read .agents/design-context.md
2. Extract: primary color, secondary color, accent, heading font, body font, style archetype
3. If no context file exists, ask the user to run the design-context skill first,
   or use sensible defaults and note that output may not be on-brand

Step 5: Context Updates

When the user wants to update context:

  1. Read the existing .agents/design-context.md
  2. Ask what they want to change
  3. Update only the changed fields
  4. Confirm the changes
  5. Save the updated file

Never overwrite the entire file for a single field change.


Default Fallbacks

If no context is set and the user wants to proceed anyway, use these defaults:

Primary: #2563EB (blue-600)
Secondary: #7C3AED (violet-600)
Accent: #F59E0B (amber-500)
Neutral: Tailwind gray scale
Heading Font: Inter
Body Font: Inter
Style: Minimal
Tone: Professional

Always note in the output that defaults were used and recommend setting up proper design context.

Keep looking

Skills are one crate of 628,853. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.