What problem does it solve?
Analyze repository structure and generate standardized AGENTS.md files that serve as contributor guides for AI agents. This includes handling both single-repo and monorepo setups, measuring LOC to determine a dynamic character budget, and producing sections for overview, folder structure, patterns, conventions, and working agreements.
Core Features & Use Cases
- Automatically analyzes repository structure (single-repo or monorepo) and generates a comprehensive AGENTS.md with sections for Overview, Folder Structure, Core Behaviors & Patterns, Conventions, and Working Agreements.
- Updates existing AGENTS.md by refreshing standard sections while preserving user-defined custom content, and reports externally authored files.
- Detects monorepo layouts and applies appropriate per-package documentation strategies.
- Integrates LOC-based character budgeting and batch generation to support scalable documentation.
Quick Start
Run the skill on a repository directory to generate or refresh its AGENTS.md.