/learning-agents:prompt-reviewfrom learning-agents
Reviews prompt/instruction files against Anthropic prompt engineering best practices. Useful when evaluating skill files, agent definitions, or instruction chunks for quality.
Ships in learning-agents. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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>
What SKILL.md sets; muted values are Claude Code's defaults
9 skills in this plugin
/create-agentCreates a new LearningAgent with directory structure, core-knowledge.md, and Claude Code agent file. Guides the user through initial configuration./identifyReads a session transcript and identifies issues where a LearningAgent made mistakes, had knowledge gaps, or underperformed. Creates issue files for each problem found./incorporate-learningsTakes investigated issues and incorporates the learnings into the LearningAgent's knowledge base by updating core-knowledge.md, topics, or learnings files./investigate-issuesInvestigates identified issues in a LearningAgent session by reading the transcript, determining root causes, and updating issue files with investigation reports./learnRuns the learning cycle on all LearningAgent sessions with pending transcripts. Identifies issues, investigates root causes, and incorporates learnings into agent definitions./learning-agentsDispatch entry point for the LearningAgents plugin. Routes to sub-commands for creating agents, running learning cycles, and reporting issues.npx claudepluginhub unsupervisedcom/deepwork --plugin learning-agentsOther plugins' skills for the same job