AI Agent & Copilot Optimizer

•
7
•

Optimizes AI agent configuration files and GitHub Copilot instructions to minimize redundancy and maximize context window efficiency.

This skill provides a standardized workflow for maintaining and refactoring AGENTS.md and copilot-instructions.md files. It intelligently deduplicates content against the .augment/ directory, enforces strict line budgets for optimal LLM performance, and ensures that instructions are tailored to the specific audience—distinguishing between the capabilities of general AI agents and the GitHub Copilot runtime. By performing portability scans and checking for stack drift, it prevents documentation from becoming outdated or leaking identifiers from other projects, ensuring high-quality, high-confidence interactions with AI assistants.

Características Principales

01Detects and removes legacy identifiers and dead commands (Make, Composer, NPM).
027 GitHub stars
03Enforces a 500-1000 line budget for AGENTS.md and copilot-instructions.md.
04Performs stack coherence scans to match documentation with actual project dependencies.
05Preserves critical 'Known False Positives' sections for agent-config path patterns.
06Deduplicates documentation against .augment/ content to prevent context bloat.

Casos de Uso

01Refactoring AGENTS.md after adding new architectural rules or coding guidelines.
02Cleaning up repository documentation that has exceeded the context window limits.
03Ensuring GitHub Copilot instructions are self-contained for PR reviews without redundant dev-setup details.