maintaining-project-context
Installation
SKILL.md
Maintaining Project Context
REQUIRED SUB-SKILL: Use ed3d-extending-claude:writing-claude-md-files for all context file creation and updates.
Core Principle
Context files (CLAUDE.md or AGENTS.md) document contracts and architectural intent. When code changes contracts, the documentation must update. Stale documentation is worse than no documentation.
Trigger: End of development phase, branch completion, or any work that changed contracts, APIs, or domain structure.
Format Detection (MANDATORY FIRST STEP)
Before any updates, detect what format this repository uses:
# Check for AGENTS.md at root
ls -la AGENTS.md 2>/dev/null