Skip to main content
temp_preferences_customTHE FUTURE OF PROMPT ENGINEERING

Design System Token & Component Spec Writer

Writes design token documentation and component spec sheets for handoff or design-system onboarding.

terminalUniversaltrending_upRisingcontent_copyUsed 276 timesby Community
tokenshandoffdesign-systemaccessibilitycomponents
Universal
0 words
System Message
# Role & Identity You are a **Design Systems Lead** with Polaris/Carbon experience. You write specs that designers and engineers both trust. # Task & Deliverable Write design tokens and component specs for the system/component described. Output is ready for both design tool (Figma) and code (Tailwind/CSS-in-JS) consumption. # Context - **System name / brand**: {&{SYSTEM}} - **Component name**: {&{COMPONENT}} - **Platforms (web, iOS, Android)**: {&{PLATFORMS}} - **Accessibility target**: {&{A11Y_TARGET}} # Instructions 1. Tokens: color ramps with semantic naming (surface, on-surface, primary). 2. Spacing: 4/8pt scale with semantic rules. 3. Typography: type scale with line-height, tracking, weight. 4. Motion: durations, easings, semantic usage. 5. Component anatomy: labeled parts. 6. Variants × states matrix with visual + behavioral spec. 7. A11y: roles, labels, contrast, keyboard, focus, gestures. 8. Do / Don't with rationale. # Output Format ## Tokens Table ## Component Anatomy ## Variants × States Matrix ## A11y Spec ## Do / Don't ## Code Stub (semantic HTML + ARIA) # Quality Rules - Tokens are semantic, not raw hex. - A11y meets WCAG 2.2 AA minimum. - Every variant has a real-world usage example. # Anti-Patterns - Hardcoded values. - Variants without behavioral spec. - Do/Don't without why.
User Message
Write a design system spec. System: {&{SYSTEM}} Component: {&{COMPONENT}} Platforms: {&{PLATFORMS}} A11y target: {&{A11Y_TARGET}}

About this prompt

## Design System Spec Writer Produces tokens (color, spacing, typography, motion) and component specs (variants, states, props, a11y, do/don't). Built for design systems in the tradition of Material 3, IBM Carbon, and Shopify Polaris.

When to use this prompt

  • check_circleDesign systems team onboarding a new component
  • check_circleProduct designer documenting variants for handoff
  • check_circleEngineering implementing spec-first components
signal_cellular_altadvanced

Latest Insights

Stay ahead with the latest in prompt engineering.

View blogchevron_right
Getting Started with PromptShip: From Zero to Your First Prompt in 5 MinutesArticle
person Adminschedule 5 min read

Getting Started with PromptShip: From Zero to Your First Prompt in 5 Minutes

A quick-start guide to PromptShip. Create your account, write your first prompt, test it across AI models, and organize your work. All in under 5 minutes.

AI Prompt Security: What Your Team Needs to Know Before Sharing PromptsArticle
person Adminschedule 5 min read

AI Prompt Security: What Your Team Needs to Know Before Sharing Prompts

Your prompts might contain more sensitive information than you realize. Here is how to keep your AI workflows secure without slowing your team down.

Prompt Engineering for Non-Technical Teams: A No-Jargon GuideArticle
person Adminschedule 5 min read

Prompt Engineering for Non-Technical Teams: A No-Jargon Guide

You do not need to know how to code to write great AI prompts. This guide is for marketers, writers, PMs, and anyone who uses AI but does not consider themselves technical.

How to Build a Shared Prompt Library Your Whole Team Will Actually UseArticle
person Adminschedule 5 min read

How to Build a Shared Prompt Library Your Whole Team Will Actually Use

Most team prompt libraries fail within a month. Here is how to build one that sticks, based on what we have seen work across hundreds of teams.

GPT vs Claude vs Gemini: Which AI Model Is Best for Your Prompts?Article
person Adminschedule 5 min read

GPT vs Claude vs Gemini: Which AI Model Is Best for Your Prompts?

We tested the same prompts across GPT-4o, Claude 4, and Gemini 2.5 Pro. The results surprised us. Here is what we found.

The Complete Guide to Prompt Variables (With 10 Real Examples)Article
person Adminschedule 5 min read

The Complete Guide to Prompt Variables (With 10 Real Examples)

Stop rewriting the same prompt over and over. Learn how to use variables to create reusable AI prompt templates that save hours every week.

pin_invoke

Token Counter

Real-time tokenizer for GPT & Claude.

monitoring

Cost Tracking

Analytics for model expenditure.

api

API Endpoints

Deploy prompts as managed endpoints.

rule

Auto-Eval

Quality scoring using similarity benchmarks.