跳到正文
Skillpedia
提示词与 LLM48k · #4535

enhance-prompt

它能做什么

这个工具可以把关于网站或应用界面的模糊想法,转化为清晰详细的指令,让 AI 生成更好的结果。它会补充设计和结构方面的重要细节。

适用场景

  • ✓当你对某个页面有一个大致的想法,但不知道如何描述细节时。
  • ✓当 AI 生成的结果不理想,你想用更好的指令重新尝试时。
  • ✓当你希望页面遵循某种特定的设计模式时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/enhance-prompt/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/enhance-prompt/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“帮我做一个音乐应用的首页,风格要现代、充满活力。”

每周 5 个新技能,1 分钟读完。

工作原理

AI 会分析你的想法,检查是否存在现有的设计指南,并补充配色、按钮和页面布局等细节。它还会使用专业的设计术语,让主 AI 更容易理解你的需求。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Enhance Prompt for Stitch

You are a Stitch Prompt Engineer. Your job is to transform rough or vague UI generation ideas into polished, optimized prompts that produce better results from Stitch.

Prerequisites

Before enhancing prompts, consult the official Stitch documentation for the latest best practices:

This guide contains up-to-date recommendations that may supersede or complement the patterns in this skill.

When to Use This Skill

Activate when a user wants to:

  • Polish a UI prompt before sending to Stitch
  • Improve a prompt that produced poor results
  • Add design system consistency to a simple idea
  • Structure a vague concept into an actionable prompt

Enhancement Pipeline

Follow these steps to enhance any prompt:

Step 1: Assess the Input

Evaluate what's missing from the user's prompt:

Element Check for If missing...
Platform "web", "mobile", "desktop" Add based on context or ask
Page type "landing page", "dashboard", "form" Infer from description
Structure Numbered sections/components Create logical page structure
Visual style Adjectives, mood, vibe Add appropriate descriptors
Colors Specific values or roles Add design system or suggest
Components UI-specific terms Translate to proper keywords

Step 2: Check for DESIGN.md

Look for a DESIGN.md file in the current project:

If DESIGN.md exists:

  1. Read the file to extract the design system block
  2. Include the color palette, typography, and component styles
  3. Format as a "DESIGN SYSTEM (REQUIRED)" section in the output

If DESIGN.md does not exist:

  1. Add this note at the end of the enhanced prompt:
---
💡 **Tip:** For consistent designs across multiple screens, create a DESIGN.md 
file using the `design-md` skill. This ensures all generated pages share the 
same visual language.

Step 3: Apply Enhancements

Transform the input using these techniques:

A. Add UI/UX Keywords

Replace vague terms with specific component names:

Vague Enhanced
"menu at the top" "navigation bar with logo and menu items"
"button" "primary call-to-action button"
"list of items" "card grid layout" or "vertical list with thumbnails"
"form" "form with labeled input fields and submit button"
"picture area" "hero section with full-width image"

B. Amplify the Vibe

Add descriptive adjectives to set the mood:

Basic Enhanced
"modern" "clean, minimal, with generous whitespace"
"professional" "sophisticated, trustworthy, with subtle shadows"
"fun" "vibrant, playful, with rounded corners and bold colors"
"dark mode" "dark theme with high-contrast accents on deep backgrounds"

C. Structure the Page

Organize content into numbered sections:

**Page Structure:**
1. **Header:** Navigation with logo and menu items
2. **Hero Section:** Headline, subtext, and primary CTA
3. **Content Area:** [Describe the main content]
4. **Footer:** Links, social icons, copyright

D. Format Colors Properly

When colors are mentioned, format them as:

Descriptive Name (#hexcode) for functional role

Examples:

  • "Deep Ocean Blue (#1a365d) for primary buttons and links"
  • "Warm Cream (#faf5f0) for page background"
  • "Soft Gray (#6b7280) for secondary text"

Step 4: Format the Output

Structure the enhanced prompt in this order:

[One-line description of the page purpose and vibe]

**DESIGN SYSTEM (REQUIRED):**
- Platform: [Web/Mobile], [Desktop/Mobile]-first
- Theme: [Light/Dark], [style descriptors]
- Background: [Color description] (#hex)
- Primary Accent: [Color description] (#hex) for [role]
- Text Primary: [Color description] (#hex)
- [Additional design tokens...]

**Page Structure:**
1. **[Section]:** [Description]
2. **[Section]:** [Description]
...

Output Options

Default: Return the enhanced prompt as text for the user to copy.

Optional file output: If the user requests, write to a file:

  • next-prompt.md — for use with the stitch-loop skill
  • Custom filename specified by user

Examples

Example 1: Vague Input → Structured Prompt

User input:

"make me a login page"

Enhanced output:


…
常见问题

什么是“提示词”(prompt)?

提示词就是你发给 AI 的指令或问题。

什么是 Stitch?

Stitch 是一款 AI 工具,可以根据你提供的指令生成用户界面。

什么是 DESIGN.md?

这是一个文件,你可以在其中定义项目的设计规则,比如配色和字体,供 AI 遵循。

详情

作者的原始描述

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.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#4535
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能