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.
/plugin marketplace add chujianyun/skills/plugin install chujianyun-prompt-engineering-skills@chujianyun/skillsThis skill inherits all available tools. When active, it can use any tool Claude has access to.
LICENSE.txtreferences/Frameworks_Summary.mdreferences/frameworks/01_RACEF_Framework.mdreferences/frameworks/02_CRISPE_Framework.mdreferences/frameworks/03_BAB_Framework.mdreferences/frameworks/04_Tree_of_Thought_Framework.mdreferences/frameworks/05_RICE_Framework.mdreferences/frameworks/06_RELIC_Framework.mdreferences/frameworks/07_SCAMPER_Framework.mdreferences/frameworks/08_BLOG_Framework.mdreferences/frameworks/09_Six_Thinking_Hats_Framework.mdreferences/frameworks/10_CIDI_Framework.mdreferences/frameworks/11_SPEAR_Framework.mdreferences/frameworks/12_Few_shot_Framework.mdreferences/frameworks/13_Zero_shot_Framework.mdreferences/frameworks/14_FOCUS_Framework.mdreferences/frameworks/15_RACE_Framework.mdreferences/frameworks/16_Blooms_Taxonomy_Framework.mdreferences/frameworks/17_Pros_and_Cons_Framework.mdreferences/frameworks/18_3Cs_Model_Framework.mdA comprehensive prompt engineering skill that helps users craft high-quality, effective prompts using proven frameworks.
When a user requests 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 |
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.