Agent skill · Code Review & Quality

prompt-optimization

Improve and rewrite user prompts to reduce ambiguity and improve LLM output quality. Use when a user asks to optimize, refine, clarify, or rewrite a prompt for better results, or when the request is about prompt optimization or prompt rewriting.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill prompt-optimization --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 1 KB
Bundled scripts: none
Path: skills/ai-llm/prompt-optimization/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Prompt Optimization ## Goal Improve the user's prompt so Codex (or any LLM) produces better output while preserving intent. ## Workflow 1. Read the user's original prompt carefully. 2. Identify ambiguity, missing context, or unclear intent. 3. Rewrite the prompt to remove ambiguity and provide clear instructions. 4. Retain the core intention of the user's request. 5. Add relevant constraints (format, length, style) when helpful. ## Output format Provide: - Improved prompt - Short explanation of what was improved ## Constraints - Do not assume domain knowledge not in the original prompt. - Preserve user intent. ## Example triggers - “Draft me an email asking for feedback.” - “Turn this into a daily to-do list.” - $automating-productivity

What's inside
Steps it walks through
  1. Goal
  2. Workflow
  3. Output format
  4. Constraints
  5. Example triggers
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the prompt-optimization skill do?

Improve and rewrite user prompts to reduce ambiguity and improve LLM output quality. Use when a user asks to optimize, refine, clarify, or rewrite a prompt for better results, or when the request is about prompt optimization or prompt rewriting.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill prompt-optimization --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.

Keep going