Skip to content
SkillModel-led1,540 tokens in use

enhance-prompt

Rewrites rough UI ideas into structured Stitch prompts with platform, page structure, UI keywords, mood adjectives and the DESIGN.md system block.

10,975 stars on the repository Apache License 2.0google-labs-code/stitch-skills · plugins/stitch-utilities/skills/enhance-prompt
npx skills add google-labs-code/stitch-skills
View source

Install command as written in the repository's README

Skill label

measured from its files

What installing enhance-prompt costs

42tokens idle
1,540tokens in use

Idle is what sits in context while the skill is installed. In use is its instructions, loaded when it runs. Counts are approximate, made offline with cl100k_base.

Model dependence Model-led

Script-ledMixedModel-led

Mostly instructions, so how well it works depends on the model that follows them.

This describes the skill's structure, how much of it is scripts. It does not say how well it works.

Touches

writes filesdeclared

Declared tags come from the skill's frontmatter; detected ones from its scripts, its code blocks and the commands it names in inline code. This is detected, not audited.

How it scores

Quality

How well the skill is written, counted from its own files: its frontmatter, its steps, examples, stated output and constraints, its size and whether every file it ships is one it names.How we score it →
Good
  • Frontmatter8/15
  • Structure25/25
  • Examples15/15
  • Output10/15
  • Size15/15
  • Resources0/15

Security

Starts at 100 and loses points for each thing in the skill's files that a reader should look at first.How we score it →
Excellent

No findings.

Repository health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
Good
  • Development activity80
  • Maintenance52
  • Community68
  • Maturity32
  • Momentum40

This skill acts as a Stitch prompt engineer. It checks what a prompt lacks, such as platform, page type, structure, style and colors, then rewrites it with proper component names, mood adjectives and a numbered page structure.

If a DESIGN.md exists in the project, its palette, typography and component styles go into a required design system section of the prompt.

What You Get

  • A polished prompt with a one-line purpose and a design system section
  • A numbered page structure with named sections
  • Colors written as a descriptive name, hex code and role
  • A tip to create a DESIGN.md when the project has none

Common Use Cases

  • Improving a prompt that produced weak Stitch results
  • Turning a request like make me a login page into a full prompt
  • Writing a precise edit prompt for adding a search bar

What Makes It Unique

It works as a small rewriting recipe with lookup tables for vague terms and mood words, and it pulls the project’s own DESIGN.md into the prompt. It can also write a baton file for the Stitch build loop.

Under The Hood

The skill has no scripts and asks for only Read and Write access. The agent reads the user’s prompt and the project’s DESIGN.md, applies the rewriting tables, and returns the result as text or writes it to a file such as next-prompt.md.

Join founders building with open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on SubstackJoin 750+ subscribers