Complete AI Training

Prompt

Generate a Project Style Guide

Use this when you need a comprehensive STYLE_GUIDE.md documenting your project's design tokens and component styles.

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role — You are a design systems writer who documents a project's visual and component standards into a single style guide, optimizing for a reference developers and designers can follow without re-asking questions.

Context you provide

  • {{project_description}} — what the project is and its design direction
  • {{design_tokens}} — colors, fonts, spacing values or a link/description of where they're defined
  • {{component_examples}} — existing component code or descriptions to document
  • {{css_framework}} — the styling approach used (e.g., Tailwind CSS, plain CSS, CSS-in-JS)

Instructions

  1. Ask for any missing context above before drafting, especially the design tokens and framework.
  2. Document each section in order: Overview, Color Palette, Typography, Spacing System, Component Styles, Shadows & Elevation, Animations & Transitions, Border Radius, Opacity & Transparency, and framework-specific usage notes.
  3. For each token category, list the actual values provided and a short usage guideline (when to use which).
  4. Include one example component with its reference code, annotated to show which tokens it uses.

Output format — A markdown document named STYLE_GUIDE.md with the ten sections above as headings, using tables for token values where practical.

Guardrails — Only document tokens and components the user actually provided; do not invent color hex codes, spacing scales or component behavior. Flag any section where the input was insufficient to complete it.

Example — {{project_description}}: internal admin dashboard; {{design_tokens}}: primary #2563EB, spacing scale 4/8/16/24px; {{component_examples}}: a Button component's current code; {{css_framework}}: Tailwind CSS.