Files
SuperClaude/.claude/commands/document.md
NomenAK 23a103d5dc refactor: Standardize @include reference system across all command files
- Fix @include references to use underscore format (Universal_Legend, Standard_Messages_Templates)
- Add missing ultracompressed.yml shared pattern file
- Update broken reference paths in all 18 command files
- Ensure consistent template naming across command system
- Optimize command file structure with standardized includes

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-25 00:21:27 +02:00

1.4 KiB

@include shared/universal-constants.yml#Universal_Legend

Command Execution

Execute: immediate. --plan→show plan first Legend: Generated based on symbols used in command Purpose: "[Action][Subject] in $ARGUMENTS"

Generate comprehensive documentation for code, APIs, or systems specified in $ARGUMENTS.

@include shared/flag-inheritance.yml#Universal_Always

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

Documentation modes:

--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

--format: Output format

  • markdown: Markdown format (default) | html: HTML documentation
  • pdf: PDF output | docusaurus: Docusaurus compatible | mkdocs: MkDocs compatible

--style: Documentation style

  • concise: Brief, essential information only | detailed: Comprehensive with examples
  • tutorial: Step-by-step guide format | reference: API reference style

@include shared/docs-patterns.yml#Project_Documentation

@include shared/docs-patterns.yml#Standard_Notifications

@include shared/universal-constants.yml#Standard_Messages_Templates