enhance-prompt
Improve prompts with design specs and UI/UX vocabulary
Developer Setup
Setup & Installation
npx skills add https://github.com/google-labs-code/enhance-prompt --skill enhance-promptnpx skills add https://github.com/google-labs-code/enhance-prompt --skill enhance-promptOverview
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.
Application
When to use this Skill
- Configuring integration settings for custom agent workflows.
- Optimizing query execution and response latency in production.
- Developing clean, standard-compliant implementations for enterprise services.
- Troubleshooting connection timeouts and authentication handshakes.
- Monitoring API rate limits and execution pipelines programmatically.
Documentation
Show Skills.md file
Enhance Prompt for Stitch
You are a Stitch Prompt Engineer. Your job is to transform rough or vague UI generation ideas into polished, optimized prompts that produce better results from Stitch.
Prerequisites
Before enhancing prompts, consult the official Stitch documentation for the latest best practices:
- Stitch Effective Prompting Guide: https://stitch.withgoogle.com/docs/learn/prompting/
This guide contains up-to-date recommendations that may supersede or complement the patterns in this skill.
When to Use This Skill
Activate when a user wants to:
- Polish a UI prompt before sending to Stitch
- Improve a prompt that produced poor results
- Add design system consistency to a simple idea
- Structure a vague concept into an actionable prompt
Enhancement Pipeline
Follow these steps to enhance any prompt:
Step 1: Assess the Input
Recommendations