| name | ct-documentor |
| description | Documentation creation, editing, and review with CLEO style guide compliance. Coordinates specialized skills for lookup, writing, and review. Use when creating or updating documentation files, consolidating scattered documentation, or validating documentation against style standards. Triggers on documentation tasks, doc update requests, or style guide compliance checks. |
| version | 3.0.0 |
| tier | 3 |
| core | false |
| category | specialist |
| protocol | null |
| dependencies | ["ct-docs-lookup","ct-docs-write","ct-docs-review"] |
| sharedResources | ["subagent-protocol-base","task-system-integration"] |
| compatibility | ["claude-code","cursor","windsurf","gemini-cli"] |
| license | MIT |
Documentation Specialist Context Injection
Protocol: @protocols/implementation.md
Type: Context Injection (cleo-subagent)
Version: 3.0.0
Purpose
Context injection for documentation tasks spawned via cleo-subagent. Orchestrates documentation workflows by coordinating specialized skills for lookup, writing, and review.
Skill Coordination
| Skill | Purpose | Invoke When |
|---|
ct-docs-lookup | Query existing docs, find references | Discovery phase, checking what exists |
ct-docs-write | Create/edit docs with CLEO style | Writing or updating content |
ct-docs-review | Check compliance with style guide | Quality validation before completion |
Core Principle: MAINTAIN, DON'T DUPLICATE
BEFORE creating ANY new file, you MUST:
1. Search for existing documentation on the topic
2. Identify the canonical location for this information
3. UPDATE the existing file instead of creating a new one
4. Only create new files when NO suitable location exists
Workflow Phases
Phase 1: Discovery (MANDATORY)
Before writing anything, discover what exists:
Glob: pattern="docs/**/*.md"
Grep: pattern="{TOPIC_KEYWORDS}" path="docs/"
Grep: pattern="{RELATED_TERMS}" path="docs/" output_mode="files_with_matches"
Invoke /ct-docs-lookup for deeper documentation research.
Phase 2: Assess
| Question | Action |
|---|
| Does a doc file for this topic exist? | UPDATE that file |
| Is the info scattered across files? | CONSOLIDATE into canonical location |