Claude Skills
CollectionsCompareWorkflowsNominate
Sign inSign up
© 2026 Curated Agent Skills·Learn more about Agent Skills
Back to repository

prompt-optimizer

verified

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.

View on GitHub

Marketplace

wuming-skills

chujianyun/skills

Plugin

qoder-wiki

Repository

chujianyun/skills
231stars

skills/prompt-optimizer/SKILL.md

Last Verified

February 2, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/chujianyun/skills/blob/main/skills/prompt-optimizer/SKILL.md -a claude-code --skill prompt-optimizer

Installation paths:

Claude
.claude/skills/prompt-optimizer/
Powered by add-skill CLI

Instructions

# Prompt Optimizer

A comprehensive prompt engineering skill that helps users craft high-quality, effective prompts using proven frameworks.

## Workflow

Copy this checklist and track your progress:
- [ ] Step 1: Analyze User Input
- [ ] Step 2: Match Scenario and Select Framework
- [ ] Step 3: Load Framework Details
- [ ] Step 4: Clarify Ambiguities
- [ ] Step 5: Generate Optimized Prompt
- [ ] Step 6: Present and Iterate

When a user requests create or 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](references/Frameworks_Summary.md) file to:
1. Identify the user's scenario from the application scenarios listed
2. 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

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
5096 chars