design-recipe

Classify Styleframe component recipes into color and variant patterns with user-approved design documentation.

91|4|Updated Jun 20, 2025
One-click install
npx skills add https://github.com/styleframe-dev/styleframe --skill design-recipe
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: design-recipe
Source: https://github.com/styleframe-dev/styleframe/tree/main/.claude/skills/design-recipe
Command: npx skills add https://github.com/styleframe-dev/styleframe --skill design-recipe

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Turn research notes into a user-approved design blueprint for Styleframe recipes.

Core Features & Use Cases

  • Classifies recipes by color pattern (Full/Container/Minimal) and variant-style pattern (Interactive/Display/Container), selects a base-style template, and documents the chosen pattern.
  • Defines variant axes, selects a compound-variant strategy, sets defaults, and enumerates sub-recipes for multi-part components.
  • Ensures user approval before writing the design artifact to .context/recipe-<component-name>/design.md.

Quick Start

Read the research in .context/recipe-<component-name>/research.md and run the design step to generate the approved design at .context/recipe-<component-name>/design.md.

Frequently Asked Questions about design-recipe

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I formalize design patterns from research into a component design system?

To formalize design patterns from research, you classify color patterns, variant axes, and base templates, then document the chosen compound-variant strategy into an approved design blueprint. This translates raw research notes into structured design specifications.

What is a compound-variant strategy in component design?

A compound-variant strategy in component design defines how multiple variant axes interact to create specific component states. It selects a base-style template and sets defaults to ensure predictable styling across multi-part sub-recipes.

How do I document color and variant patterns for CSS-in-TypeScript components?

You document color and variant patterns for CSS-in-TypeScript components by classifying them into Full, Container, or Minimal color patterns and Interactive, Display, or Container styles, writing the output to a design.md file.

Can I generate design documentation without user approval?

No, you cannot generate the final design documentation without user approval. The workflow explicitly requires user approval before writing the formalized design artifact to the .context/recipe directory, preventing unexpected changes.

What's the best way to structure multi-part component recipes?

The best way to structure multi-part component recipes is to enumerate sub-recipes for each component part, select a compound-variant strategy, and define variant axes with defaults, ensuring modularity.