stitch-enhance-prompt
Installation
SKILL.md
Stitch Enhance Prompt
This skill is a catalog-normalized import from https://github.com/google-labs-code/stitch-skills at commit 3f64079d75d025bc5890c73669f27c26a2d80b31, source path plugins/stitch-utilities/skills/enhance-prompt. The upstream control file was corrected for this workspace: the verified Stitch MCP surface here is design-system oriented, so screen lookup, screen generation, and screen editing tools must be used only when the current host explicitly exposes them.
When to Use This Skill
- Use when a rough Stitch prompt needs better structure or an edit prompt needs precision.
- The task involves Google Stitch project IDs,
.stitch/artifacts, DESIGN.md files, Stitch exports, or Stitch-specific validation. - The broader
stitch-designrouter points here as the narrowest workflow.
Workflow
- Identify platform, page type, intent, sections, visual style, components, and constraints already present.
- Read
.stitch/DESIGN.mdwhen present and include only relevant rules. - Replace vague terms with concrete UI patterns, component names, and layout structure.
- For generation prompts, describe layout, content, and behavior without duplicating project-level theme tokens.
- For edit prompts, name the exact screen region and focused change.
- Return the enhanced prompt plus assumptions that affect the design.