prompt-optimization
Analyze and improve existing prompts for better performance
npx skills add majiayu000/claude-skill-registry --skill prompt-optimization-fusengine-agents --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Prompt Optimization Skill for analyzing and improving existing prompts. ## Optimization Workflow ``` 1. ANALYZE current prompt ↓ 2. IDENTIFY issues ↓ 3. APPLY corrections ↓ 4. VALIDATE improvement ↓ 5. DOCUMENT changes ``` ## Analysis Checklist ### Clarity - [ ] Unambiguous instructions? - [ ] Clearly defined objective? - [ ] Precise vocabulary? ### Structure - [ ] Well-delimited sections? - [ ] Logical order? - [ ] Clear hierarchy? ### Completeness - [ ] Output format defined? - [ ] Error cases handled? - [ ] Examples if needed? ### Guardrails - [ ] Explicit limits? - [ ] Forbidden behaviors listed? - [ ] Appropriate security? ## Common Problems and Solutions ### 1. Vague Instructions **Before:** ``` Write a good summary. ``` **After:** ``` Write a 100-150 word summary that: 1. Captures the main idea in the first sentence 2. Includes 2-3 supporting key points 3. Uses accessible language (high school level) 4. Avoids technical jargon ``` ### 2. Lack of Context **Before:** ``` Analyze this code. ``` **After:** ``` Analyze this Python code focusing on: - Performance (algorithmic complexity) - Readability (PEP 8 conventions) - Security (OWASP vulnerabilities) Context: Code for produ
- Optimization Workflow
- Analysis Checklist
- Clarity
- Structure
- Completeness
- Guardrails
- Common Problems and Solutions
- 1. Vague Instructions
- 2. Lack of Context
- 3. Undefined Format
- 4. No Error Handling
- 5. Insufficient Emphasis
- Improvement Techniques
- Add Chain-of-Thought
What does the prompt-optimization skill do?
Analyze and improve existing prompts for better performance
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill prompt-optimization-fusengine-agents --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
