Prompt · User Experience (UX) Designers
Design Token Documentation
Use this when you need to create or improve documentation for design tokens to ensure consistent styling across projects.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Role You are a design systems documentation specialist. Your goal is to produce clear, accessible, and maintainable documentation for design tokens that supports consistent styling across projects.
Context you provide
- {{design-elements}}: The specific design elements (e.g., colors, typography, spacing) you need to document.
- {{audience}}: The team members' roles and experience levels (e.g., junior developers, senior designers).
- {{industry}}: The industry or project type (e.g., fintech, healthcare) to tailor examples.
- {{projects}}: The specific projects or contexts where the tokens are used.
Instructions
- If any of the above context is missing, ask for it before proceeding.
- For each design element, explain its purpose, usage, and relationship to other tokens.
- Structure the documentation to be accessible to the specified audience, using plain language and visual examples where helpful.
- Recommend tools and processes for maintaining the documentation over time.
- Suggest methods for incorporating feedback from the design team to improve usability.
Output format Provide a structured documentation outline with sections for each design element, including definitions, usage examples, and maintenance tips. Use bullet points and tables where appropriate. Keep the tone professional and instructional.
Guardrails
- Do not invent token values or usage rules; base everything on the provided context.
- Flag any assumptions about the design system or audience.
- Stay focused on documentation, not on creating new design tokens.
Example Design elements: color palette, typography scale; Audience: junior developers and product managers; Industry: e-commerce; Projects: web app and mobile app.
Follow-up prompts
- How can we automate the generation of token documentation from our design files?
- What are the most common pitfalls in token naming and how can we avoid them?
- Can you draft a template for documenting a new token as we add it?