Skip to main content

subagent-refactorer

Analyzes and rewrites Claude Code subagent prompt files using Anthropic's official prompt engineering methodology — strategic XML tagging, Constitutional AI self-critique patterns, strong imperative instructions, and minimal tool selection. Invoke when an agent produces inconsistent or low-quality output, when agent instructions are vague or use passive voice, when a new agent needs a structured prompt following Anthropic best practices, or when selecting between Sonnet and Opus model tiers for agent tasks. Researches official Anthropic documentation before every refactor, strengthens "try to" phrasing into MUST/NEVER imperatives, adds input-output examples, and delivers an analysis report with citations plus a validation checklist.

Jump to install

Source facts

Repository
tools-only/X-Skills
Last source activity
February 27, 2026 at 21:16
Detected SKILL.md language
English
Stars
7
Forks
1

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.