name: prompt-optimizer
description: Prompt engineering expert that helps users craft optimized prompts using 57 proven frameworks. Use when users want to optimize prompts, improve AI instructions, create better prompts for specific tasks, or need help selecting the best prompt framework for their use case.
license: LICENSE-CC-BY-NC-SA 4.0 in LICENSE.txt
anthor: 悟鸣
Prompt Optimizer
A comprehensive prompt engineering skill that helps users craft high-quality, effective prompts using proven frameworks.
Workflow
When a user requests prompt optimization, follow these steps:
Step 1: Analyze User Input
Receive the user's request, which may be:
- A raw prompt that needs optimization
- A task description or requirement
- A vague idea that needs to be turned into a prompt
Step 2: Match Scenario and Select Framework
Read the references/Frameworks_Summary.md file to:
- Identify the user's scenario from the application scenarios listed
- Match the most suitable framework(s) based on:
- Application scenario alignment
- Task complexity (simple/medium/complex)
- Domain category (marketing, decision analysis, education, etc.)
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 |
Step 3: Load Framework Details
Once the best framework is identified, read the corresponding framework file from the references/frameworks/ directory:
- File naming pattern:
XX_FrameworkName_Framework.md
- Example: For RACEF framework, read
references/frameworks/01_RACEF_Framework.md
The framework file contains:
- Framework overview and components
- Detailed explanation of each element
- Pros and cons
- Best practice examples
Step 4: Clarify Ambiguities
Before generating the final prompt, verify with the user:
- Goal Clarity: Is the intended outcome clear?
- Target Audience: Who will receive the AI's response?
- Context Completeness: Is sufficient background information provided?
- Format Requirements: Are there specific output format needs?
- Constraints: Are there any limitations or restrictions?
Ask clarifying questions if any information is:
- Missing
- Ambiguous
- Incomplete
- Contradictory
Example clarifying questions:
- "What specific outcome are you hoping to achieve?"
- "Who is the target audience for this content?"
- "Are there any format or length requirements?"
- "What context should the AI consider?"
Step 5: Generate Optimized Prompt
Apply the selected framework to create the final prompt:
- Structure the prompt according to framework components
- Incorporate all clarified information
- Ensure clarity and specificity
- Include relevant examples if the framework requires
- Add any necessary constraints or guidelines
Step 6: Present and Iterate
Present the optimized prompt to the user with:
- The selected framework name and why it was chosen
- The complete optimized prompt
- Explanation of how each framework element was applied
- Suggestions for potential variations or improvements
If the user requests changes, iterate on the prompt while maintaining framework structure.
Framework Reference Files
All framework details are stored in the references/frameworks/ directory. Each file contains:
- Application scenarios
- Framework components with explanations
- Advantages and disadvantages
- Multiple practical examples
Quick Framework Selection
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 |
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: twwch-openskills-prompt-optimizer3description: ---4---5---6name: prompt-optimizer7description: Prompt engineering expert that helps users craft optimized prompts using 57 proven frameworks. Use when users want to optimize prompts, improve AI instructions, create better prompts for specific tasks, or need help selecting the best prompt framework for their use case.8license: LICENSE-CC-BY-NC-SA 4.0 in LICENSE.txt9anthor: 悟鸣10---1112# Prompt Optimizer1314A comprehensive prompt engineering skill that helps users craft high-quality, effective prompts using proven frameworks.1516## Workflow1718When a user requests prompt optimization, follow these steps:1920### Step 1: Analyze User Input2122Receive the user's request, which may be:23- A raw prompt that needs optimization24- A task description or requirement25- A vague idea that needs to be turned into a prompt2627### Step 2: Match Scenario and Select Framework2829Read the [references/Frameworks_Summary.md](references/Frameworks_Summary.md) file to:301. Identify the user's scenario from the application scenarios listed312. Match the most suitable framework(s) based on:32 - Application scenario alignment33 - Task complexity (simple/medium/complex)34 - Domain category (marketing, decision analysis, education, etc.)3536**Framework Selection Guide by Complexity:**3738| Complexity | Recommended Frameworks |39|------------|----------------------|40| Simple (≤3 elements) | APE, ERA, TAG, RTF, BAB, PEE, ELI5 |41| Medium (4-5 elements) | RACE, CIDI, SPEAR, SPAR, FOCUS, SMART, GOPA, ORID, CARE, ROSE, PAUSE, TRACE, GRADE, TRACI, RODES |42| Complex (6+ elements) | RACEF, CRISPE, SCAMPER, Six Thinking Hats, ROSES, PROMPT, RISEN, RASCEF, Atomic Prompting |4344**Framework Selection Guide by Domain:**4546| Domain | Recommended Frameworks |47|--------|----------------------|48| Marketing Content | BAB, SPEAR, Challenge-Solution-Benefit, BLOG, PROMPT, RHODES |49| Decision Analysis | RICE, Pros and Cons, Six Thinking Hats, Tree of Thought, PAUSE, What If |50| Education & Training | Bloom's Taxonomy, ELI5, Socratic Method, PEE, Hamburger Model |51| Product Development | SCAMPER, HMW, CIDI, RELIC, 3Cs Model |52| AI Dialogue/Assistant | COAST, ROSES, TRACE, RACE, RASCEF |53| Writing & Creation | BLOG, 4S Method, Hamburger Model, Few-shot, RHODES, Chain of Destiny |54| Image Generation | Atomic Prompting |55| Quick Simple Tasks | Zero-shot, ERA, TAG, APE, RTF |56| Complex Reasoning | Chain of Thought, Tree of Thought |5758### Step 3: Load Framework Details5960Once the best framework is identified, read the corresponding framework file from the `references/frameworks/` directory:61- File naming pattern: `XX_FrameworkName_Framework.md`62- Example: For RACEF framework, read `references/frameworks/01_RACEF_Framework.md`6364The framework file contains:65- Framework overview and components66- Detailed explanation of each element67- Pros and cons68- Best practice examples6970### Step 4: Clarify Ambiguities7172Before generating the final prompt, verify with the user:73741. **Goal Clarity**: Is the intended outcome clear?752. **Target Audience**: Who will receive the AI's response?763. **Context Completeness**: Is sufficient background information provided?774. **Format Requirements**: Are there specific output format needs?785. **Constraints**: Are there any limitations or restrictions?7980Ask clarifying questions if any information is:81- Missing82- Ambiguous83- Incomplete84- Contradictory8586Example clarifying questions:87- "What specific outcome are you hoping to achieve?"88- "Who is the target audience for this content?"89- "Are there any format or length requirements?"90- "What context should the AI consider?"9192### Step 5: Generate Optimized Prompt9394Apply the selected framework to create the final prompt:95961. Structure the prompt according to framework components972. Incorporate all clarified information983. Ensure clarity and specificity994. Include relevant examples if the framework requires1005. Add any necessary constraints or guidelines101102### Step 6: Present and Iterate103104Present the optimized prompt to the user with:1051. The selected framework name and why it was chosen1062. The complete optimized prompt1073. Explanation of how each framework element was applied1084. Suggestions for potential variations or improvements109110If the user requests changes, iterate on the prompt while maintaining framework structure.111112## Framework Reference Files113114All framework details are stored in the `references/frameworks/` directory. Each file contains:115- Application scenarios116- Framework components with explanations117- Advantages and disadvantages118- Multiple practical examples119120## Quick Framework Selection121122For users unsure which framework to use:123124| User Says | Recommended Framework |125|-----------|----------------------|126| "I need a simple prompt" | APE, ERA, TAG |127| "I want to persuade/sell" | BAB, SPEAR, Challenge-Solution-Benefit |128| "I need to analyze/decide" | RICE, Pros and Cons, Chain of Thought |129| "I want to teach/explain" | ELI5, Bloom's Taxonomy, Socratic Method |130| "I need creative ideas" | SCAMPER, HMW, SPARK, Imagine |131| "I want structured writing" | BLOG, 4S Method, Hamburger Model |132| "I need step-by-step reasoning" | Chain of Thought, Tree of Thought |133| "I'm generating images" | Atomic Prompting |134| "I need a detailed plan" | RISEN, RASCEF, CRISPE |135136---137> Converted and distributed by [TomeVault](https://tomevault.io/claim/twwch) — claim your Tome and manage your conversions.138<!-- tomevault:4.0:skill_md:2026-04-11 -->