optimize-prompt-precision
Iteratively optimizes prompts for precision - eliminates ambiguities, resolves conflicts, adds missing definitions. Use when asked to optimize precision, clarify, disambiguate, or make a prompt unambiguous.
npx skills add majiayu000/claude-skill-registry --skill optimize-prompt-precision --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.
# Optimize Prompt Precision Iteratively optimize prompt precision through verification loops. Primary goal: ensure prompt cannot be interpreted in ways the author doesn't expect. ## Overview This skill transforms ambiguous prompts into precise ones through: 1. **Verification First** - `prompt-precision-verifier` checks for issues before any changes 2. **Optimization** - Apply targeted fixes based on verifier feedback (infer from context when possible, ask user when not) 3. **Re-verification** - Verify fixes, iterate if issues remain (max 5 iterations) 4. **Output** - Atomic replacement only after verification passes **Loop**: Read → Verify → (Exit if precise) → Optimize based on feedback → Re-verify → (Iterate if issues) → Output **Key principle**: Don't try to optimize in one pass. The verifier drives all changes - if it finds no issues, the prompt is already precise. ## Workflow ### Phase 0: Create Todo List (TodoWrite immediately) Create todos tracking workflow phases. List reflects areas of work, not fixed steps. **Starter todos**: ``` - [ ] Input validation - [ ] Initial verification - [ ] (Expand: optimization iterations on ISSUES_FOUND) - [ ] Output optimized prompt ``` ###
- Overview
- Workflow
- Phase 0: Create Todo List (TodoWrite immediately)
- Phase 1: Input Validation
- Phase 2: Initial Verification
- Phase 3: Optimization Loop (Verifier-Driven)
- Resolution Strategy
- Phase 4: Output
- Optimization Techniques
- Key Principles
- Edge Cases
- Example Usage
- Example Output
Optimize a prompt file for precision Optimize inline prompt for precision Optimize a skill file for precision
What does the optimize-prompt-precision skill do?
Iteratively optimizes prompts for precision - eliminates ambiguities, resolves conflicts, adds missing definitions. Use when asked to optimize precision, clarify, disambiguate, or make a prompt unambiguous.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill optimize-prompt-precision --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.
