AGENT SKILL
documentation
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-10-16
- Stars
- ★ 0
- Forks
- 13
03 SKILL.md 正文
name: Documentation Generator description: Generate comprehensive documentation from source code including API docs and architecture guides.
Documentation Generator Skill
Produce clear, accurate documentation that helps developers understand and use the codebase.
API Documentation
- JSDoc (JavaScript/TypeScript): Use
@param,@returns,@throws,@examplefor functions. Document generic parameters and overloads. Generate with TypeDoc or JSDoc. - Docstrings (Python): Follow Google, NumPy, or Sphinx style. Include Args, Returns, Raises, and Examples. Use type hints alongside docstrings.
- Go doc: Place comments above exported symbols. First sentence becomes the summary. Use
go docor godoc. - Rust doc: Use
///for items,//!for module-level docs. Include# Examplesand# Panicssections. Usecargo doc.
README Templates
- Project overview: Purpose, key features, and target audience.
- Quick start: Installation, minimal setup, and "hello world" example.
- Configuration: Env vars, config files, and important options.
- Usage: Common workflows, CLI usage, or API usage examples.
- Contributing: How to build, test, and submit changes.
- License: SPDX identifier and attribution.
Architecture Guides
- Describe high-level components: services, layers, and data flow.
- Document design decisions (ADRs) for significant choices.
- Include sequence diagrams for critical flows (auth, checkout, etc.).
- Map dependencies between modules and external systems.
Architecture Diagrams
- Use Mermaid, PlantUML, or ASCII for diagrams in Markdown.
- Show component relationships, data flow, and deployment topology.
- Keep diagrams up to date with code; consider generating from annotations or config.
Produce documentation that is accurate, discoverable, and maintainable. Prefer automation (doc generators) where the language ecosystem supports it.
04 同仓库更多 Skills
sds-plugin-a11y-check
暂无简介
★ 0
endpoint-review
暂无简介
★ 0
schema-draft
暂无简介
★ 0
doc-outline
暂无简介
★ 0
sds-plugin-a11y-check
暂无简介
★ 0
endpoint-review
暂无简介
★ 0