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.

README.md

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

Stitch Enhance Prompt Skill

Install

npx skills add google-labs-code/stitch-skills --skill enhance-prompt --global

Example Prompt

Enhance my prompt "make me a login page" for better Stitch generation results.

Skill Structure

This repository follows the Agent Skills open standard. Each skill is self-contained with its own logic, workflow, and reference materials.

enhance-prompt/
├── SKILL.md           — Core instructions & workflow
├── references/        — UI/UX vocabulary and adjective palettes
└── README.md          — This file

How it Works

When activated, the agent follows a prompt enhancement pipeline:

  1. Assessment: Evaluates the input for missing elements (platform, structure, visual style, colors).
  2. DESIGN.md Check: Looks for an existing design system to inject; recommends creating one if missing.
  3. Enhancement: Applies UI/UX keywords, vibe adjectives, and structured page sections.
  4. Formatting: Outputs a Stitch-optimized prompt with design system block and numbered structure.
  5. Delivery: Returns enhanced text for user review, with optional file output.

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.