一键导入
write-docs
Write documentation following this project's Diataxis framework and docblock conventions
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Write documentation following this project's Diataxis framework and docblock conventions
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create a changeset entry describing changes to workspace packages
Scaffold a new UI component with the correct folder structure, styles, tests, and docblocks
Scaffold a new class with the correct file structure, naming, tests, and docblocks
Scaffold a new runtime type guard with the correct naming and docblocks
Scaffold a new utility function with the correct naming, tests, and docblocks
Write tests following this project's testing conventions, file patterns, and placement rules
| name | write-docs |
| description | Write documentation following this project's Diataxis framework and docblock conventions |
| user-invocable | false |
Documentation in this project follows the Diataxis framework and uses Markdown files.
docs/ # Root-level project documentation
├── README.md
├── CHANGELOG.md
├── learn/ # Explanation guides (understanding-oriented)
├── recipes/ # How-to guides (task-oriented)
├── tutorials/ # Tutorial guides (learning-oriented)
└── references/ # Reference docs (information-oriented, auto-generated from docblocks)
packages/<module>/src/docs/ # Module-specific documentation
├── learn/
├── recipes/
├── tutorials/
└── references/
| Category | Purpose | Orientation |
|---|---|---|
| Learn | Explain concepts | Understanding |
| Recipes | Step-by-step how-to | Task completion |
| Tutorials | Guided learning | Learning by doing |
| References | API/type documentation | Information lookup |
All public types, interfaces, classes, functions, and methods must have well-written JSDoc/TSDoc comments. Reference documentation is generated from these docblocks — so the quality of docblocks directly determines the quality of reference docs.
learn/, recipes/, tutorials/, or references/)src/docs/ within the module