docgen

Documentation Generator | 文件產生器

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "docgen" with this command: npx skills add asiaostrich/universal-dev-standards/asiaostrich-universal-dev-standards-docgen

Documentation Generator | 文件產生器

Generate usage documentation (cheatsheets, references, guides) from project source files.

從專案原始檔案產生使用文件(速查表、參考手冊、使用指南)。

Workflow | 工作流程

  • Read config - Load .usage-docs.yaml (or specified config file)

  • Scan sources - Read source files, commands, and skill definitions

  • Extract content - Parse descriptions, options, examples from source

  • Generate docs - Produce output in the configured format

  • Write output - Save generated files to the configured output directory

Config File Format | 設定檔格式

.usage-docs.yaml

output_dir: docs/generated/ formats:

  • cheatsheet
  • reference sources:
  • path: skills/commands/ type: commands
  • path: cli/src/commands/ type: cli language: [en, zh-TW]

Output Types | 輸出類型

Type Description 說明

cheatsheet Quick reference card with commands and shortcuts 速查表,列出命令與快捷方式

reference Comprehensive feature reference with all options 完整功能參考手冊含所有選項

usage-guide Step-by-step usage guide for new users 新手入門的逐步使用指南

Usage | 使用方式

  • /docgen

  • Generate docs using default .usage-docs.yaml

  • /docgen .usage-docs.yaml

  • Generate docs from specified config file

  • /docgen --format cheatsheet

  • Generate cheatsheet only

Generated Output Example | 產生範例

UDS Command Cheatsheet

CommandDescription
/commitGenerate commit message
/reviewRun code review
/sddCreate SDD specification
/discoverAssess project health

Next Steps Guidance | 下一步引導

After /docgen completes, the AI assistant should suggest:

文件已產生。建議下一步 / Documentation generated. Suggested next steps:

  • 審查產生的文件內容是否完整 — Review generated content for completeness

  • 執行 /commit 提交文件變更 — Commit documentation changes

  • 執行 /review 審查文件品質 — Review documentation quality

Reference | 參考

  • Detailed guide: guide.md

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

requirement

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

methodology

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

derive

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

refactor

No summary provided by upstream source.

Repository SourceNeeds Review