documentation-generation
Use when project documentation must be generated or updated from verified codebase facts
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use when project documentation must be generated or updated from verified codebase facts
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Use when Codex is asked to colonize, plan, build, continue, swarm, or seal an Aether colony and must mirror wrapper orchestration safely
Use when Codex is asked to initialize or set up an Aether colony and should refine intent before running init
Use when Codex is asked to run Aether Oracle or discuss flows and should refine scope before research or clarification
Use when acceptance criteria need unit, integration, or end-to-end tests generated from implementation context
Use when delivered functionality needs acceptance-criteria verification before a phase advances
Use when a phase involves LLMs, AI agents, RAG, ML inference, or prompt/tool integration design
| source | shipped |
| name | documentation-generation |
| description | Use when project documentation must be generated or updated from verified codebase facts |
| type | colony |
| domains | ["documentation","codebase","generation"] |
| agent_roles | ["builder","chronicler"] |
| workflow_triggers | ["build","continue"] |
| task_keywords | ["docs","documentation","readme","api docs","generate"] |
| priority | normal |
| version | 1.0 |
Generates and updates project documentation by reading the actual codebase and producing docs that reflect reality -- not aspirational descriptions. The colony verifies every claim against the code, so documentation stays accurate even as the code evolves.
README: Project overview, setup, usage
API_DOCS: Endpoint documentation with request/response examples
ARCHITECTURE: System design and module descriptions
CHANGELOG: Version history from git commits
CONTRIBUTING: Development setup and contribution guidelines
INLINE: Code comments and JSDoc/docstring generation
SCAN:
1. Read existing documentation (if any)
2. Scan relevant source code sections
3. Compare docs to code -- identify gaps and inaccuracies
4. Check codebase intelligence index for context
GENERATE:
1. Draft documentation based on code analysis
2. Include code examples extracted from actual usage
3. Generate API documentation from route definitions
4. Create diagrams from module dependency data
VERIFY:
1. Cross-reference every claim against source code
2. Verify all code examples compile/run
3. Check all file paths and module names are current
4. Ensure configuration examples match actual config schema
WRITE:
1. Write documentation files
2. Update existing docs where inaccurate
3. Mark deprecated sections if code has moved on
4. Generate verification report
Every doc must pass these checks:
All mentioned files exist
All mentioned functions exist with matching signatures
All code examples are syntactically valid
All configuration values match actual defaults
All API endpoints match route definitions
No claims contradict the actual code behavior
When updating existing docs:
1. Diff current code against doc last-updated timestamp
2. Identify changed modules and APIs
3. Update only affected documentation sections
4. Preserve manual additions (sections marked with <!-- manual -->)
5. Flag sections that need human review
# .aether/config.yml
docs:
style: casual # casual | professional | technical
include_examples: true
example_language: typescript
verify_against_code: true
preserve_manual: true
output_dir: docs/
DOCS -- {document_type}
Files: {list of generated/updated docs}
Verified: {count}/{total} claims verified against code
Gaps: {count} sections need manual review
Changes: {new} new, {updated} updated, {deprecated} deprecated
Generate API docs:
"Generated API documentation for 47 endpoints. All request/response examples verified against route handlers. 3 endpoints had mismatched docs -- corrected. 2 new endpoints documented."
Update README:
"README updated: setup instructions now match current package.json scripts. Added environment variable table (verified against config.ts). Removed outdated Docker instructions."