prompt-optimizer by chujianyun/skills
npx skills add https://github.com/chujianyun/skills --skill prompt-optimizer一个全面的提示工程技能,帮助用户使用经过验证的框架来构建高质量、有效的提示词。
复制此清单并跟踪您的进度:
当用户请求创建或优化提示词时,请遵循以下步骤:
接收用户的请求,可能是:
阅读 references/Frameworks_Summary.md 文件以:
按复杂度选择框架指南:
| 复杂度 | 推荐框架 |
|---|---|
| 简单(≤3 个元素) | APE, ERA, TAG, RTF, BAB, PEE, ELI5 |
| 中等(4-5 个元素) | RACE, CIDI, SPEAR, SPAR, FOCUS, SMART, GOPA, ORID, CARE, ROSE, PAUSE, TRACE, GRADE, TRACI, RODES |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 复杂(6+ 个元素) | RACEF, CRISPE, SCAMPER, Six Thinking Hats, ROSES, PROMPT, RISEN, RASCEF, Atomic Prompting |
按领域选择框架指南:
| 领域 | 推荐框架 |
|---|---|
| 营销内容 | BAB, SPEAR, Challenge-Solution-Benefit, BLOG, PROMPT, RHODES |
| 决策分析 | RICE, Pros and Cons, Six Thinking Hats, Tree of Thought, PAUSE, What If |
| 教育与培训 | Bloom's Taxonomy, ELI5, Socratic Method, PEE, Hamburger Model |
| 产品开发 | SCAMPER, HMW, CIDI, RELIC, 3Cs Model |
| AI 对话/助手 | COAST, ROSES, TRACE, RACE, RASCEF |
| 写作与创作 | BLOG, 4S Method, Hamburger Model, Few-shot, RHODES, Chain of Destiny |
| 图像生成 | Atomic Prompting |
| 快速简单任务 | Zero-shot, ERA, TAG, APE, RTF |
| 复杂推理 | Chain of Thought, Tree of Thought |
一旦确定了最佳框架,请从 references/frameworks/ 目录中读取相应的框架文件:
XX_FrameworkName_Framework.mdreferences/frameworks/01_RACEF_Framework.md框架文件包含:
在生成最终提示词之前,向用户核实:
如果任何信息出现以下情况,请提出澄清性问题:
示例澄清性问题:
应用所选框架创建最终提示词:
向用户呈现优化后的提示词,并包含:
如果用户要求更改,请在保持框架结构的同时迭代提示词。
所有框架详情都存储在 references/frameworks/ 目录中。每个文件包含:
对于不确定使用哪个框架的用户:
| 用户表述 | 推荐框架 |
|---|---|
| “我需要一个简单的提示词” | APE, ERA, TAG |
| “我想说服/销售” | BAB, SPEAR, Challenge-Solution-Benefit |
| “我需要分析/决策” | RICE, Pros and Cons, Chain of Thought |
| “我想教学/解释” | ELI5, Bloom's Taxonomy, Socratic Method |
| “我需要创意想法” | SCAMPER, HMW, SPARK, Imagine |
| “我想要结构化写作” | BLOG, 4S Method, Hamburger Model |
| “我需要逐步推理” | Chain of Thought, Tree of Thought |
| “我正在生成图像” | Atomic Prompting |
| “我需要一个详细计划” | RISEN, RASCEF, CRISPE |
每周安装量
54
仓库
GitHub 星标数
309
首次出现
2026年1月22日
安全审计
安装于
opencode47
gemini-cli45
codex44
claude-code43
cursor35
github-copilot35
A comprehensive prompt engineering skill that helps users craft high-quality, effective prompts using proven frameworks.
Copy this checklist and track your progress:
When a user requests create or prompt optimization, follow these steps:
Receive the user's request, which may be:
Read the references/Frameworks_Summary.md file to:
Framework Selection Guide by Complexity:
| Complexity | Recommended Frameworks |
|---|---|
| Simple (≤3 elements) | APE, ERA, TAG, RTF, BAB, PEE, ELI5 |
| Medium (4-5 elements) | RACE, CIDI, SPEAR, SPAR, FOCUS, SMART, GOPA, ORID, CARE, ROSE, PAUSE, TRACE, GRADE, TRACI, RODES |
| Complex (6+ elements) | RACEF, CRISPE, SCAMPER, Six Thinking Hats, ROSES, PROMPT, RISEN, RASCEF, Atomic Prompting |
Framework Selection Guide by Domain:
| Domain | Recommended Frameworks |
|---|---|
| Marketing Content | BAB, SPEAR, Challenge-Solution-Benefit, BLOG, PROMPT, RHODES |
| Decision Analysis | RICE, Pros and Cons, Six Thinking Hats, Tree of Thought, PAUSE, What If |
| Education & Training | Bloom's Taxonomy, ELI5, Socratic Method, PEE, Hamburger Model |
| Product Development | SCAMPER, HMW, CIDI, RELIC, 3Cs Model |
| AI Dialogue/Assistant | COAST, ROSES, TRACE, RACE, RASCEF |
| Writing & Creation | BLOG, 4S Method, Hamburger Model, Few-shot, RHODES, Chain of Destiny |
| Image Generation | Atomic Prompting |
| Quick Simple Tasks | Zero-shot, ERA, TAG, APE, RTF |
| Complex Reasoning | Chain of Thought, Tree of Thought |
Once the best framework is identified, read the corresponding framework file from the references/frameworks/ directory:
XX_FrameworkName_Framework.mdreferences/frameworks/01_RACEF_Framework.mdThe framework file contains:
Before generating the final prompt, verify with the user:
Ask clarifying questions if any information is:
Example clarifying questions:
Apply the selected framework to create the final prompt:
Present the optimized prompt to the user with:
If the user requests changes, iterate on the prompt while maintaining framework structure.
All framework details are stored in the references/frameworks/ directory. Each file contains:
For users unsure which framework to use:
| User Says | Recommended Framework |
|---|---|
| "I need a simple prompt" | APE, ERA, TAG |
| "I want to persuade/sell" | BAB, SPEAR, Challenge-Solution-Benefit |
| "I need to analyze/decide" | RICE, Pros and Cons, Chain of Thought |
| "I want to teach/explain" | ELI5, Bloom's Taxonomy, Socratic Method |
| "I need creative ideas" | SCAMPER, HMW, SPARK, Imagine |
| "I want structured writing" | BLOG, 4S Method, Hamburger Model |
| "I need step-by-step reasoning" | Chain of Thought, Tree of Thought |
| "I'm generating images" | Atomic Prompting |
| "I need a detailed plan" | RISEN, RASCEF, CRISPE |
Weekly Installs
54
Repository
GitHub Stars
309
First Seen
Jan 22, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode47
gemini-cli45
codex44
claude-code43
cursor35
github-copilot35
AI 代码实施计划编写技能 | 自动化开发任务分解与 TDD 流程规划工具
50,900 周安装
ActiveCampaign自动化集成指南:通过Rube MCP实现CRM与营销自动化
72 周安装
通过Rube MCP实现Make自动化:集成Composio工具包管理场景与操作
72 周安装
Microsoft Teams自动化指南:通过Rube MCP实现频道消息、聊天与会议管理
72 周安装
Electrobun 最佳实践:TypeScript + Bun 跨平台桌面应用开发指南
72 周安装
ATXP Memory:AI代理记忆管理工具 - 云端备份与本地向量搜索
72 周安装
Brave Search Spellcheck API:智能拼写检查与查询纠正,提升搜索准确性
72 周安装