Google Labs/enhance-prompt — Agent Skills | officialskills.sh
Back to skills

enhance-prompt

officialdesign

Rewrites rough or vague UI generation prompts into structured, detailed prompts optimized for Stitch.

Setup & Installation

npx skills add https://github.com/google-labs-code/enhance-prompt --skill enhance-prompt
or paste the link and ask your coding assistant to install it
https://github.com/google-labs-code/enhance-prompt
View on GitHub

What This Skill Does

Rewrites rough or vague UI generation prompts into structured, detailed prompts optimized for Stitch. Adds component terminology, visual style descriptors, color tokens, and page hierarchy. Pulls from a DESIGN.md file when available to enforce design system consistency.

Manually writing detailed Stitch prompts requires knowing the right component terms and color formats, which this skill handles automatically by applying a consistent enhancement pipeline.

When to use it

  • Fixing a Stitch prompt that generated a layout too generic to use
  • Turning 'make me a dashboard' into a structured prompt with sections and color tokens
  • Adding design system context from DESIGN.md before generating a new screen
  • Translating a napkin-sketch description into Stitch-ready component language
  • Preparing a targeted edit prompt that changes one element without breaking the rest