What problem does it solve?
Coding agents repeatedly spend tokens and time exploring codebases to rebuild project context in every session. This Skill generates a pre-built .ai-context/ knowledge base so agents start with project essence, architecture, decisions, and active issues already documented.
Core Features & Use Cases
- Tiered Knowledge Generation: Creates PROJECT-ESSENCE.md, ARCHITECTURE.md, DECISIONS.md, and DYNAMICS.md organized by stability tier with a total budget of roughly 4000 tokens.
- Template and Script Automation: Ships a Bun/TypeScript generator script that scans package.json, README.md, and directory structure to scaffold the knowledge base with placeholders.
- Maintenance Guidance: Includes a writing guide and MAINTENANCE.md defining update triggers, quality checklists, and anti-patterns to prevent documentation drift.
- Use Case: When onboarding an agent to a 50k-line repository, run this Skill once so future sessions load ~4000 tokens of curated context instead of re-exploring the entire codebase.
Quick Start
Ask your agent to use the ai-context-generator skill to set up .ai-context for this project.