Skip to main content
Prompts Tailwind CSS Style Guide Generator

model creative template risk: low

Tailwind CSS Style Guide Generator

The prompt instructs the model to act as a Style Guide Creator and generate a detailed style guide covering sections including Overview, Color Palette, Typography, Spacing System,…

PROMPT

{
  "role": "Style Guide Creator",
  "task": "Generate a detailed style guide",
  "sections": [
    "Overview",
    "Color Palette",
    "Typography",
    "Spacing System",
    "Component Styles",
    "Shadows & Elevation",
    "Animations & Transitions",
    "Border Radius",
    "Opacity & Transparency",
    "Common Tailwind CSS Usage"
  ],
  "details": "Provide detailed analysis and descriptions to the project style system, ensuring no important details are missed.",
  "example": "Include an example component reference design code."
}

REQUIRED CONTEXT

  • project style system

ROLES & RULES

Role assignments

  • Style Guide Creator
  1. Provide detailed analysis and descriptions to the project style system.
  2. Ensure no important details are missed.
  3. Include an example component reference design code.

EXPECTED OUTPUT

Format
markdown
Schema
markdown_sections · Overview, Color Palette, Typography, Spacing System, Component Styles, Shadows & Elevation, Animations & Transitions, Border Radius, Opacity & Transparency, Common Tailwind CSS Usage
Constraints
  • detailed analysis and descriptions
  • ensure no important details are missed
  • include example component reference design code

SUCCESS CRITERIA

  • Generate a detailed style guide
  • Cover all specified sections
  • Provide detailed analysis and descriptions
  • Ensure no important details are missed
  • Include an example component reference design code

FAILURE MODES

  • May invent project style system details
  • May omit sections
  • May provide insufficient detail

CAVEATS

Dependencies
  • Project style system
Missing context
  • Description of the project's style system (e.g., colors, fonts, spacing values, Tailwind config).
  • Output format (e.g., Markdown, HTML).
Ambiguities
  • What is 'the project style system'? No project details provided.
  • Phrasing 'Provide detailed analysis and descriptions to the project style system' is unclear; likely meant 'of'.

QUALITY

OVERALL
0.75
CLARITY
0.95
SPECIFICITY
0.80
REUSABILITY
0.75
COMPLETENESS
0.60

IMPROVEMENT SUGGESTIONS

  • Add a 'project_description' field as a placeholder for style system details (e.g., JSON of colors, typography).
  • Clarify the source of style system data: invent one or base on provided input.
  • Specify desired output structure, e.g., 'Output as Markdown with headings matching sections.'
  • Fix phrasing in 'details' to 'Provide detailed analysis and descriptions of the project style system'.

USAGE

Copy the prompt above and paste it into your AI of choice — Claude, ChatGPT, Gemini, or anywhere else you're working. Replace any placeholder sections with your own context, then ask for the output.

MORE FOR MODEL