スキル一覧に戻る
mvillmow

generate-api-docs

by mvillmow

Training framework written in Mojo

11🍴 4📅 2026年1月24日
GitHubで見るManusで実行

SKILL.md


name: generate-api-docs description: "Create API reference documentation from docstrings. Use when documenting public module interfaces." mcp_fallback: none category: generation tier: 2 user-invocable: false

Generate API Docs

Extract docstrings from functions and classes to automatically generate API reference documentation.

When to Use

  • Documenting public module interfaces
  • Creating reference guides for libraries
  • Generating HTML API documentation
  • Maintaining up-to-date API specs

Quick Reference

# Python with pdoc
pdoc --html module_name -o docs/

# Python with Sphinx
sphinx-quickstart docs/
make -C docs html

# Extract docstrings
python3 -c "import module; help(module.function)"

Workflow

  1. Ensure docstrings: Verify all public functions/classes have docstrings
  2. Validate format: Check docstring format (Google, NumPy, or reStructuredText)
  3. Extract metadata: Parse function signatures, parameter types, return types
  4. Generate documentation: Create HTML or Markdown API reference
  5. Validate output: Verify links work and examples are correct

Output Format

API documentation:

  • Module overview
  • Function/class signatures with type hints
  • Parameter documentation (type, description, default)
  • Return value documentation
  • Raises/exceptions
  • Code examples
  • Cross-references to related APIs

References

  • See generate-docstrings skill for creating docstrings
  • See CLAUDE.md > Documentation for standards
  • See doc-issue-readme skill for issue documentation

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です