
Improving Prompts
- 14 installs
- 1 repo stars
- Updated March 1, 2026
- cachemoney/agent-toolkit
A Claude Code skill for improving prompts.
About
Skill: improving-prompts. Used during build phase for development. This skill provides essential functionality for the development workflow.
- improving-prompts
Improving Prompts by the numbers
- 14 all-time installs (skills.sh)
- Ranked #1,645 of 2,277 Frontend Development skills by installs in the Skillselion catalog
- Data as of Jul 28, 2026 (Skillselion catalog sync)
npx skills add https://github.com/cachemoney/agent-toolkit --skill improving-promptsAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 14 |
|---|---|
| repo stars | ★ 1 |
| Last updated | March 1, 2026 |
| Repository | cachemoney/agent-toolkit ↗ |
What it does
A Claude Code skill for improving prompts.
Files
Improving Prompts
Overview
Apply documented Claude 4.5 best practices to existing prompts. Do not invent "improvements" - use the actual guidance from Anthropic.
When to Use
- Optimizing CLAUDE.md or AGENTS.md files
- Improving custom command prompts
- Refining skill instructions
- Migrating prompts from older Claude models to 4.5
When NOT to Use
- Writing new prompts from scratch (just follow best practices directly)
- The prompt is working well and user hasn't identified issues
The Core Problem
Without this skill, agents:
- Invent "best practices" from general knowledge
- Make structural changes without asking what's broken
- Add complexity assuming more structure = better
- Change things to demonstrate value rather than solve problems
Common Rationalizations (Do Not Fall For These)
| Rationalization | Reality |
|---|---|
| "The user said it's too vague" | "Too vague" isn't actionable. What specific behavior fails? |
| "I'm the expert, trust me" | Authority doesn't bypass the need for concrete issues |
| "Time pressure - demo tomorrow" | Pressure is when agents make the worst decisions |
| "The spirit of the skill is to help" | Violating the letter IS violating the spirit |
| "I have enough context" | If you can't name the specific failure, you don't |
| "Structure is always better" | Structure solves structure problems, not all problems |
| "This is obviously an improvement" | Obvious to you ≠ solving the user's actual problem |
Required Process
Step 1: Understand Before Changing
Before ANY modifications: 1. Ask what specific behaviors are underperforming 2. Ask what the prompt should achieve that it currently doesn't 3. If user says "just improve it generally" - ask for at least one concrete issue
What counts as a "concrete issue":
- "Claude ignores my instruction to be concise" ✓
- "The examples I provide don't match the output format" ✓
- "Claude suggests changes but doesn't implement them" ✓
What does NOT count:
- "It's too vague" ✗ (vague about what?)
- "It doesn't follow best practices" ✗ (which practice? what fails?)
- "It's inconsistent" ✗ (inconsistent how? show examples)
Do NOT proceed with generic "improvements" based on assumptions.
Step 2: Reference Actual Best Practices
See references/claude-4.5-best-practices.md for the complete reference. Key principles:
Be explicit with instructions:
- Claude 4.5 follows instructions precisely - vague requests get literal interpretations
- If you want "above and beyond" behavior, explicitly request it
- Example: "Create a dashboard" → "Create a dashboard. Include relevant features and interactions. Go beyond basics."
Add context/motivation:
- Explain WHY a rule exists, not just WHAT the rule is
- Claude generalizes from explanations
- Example: "NEVER use ellipses" → "Never use ellipses because the text-to-speech engine cannot pronounce them"
Be vigilant with examples:
- Examples are followed precisely - ensure they demonstrate desired behavior
- One excellent example beats many mediocre ones
Avoid "think" without extended thinking:
- When extended thinking is disabled, "think" triggers unwanted behavior
- Use alternatives: "consider," "evaluate," "assess," "determine"
Control verbosity explicitly:
- Claude 4.5 defaults to efficiency/conciseness
- If you want summaries or explanations, request them explicitly
Tool usage patterns:
- "Can you suggest changes" → Claude suggests but doesn't implement
- "Make these changes" → Claude implements
- Be explicit about whether to act or advise
Step 3: Preserve What Works
- Do NOT restructure sections that aren't problematic
- Do NOT add complexity unless solving a stated problem
- Do NOT change tone/voice unless specifically requested
- Keep the user's examples if they demonstrate the right behavior
Step 4: Propose Changes with Rationale
For each change, state: 1. What specific best practice it applies 2. What problem it solves 3. Show before/after
Do NOT make changes without connecting them to documented guidance.
Red Flags - You're About to Fail
- "Based on general best practices..." → STOP. Use documented practices.
- "Structure is always better..." → STOP. Ask if structure is the problem.
- "I'll assume the user wants..." → STOP. Ask.
- Making 10+ changes to a short prompt → STOP. What specific problem are you solving?
- "This is how I would write it..." → STOP. You're not the user.
Quick Reference: Claude 4.5 Improvements
| Issue | Fix |
|---|---|
| Claude takes things too literally | Add "Go beyond basics" or explicit scope |
| Claude doesn't explain reasoning | Add "Explain your reasoning" or "Think through this step by step" |
| Claude is too verbose | Add "Be concise" or "Respond in X sentences" |
| Claude is too terse | Add "Provide detailed explanations" |
| Claude suggests but doesn't act | Change "Can you..." to imperative "Do X" |
| Instruction isn't followed | Add context for WHY the instruction matters |
| Examples not matching output | Ensure examples show exact desired format |
Common Mistakes
Overengineering: Adding categories, numbered lists, XML structure to simple prompts that were working fine.
Changing voice: The user's CLAUDE.md reflects their personality. Don't make it sound like documentation.
Assuming problems: Making changes without knowing what's actually broken.
Inventing practices: Claiming something is a "best practice" without reference to actual guidance.
Claude 4.5 Prompting Best Practices
Source: https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-4-best-practices
General Principles
Be Explicit with Instructions
Claude 4.x models respond well to clear, explicit instructions. Being specific about your desired output enhances results. If you want "above and beyond" behavior from previous Claude models, explicitly request it.
Less effective: "Create an analytics dashboard"
More effective: "Create an analytics dashboard. Include as many relevant features and interactions as possible. Go beyond the basics to create a fully-featured implementation."
Add Context to Improve Performance
Providing context or motivation behind instructions helps Claude 4.x models better understand goals. Explain WHY a behavior is important.
Less effective: "NEVER use ellipses"
More effective: "Your response will be read aloud by a text-to-speech engine, so never use ellipses since the text-to-speech engine will not know how to pronounce them."
Claude generalizes from explanations.
Be Vigilant with Examples & Details
Claude 4.x models pay close attention to examples as part of precise instruction following. Ensure examples align with desired behaviors and minimize behaviors you want to avoid.
Communication Style
Claude 4.5 models have more concise, natural communication:
- More direct and grounded (fact-based, not self-celebratory)
- More conversational (fluent, less machine-like)
- Less verbose (may skip summaries for efficiency unless prompted)
Tool Usage Patterns
Claude 4.5 models follow instructions precisely. Be explicit about whether to act or advise:
"Can you suggest some changes" → Claude will only suggest "Make these changes" → Claude will implement
To make Claude proactive by default, add to system prompt:
By default, implement changes rather than only suggesting them. If the user's intent is unclear, infer the most useful likely action and proceed.To make Claude conservative by default:
Do not jump into implementation unless clearly instructed. When ambiguous, default to providing information and recommendations rather than taking action.Controlling Output Format
1. Tell Claude what to do instead of what not to do
- Instead of: "Do not use markdown"
- Try: "Your response should be composed of smoothly flowing prose paragraphs."
2. Use XML format indicators
- Try: "Write the prose sections in <smoothly_flowing_prose_paragraphs> tags."
3. Match prompt style to desired output
- Removing markdown from your prompt can reduce markdown in output
4. Explicit formatting guidance to minimize markdown:
When writing reports or long-form content, write in clear, flowing prose using complete paragraphs and sentences. Reserve markdown primarily for `inline code` and code blocks. Avoid using **bold** and *italics*. DO NOT use ordered or unordered lists unless presenting truly discrete items or user explicitly requests a list.Verbosity Control
Claude 4.5 models tend toward efficiency and may skip verbal summaries after tool calls. If you want updates:
After completing a task that involves tool use, provide a quick summary of the work you've done.Thinking Sensitivity
When extended thinking is disabled, Claude Opus 4.5 is sensitive to the word "think" and variants. Replace with:
- "consider"
- "believe"
- "evaluate"
- "assess"
- "determine"
Parallel Tool Calling
Claude 4.x models excel at parallel tool execution. To maximize:
If you intend to call multiple tools and there are no dependencies between the calls, make all independent calls in parallel. Prioritize calling tools simultaneously whenever the actions can be done in parallel.To reduce parallel execution:
Execute operations sequentially with brief pauses between each step to ensure stability.Avoiding Overengineering
Claude 4.x models can sometimes overengineer. To prevent:
Avoid over-engineering. Only make changes that are directly requested or clearly necessary. Keep solutions simple and focused.
Don't add features, refactor code, or make "improvements" beyond what was asked. A bug fix doesn't need surrounding code cleaned up.
Don't add error handling for scenarios that can't happen. Trust internal code and framework guarantees.
Don't create helpers or abstractions for one-time operations. Don't design for hypothetical future requirements.Code Exploration
If Claude proposes solutions without reading code:
ALWAYS read and understand relevant files before proposing code edits. Do not speculate about code you have not inspected. Be rigorous and persistent in searching code for key facts.Minimizing Hallucinations
Never speculate about code you have not opened. If the user references a specific file, you MUST read the file before answering. Make sure to investigate and read relevant files BEFORE answering questions about the codebase.Avoiding Hard-Coding in Tests
Write a high-quality, general-purpose solution using standard tools. Do not hard-code values or create solutions that only work for specific test inputs. Implement the actual logic that solves the problem generally.
If the task is unreasonable or infeasible, inform me rather than working around it.Migration Considerations
When migrating to Claude 4.5: 1. Be specific about desired behavior 2. Add modifiers like "Go beyond the basics" or "Include as many relevant features as possible" 3. Request animations and interactive elements explicitly when desired