Agent MD Refactor
Refactors monolithic agent instruction files into a clean, hierarchical structure using progressive disclosure principles.
The Agent MD Refactor skill helps developers manage bloated instruction files like CLAUDE.md or AGENTS.md by breaking them down into a modular, linked documentation system. By following progressive disclosure, it keeps essential project commands in the root file while delegating specific domain guidelines—such as TypeScript patterns, testing protocols, and git workflows—to specialized sub-files. This reduces token noise, prevents contradictory instructions, and ensures that the AI agent receives the most relevant context for every task without being overwhelmed by irrelevant details.
Características Principales
01Automated progressive disclosure implementation for instruction files
02Categorization of instructions into modular files like testing, styles, and architecture
03Detection and resolution of contradictory coding guidelines
040 GitHub stars
05Identification of essential root-level commands and universal rules
06Pruning of redundant, vague, or obvious instructions to optimize context usage
Casos de Uso
01Standardizing instruction files across multiple repositories for team consistency
02Optimizing AI context window usage by removing non-actionable or redundant instructions
03Cleaning up a multi-hundred-line CLAUDE.md file that has become difficult to maintain