# Enhance Stitch UI Prompts

Vague UI prompts often produce inconsistent Stitch screens. This skill turns rough ideas into structured prompts with design system context, UI vocabulary, and clear page sections.

## Install

```bash
npx skillstore add google-labs-code/enhance-prompt
```

## Metadata

- Status: approved
- Slug: google-labs-code-enhance-prompt
- Skillstore revision: r1
- Version status: missing
- Tree hash: f54764e87e1ea79355ce8d688e1dd996400fd0c3d6927c4560f75cec2eb59ef4
- Author: google-labs-code
- GitHub username: google-labs-code
- License: MIT
- Repository: https://github.com/google-labs-code/stitch-skills/tree/main/skills/enhance-prompt/
- Ref: 0519034dad657fb1f7706e0550e962beeda73fdf
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: allowed
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: external\_commands, network
- Quality score: 77
- Quality tier: bronze
- Public page: https://skillstore.pages.dev/skills/google-labs-code-enhance-prompt
- Manifest: https://skillstore.pages.dev/api/skills/google-labs-code-enhance-prompt/manifest

## Capabilities

- Assesses prompts for missing platform, page type, structure, visual style, colors, and components.
- Reads DESIGN.md when present and includes palette, typography, and component guidance.
- Adds UI and UX keywords that describe concrete components and layouts.
- Formats enhanced prompts with design system sections and numbered page structure.
- Can write the enhanced prompt to next-prompt.md or a user-specified file when requested.
- Directs users to Stitch prompting documentation for current guidance.

## Use Cases

- Clarify Early UI Ideas: Turn a short screen idea into a structured Stitch prompt with platform, sections, style, colors, and components.
- Keep Screens Consistent: Use an existing DESIGN.md file so new screen prompts follow the same visual system.
- Improve Regeneration Requests: Rewrite failed or vague UI generation requests into focused edits that preserve existing screen intent.

## Prompt Templates

### Improve a Basic Screen Idea

```
Enhance this Stitch prompt: [describe the screen]. Add platform, visual style, sections, colors, and component keywords.
```

### Apply a Design System

```
Use the current DESIGN.md to enhance this prompt: [prompt]. Keep the design system required and make assumptions explicit.
```

### Refine a Failed Generation

```
My Stitch result missed these points: [issues]. Rewrite the prompt to correct them while preserving the original product intent.
```

### Prepare a Multi-Screen Flow

```
Create enhanced Stitch prompts for these screens: [screens]. Use shared design guidance, clear navigation context, and one prompt per screen.
```

## Limitations

- It improves prompts; it does not generate the final interface itself.
- It depends on the quality and accuracy of the original user intent.
- It may infer missing design choices when the request lacks detail.
- It targets Stitch workflows and may need adjustment for other builders.

## Best Practices

- Provide the product goal, target device, and core user action before asking for enhancement.
- Keep DESIGN.md current so prompts use consistent colors, type, and components.
- Use one focused edit request when refining an existing Stitch screen.

## Anti Patterns

- Asking for many unrelated screens in one vague prompt.
- Omitting brand, audience, and platform details when they are important.
- Treating inferred design choices as final without reviewing them.

## Security Audit

- Audited at: 2026-07-09T11:18:13.645\+00:00
- Summary: All static findings were reviewed as false positives. The reported external command detections are markdown fences or inline formatting, and the network finding is a documentation link. No prompt injection, data exfiltration, or command execution intent was found in the inspected files.

## Stats

- Views: 187
- Downloads: 19
- Favorites: 0
- Popularity score: 0
