1.2 KiB
1.2 KiB
Stitch Enhance Prompt Skill
Install
npx add-skill 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:
- Assessment: Evaluates the input for missing elements (platform, structure, visual style, colors).
- DESIGN.md Check: Looks for an existing design system to inject; recommends creating one if missing.
- Enhancement: Applies UI/UX keywords, vibe adjectives, and structured page sections.
- Formatting: Outputs a Stitch-optimized prompt with design system block and numbered structure.
- Delivery: Returns enhanced text for user review, with optional file output.