All skills
google-labs-code avatar

/enhance-prompt

@00128d4 official

Transforms vague UI ideas into polished, Stitch-optimized prompts. Enhances specificity, adds UI/UX keywords, injects design system context, and structures output for better generation results.

Use this Skill: https://skilld.dev/gh/google-labs-code/stitch-skills/enhance-prompt

This session only. Nothing lands on disk.

referencesKEYWORDS.md

≈672 tokens on demand. Your agent reads this file only when SKILL.md points to it.

UI/UX Keywords Reference

Progressive disclosure reference for common UI terminology and adjective palettes.

Component Keywords

Navigation

  • navigation bar, nav menu, header
  • breadcrumbs, tabs, sidebar
  • hamburger menu, dropdown menu
  • back button, close button

Content Containers

  • hero section, hero banner
  • card, card grid, tile
  • modal, dialog, popup
  • accordion, collapsible section
  • carousel, slider

Forms

  • input field, text input
  • dropdown, select menu
  • checkbox, radio button
  • toggle switch
  • date picker, time picker
  • search bar, search input
  • submit button, form actions

Calls to Action

  • primary button, secondary button
  • ghost button, text link
  • floating action button (FAB)
  • icon button

Feedback

  • toast notification, snackbar
  • alert banner, warning message
  • loading spinner, skeleton loader
  • progress bar, step indicator

Layout

  • grid layout, flexbox
  • sidebar layout, split view
  • sticky header, fixed footer
  • full-width, contained width
  • centered content, max-width container

Adjective Palettes

Minimal / Clean

  • minimal, clean, uncluttered
  • generous whitespace, breathing room
  • subtle, understated, refined
  • simple, focused, distraction-free

Professional / Corporate

  • sophisticated, polished, trustworthy
  • corporate, business-like, formal
  • subtle shadows, clean lines
  • structured, organized, hierarchical

Playful / Fun

  • vibrant, colorful, energetic
  • rounded corners, soft edges
  • bold, expressive, dynamic
  • friendly, approachable, warm

Premium / Luxury

  • elegant, luxurious, high-end
  • dramatic, bold contrasts
  • sleek, modern, cutting-edge
  • exclusive, boutique, curated

Dark Mode

  • dark theme, night mode
  • high-contrast accents
  • soft glows, subtle highlights
  • deep backgrounds, muted surfaces

Organic / Natural

  • earthy tones, natural colors
  • warm, inviting, cozy
  • textured, tactile, handcrafted
  • flowing, organic shapes

Color Role Terminology

Backgrounds

  • page background, canvas
  • surface color, card background
  • overlay, scrim

Text

  • primary text, heading color
  • secondary text, body copy
  • muted text, placeholder
  • inverse text (on dark backgrounds)

Accents

  • primary accent, brand color
  • secondary accent, highlight
  • success, error, warning colors
  • hover state, active state

Shape Descriptions

Technical Natural Language
rounded-none sharp, squared-off edges
rounded-sm slightly softened corners
rounded-md gently rounded corners
rounded-lg generously rounded corners
rounded-xl very rounded, pillow-like
rounded-full pill-shaped, circular

Source: SKILL.md on GitHub

No alerts16d5 checks · Risk SAFE
  • Gen Agent Trust Hub16d

    The skill provides prompt enhancement for UI generation, converting simple UI ideas into structured prompts. Analysis did not reveal any security vulnerabilities or malicious patterns.

  • Socket16d

    No alerts

  • Snyk16d

    Risk: LOW · No issues

  • Runlayer7mo

    3 files scanned · No issues

  • ZeroLeaks5mo

    1 finding · Score: 86/100

Signed by skilld at 00128d4. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 3 days ago.

Steadyupdated 8 months ago
What it can do
Reads files Edits files
All 2 allowed tools
ReadWrite
  • stitch
  • prompt-engineering
  • ui-generation
  • design-system
  • google-labs
  • component-structure
  • ux-keywords

README badge

README badge for google-labs-code/stitch-skills/enhance-prompt

Transforms vague UI ideas into structured, Stitch-optimized prompts by adding component terminology, design system context, color specifications, and page hierarchy. Use this skill before sending UI generation requests to Stitch to improve output quality and consistency.

Generated from the current SKILL.md.

What is Stitch and do I need it installed to use this skill?
Stitch is Google Labs' UI generation tool. This skill enhances prompts for Stitch, so you should have access to Stitch or be planning to use it. The skill itself does not run Stitch — it prepares prompts for better results.
Does this skill read a DESIGN.md file automatically?
Yes. The skill checks for a DESIGN.md file in the current project and extracts design system tokens (colors, typography, components) to inject into the enhanced prompt. If no DESIGN.md exists, it suggests creating one for consistency.
Can I use this skill to edit an existing prompt instead of creating a new one?
Yes. You can provide a rough or poorly-performing prompt and the skill will enhance it by adding specificity, design system context, and better structure. The skill follows the same enhancement pipeline whether you're starting from scratch or improving existing work.
What does 'Stitch-optimized' mean in this context?
It means the enhanced prompt uses specific UI/UX keywords (component names, layout terms, design descriptors) and structured sections that Stitch's generation model responds to more reliably than vague natural language.
Can this skill write the enhanced prompt to a file?
Yes. By default it returns the enhanced prompt as text to copy, but you can request it write to a file like `next-prompt.md` for use with the `stitch-loop` skill, or any custom filename you specify.

Generated from the current SKILL.md. These answers refresh after source changes.