update-docs
Installation
SKILL.md
Update Documentation
CRITICAL: Oracle-First Protocol
BEFORE making ANY changes to documentation, you MUST consult the Oracle to understand what exists and what must be preserved.
Documentation often contains hard-won knowledge, historical context, and decisions that aren't obvious from code alone. Blindly updating docs risks losing this irreplaceable information.
Mandatory Pre-Update Oracle Consultation
For EACH significant document (especially AGENTS.md, architecture docs, decision records):
teams(action: 'delegate', tasks: [{
text: 'You are The Oracle - analyze this documentation before it gets updated.\n\nDOCUMENT PATH: [path]\nDOCUMENT CONTENT:\n[full content]\n\nANALYSIS REQUIRED:\n\n1. **Critical Knowledge Inventory**\n - What unique insights/decisions does this document contain?\n - What historical context would be lost if overwritten?\n - What hard-won lessons or gotchas are documented?\n - What non-obvious information exists that code doesn\'t reveal?\n\n2. **Preservation Requirements**\n - List specific sections/paragraphs that MUST be preserved\n - Identify any warnings, caveats, or "don\'t do X" guidance\n - Note any project-specific conventions explained here\n - Flag any links to external resources or related docs\n\n3. **Safe to Update**\n - What sections are purely factual and safe to update from code?\n - What sections are demonstrably outdated based on codebase?\n - What can be verified objectively vs. requires human judgment?\n\n4. **Update Recommendations**\n - Specific guidance for updating this document safely\n - Sections to leave untouched without human approval\n - Suggested merge strategy (preserve + add vs. replace)\n\nBe thorough. Assume any knowledge lost here is lost forever.',
assignee: 'doc-oracle'
}])