From learning-agents
Reviews prompt/instruction files against Anthropic prompt engineering best practices for clarity, structure, role prompting, and more. Use when evaluating skill files, agent definitions, or instruction chunks.
How this skill is triggered — by the user, by Claude, or both
Slash command
/learning-agents:prompt-reviewThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Review a prompt or instruction file against Anthropic's prompt engineering best practices and provide structured, actionable feedback.
Review a prompt or instruction file against Anthropic's prompt engineering best practices and provide structured, actionable feedback.
$ARGUMENTS is the path to the file to review. If not provided, ask the user which file to review.
Fetch the latest Anthropic prompt engineering guidance to ground your review in current recommendations:
WebFetch https://docs.anthropic.com/en/docs/build-with-claude/prompt-engineering/overview
Use the fetched content as your primary reference for evaluation criteria. If the fetch fails, proceed using your built-in knowledge of Anthropic prompt engineering best practices.
Read the file at the path specified in $ARGUMENTS. If the path is relative, resolve it from the current working directory.
If the file does not exist, inform the user and stop.
Before evaluating, identify how this prompt will be used:
!command dynamic context injection, Claude Code skill files, or agent core-knowledge files)This context affects how you evaluate the prompt. Instruction chunks, for example, must work well when composed with other instructions and should avoid conflicting with likely surrounding context.
Evaluate the file against each of the following criteria. For each criterion, assess whether the prompt follows it well, partially, or poorly.
Clarity and Specificity
Structure and Formatting
<instructions>, <example>, <context>)?Role and Identity Prompting
Examples and Demonstrations
Handling Ambiguity and Edge Cases
Output Format Specification
Composability (for instruction chunks)
Conciseness and Signal-to-Noise Ratio
Variable and Placeholder Usage
Task Decomposition
Output the review in the following format. Be direct and specific. Every recommendation must point to a concrete line or section in the file and explain exactly what to change.
<output_format>
{filename}Prompt type: {standalone system prompt | instruction chunk | template} Overall grade: {A | B | C | D | F}
One-sentence summary of the prompt's overall quality.
For each issue:
| Priority | Recommendation | Effort |
|---|---|---|
| {1, 2, ...} | {Brief description} | {Small / Medium / Large} |
</output_format>
npx claudepluginhub unsupervisedcom/deepwork --plugin learning-agentsEvaluates and improves AI prompt quality by analyzing ambiguity, information integration, enforcement, and traceability. Useful for refining prompts for AI agents.
Analyzes and enhances AI prompt quality by detecting ambiguity, dispersion, and weak mandatory language. Includes scoring, categories, and deep analysis. Activated by 'verificar prompt' or 'avaliar qualidade do prompt'.
Evaluates LLM prompts (SKILL.md, CLAUDE.md, system prompts, bash guidance) with dimensional scoring, letter grades, and a numbered improvement list. Triggers on review/audit requests.