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
- 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 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
- Ask for any missing context above before drafting, especially the design tokens and framework.
- 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.
- For each token category, list the actual values provided and a short usage guideline (when to use which).
- 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.