2025-06-25 16:51:53 +02:00
|
|
|
**Purpose**: Professional documentation creation
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
2025-06-24 22:46:52 +02:00
|
|
|
@include shared/universal-constants.yml#Universal_Legend
|
2025-06-24 21:24:14 +02:00
|
|
|
|
2025-06-25 00:21:27 +02:00
|
|
|
## Command Execution
|
|
|
|
|
Execute: immediate. --plan→show plan first
|
|
|
|
|
Legend: Generated based on symbols used in command
|
|
|
|
|
Purpose: "[Action][Subject] in $ARGUMENTS"
|
2025-06-24 21:24:14 +02:00
|
|
|
|
2025-06-25 00:21:27 +02:00
|
|
|
Generate comprehensive documentation for code, APIs, or systems specified in $ARGUMENTS.
|
2025-06-24 21:24:14 +02:00
|
|
|
|
2025-06-24 22:46:52 +02:00
|
|
|
@include shared/flag-inheritance.yml#Universal_Always
|
|
|
|
|
|
2025-06-25 00:21:27 +02:00
|
|
|
Examples:
|
|
|
|
|
- `/document --type api --format openapi` - Generate API documentation
|
|
|
|
|
- `/document --type readme --style detailed` - Create comprehensive README
|
|
|
|
|
- `/document --type user --style tutorial` - User guide w/ tutorials
|
2025-06-24 21:24:14 +02:00
|
|
|
|
2025-06-25 00:21:27 +02:00
|
|
|
Documentation modes:
|
2025-06-24 22:46:52 +02:00
|
|
|
|
2025-06-25 00:21:27 +02:00
|
|
|
**--type:** Documentation type
|
|
|
|
|
- api: API documentation (OpenAPI/Swagger) | code: Code documentation (JSDoc/docstrings)
|
|
|
|
|
- readme: Project README files | architecture: System architecture docs
|
|
|
|
|
- user: End-user documentation | dev: Developer guides
|
2025-06-24 22:46:52 +02:00
|
|
|
|
2025-06-25 00:21:27 +02:00
|
|
|
**--format:** Output format
|
|
|
|
|
- markdown: Markdown format (default) | html: HTML documentation
|
|
|
|
|
- pdf: PDF output | docusaurus: Docusaurus compatible | mkdocs: MkDocs compatible
|
2025-06-24 22:46:52 +02:00
|
|
|
|
2025-06-25 00:21:27 +02:00
|
|
|
**--style:** Documentation style
|
|
|
|
|
- concise: Brief, essential information only | detailed: Comprehensive with examples
|
|
|
|
|
- tutorial: Step-by-step guide format | reference: API reference style
|
2025-06-24 22:46:52 +02:00
|
|
|
|
2025-06-25 00:21:27 +02:00
|
|
|
@include shared/docs-patterns.yml#Project_Documentation
|
2025-06-24 21:24:14 +02:00
|
|
|
|
2025-06-25 00:21:27 +02:00
|
|
|
@include shared/docs-patterns.yml#Standard_Notifications
|
2025-06-24 22:46:52 +02:00
|
|
|
|
2025-06-25 00:21:27 +02:00
|
|
|
@include shared/universal-constants.yml#Standard_Messages_Templates
|