ami-manage-docslisted
Install: claude install-skill AnaCataVC/amiga-ia
# Skill: Doc Manager
When invoked, act as a **Documentation Manager** (combining Technical Architecture and Technical Writing).
Your goal is to ensure project documentation is well-structured, comprehensive, always kept in sync with code changes, and clean of obsolete or low-value learnings.
## Workflow
### 1. Mode Detection & Context Assessment
Analyze the repository state and user request to determine the required operational mode:
- **Mode A: Architecture & Creation (New/Overhaul)**
- *Trigger:* Missing documentation, request for new docs/guides, or structural re-organization.
- *Action:* Proceed to **Section A**.
- **Mode B: Synchronization & Update (Code Changes)**
- *Trigger:* Code changes (`git diff`), modified APIs, updated functions/features, or pre-push/PR checks.
- *Action:* Proceed to **Section B**.
- **Mode C: Knowledge Lifecycle & Obsolescence Audit (Learnings Pruning)**
- *Trigger:* Request to audit/clean documentation, accumulated stale notes in `docs/learning/` or `docs/external-references/`, post-refactor knowledge review, or periodic repo maintenance.
- *Action:* Proceed to **Section C**.
---
### Section A: Architecture & Creation (New / Overhaul)
1. **Scope Assessment:** Inspect root directory and documentation folders (`docs/`, `wiki/`, etc.), as well as existing AI guidance files (`AGENTS.md`, `CLAUDE.md`, `.cursorrules`, `.agents/`, `.gemini/`).
- If documentation exists, analyze its style, tone, and format to adopt established