agent-md-refactor

Refactor bloated AGENTS.md files into organized structures using progressive disclosure.

1|Updated Mar 1, 2026
One-click install
npx skills add https://github.com/Bigdrops/bigdrops-app --skill agent-md-refactor-bigdrops
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-md-refactor
Source: https://github.com/Bigdrops/bigdrops-app/tree/main/.agents/skills/agent-md-refactor
Command: npx skills add https://github.com/Bigdrops/bigdrops-app --skill agent-md-refactor-bigdrops

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps manage the growth and complexity of agent instruction files by implementing progressive disclosure principles, resulting in more maintainable and readable documentation.

Core Features & Use Cases

  • Contradiction Detection: Identifies conflicting instructions that need resolution.
  • Essential Content Extraction: Separates the core, universal instructions from non-essential details.
  • Categorization and Organization: Groups related instructions into logical files.
  • Minimal Root File: Ensures the root file is concise and contains only essential information.
  • Deletion Recommendations: Flags redundant or outdated instructions for removal.
  • Use Case: Refactoring an extensive AGENTS.md file into a more manageable structure.

Quick Start

Run the agent-md-refactor skill on your AGENTS.md file to apply progressive disclosure principles and improve maintainability.

Frequently Asked Questions about agent-md-refactor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I refactor a bloated AGENTS.md file into a more organized structure?

Refactor bloated agent instruction files by applying progressive disclosure principles to separate core instructions from non-essential details. The process identifies contradictions, extracts essentials, and groups related instructions into logical files for better maintainability.

What is progressive disclosure for agent instruction files?

Progressive disclosure for agent instructions is an organization method that keeps the root file minimal and concise while grouping non-essential details into categorized logical files. This structure prevents contradictions and flags redundant instructions for deletion.

Do I need pnpm to organize and clean up agent instructions?

Yes, you need pnpm installed in your environment to execute the scripts required by this refactoring process. The scripts identify contradictions, extract essentials, categorize content, and suggest deletions to clean up your documentation.

How do I identify contradictions and redundant instructions in agent documentation?

Identify contradictions and redundant instructions in agent documentation by running refactoring scripts that analyze the file content. The process flags conflicting instructions for resolution, extracts universal rules, and suggests outdated content for deletion.

Can I extract essential instructions from a large agent file without losing core content?

Yes, you can extract essential instructions by separating core, universal instructions from non-essential details. The refactoring process ensures the root file contains only essential information while categorizing the remaining content into logical files.

What is the best way to maintain code documentation that has grown too large?

The best way to maintain overgrown agent instruction files is to apply progressive disclosure principles. This involves categorizing related instructions, minimizing the root file, and removing redundant or outdated instructions to improve overall readability and maintainability.