prompt-improvement
Meta-skill for improving and optimizing prompts using Anthropic's prompt engineering best practices. Provides the 4-step improvement workflow (example identification, initial draft, chain of thought refinement, example enhancement), keyword registries for documentation lookup, and decision trees for improvement strategies. Use when improving prompts, optimizing for accuracy, adding chain of thought reasoning, structuring with XML tags, enhancing examples, or iterating on prompt quality. Delegates to docs-management skill for official prompt engineering documentation.
npx skills add majiayu000/claude-skill-registry --skill prompt-improvement --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 Improvement ## MANDATORY: Query Official Documentation First > **STOP - Before improving ANY prompt, you MUST invoke the docs-management skill.** > > This is NOT optional guidance - it is a required execution step. ### Required: Query Documentation via docs-management Skill **Invoke the `docs-management` skill BEFORE making any improvements:** Search for relevant documentation using natural language: - Primary query: "prompt engineering chain of thought XML tags" - Read the top results returned by the skill ### Why Documentation Query is Required - **Training data is stale** - Your knowledge may be outdated - **Official docs are canonical** - Anthropic's current best practices - **Prevents hallucination** - Ground improvements in real documentation - **Ensures accuracy** - Latest Claude 4.x guidance ### Recommended Query Topics Query at least ONE of these topics based on your improvement needs: - **Chain of thought:** "chain of thought thinking tags reasoning" - **XML structure:** "XML tags structure prompts formatting" - **Examples/multishot:** "multishot prompting examples few-shot" - **Claude 4.x best practices:** "Claude 4 prompting best practices" ### Verification Che
- MANDATORY: Query Official Documentation First
- Required: Query Documentation via docs-management Skill
- Why Documentation Query is Required
- Recommended Query Topics
- Verification Checkpoint
- Overview
- When to Use This Skill
- Quick Decision Tree
- The 4-Step Improvement Workflow
- Step 1: Example Identification
- Step 2: Initial Draft
- Step 3: Chain of Thought Refinement
- Step 4: Example Enhancement
- What You Get After Improvement
What does the prompt-improvement skill do?
Meta-skill for improving and optimizing prompts using Anthropic's prompt engineering best practices. Provides the 4-step improvement workflow (example identification, initial draft, chain of thought refinement, example enhancement), keyword registries for documentation lookup, and decision trees for improvement strategies. Use when improving prompts, optimizing for accuracy, adding chain of thought reasoning, structuring with XML tags, enhancing examples, or iterating on prompt quality. Delegates to docs-management skill for official prompt engineering documentation.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill prompt-improvement --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.
