code-documentation-doc-generate
できること
このツールは、プログラムのコードのドキュメントを作成するのに役立ちます。コードから、ガイド、図、技術リファレンスを自動的に生成でき、ドキュメントを常に最新の状態に保てます。
使う場面
- ✓自分が開発したソフトウェアのガイドを作成するとき。
- ✓プログラムの構造を説明する図を生成するとき。
- ✓コードプロジェクトのドキュメント作成を自動化するとき。
スキルのリンク
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/code-documentation-doc-generate/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“このコードのAPIドキュメントとユーザーガイドを生成して。”
毎週5つの新しいスキル。1分で読めます。
仕組み
ツールはコード、コメント、設定ファイルを分析し、必要な情報を抽出します。次に、その情報を使って、いくつかの種類のドキュメントを整理された一貫性のある形で作成します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Compatibility and maintenance
Compatibility alias of documentation-generation-doc-generate; use that ID for new references when no existing contract requires this one. The full instructions and support files remain local so existing installations
continue to work offline. This is one shared procedure, not an additional capability.
Preserve the callable ID when an existing manifest or client configuration uses it.
Modified in AAS on 2026-09-05; original metadata and license notices are retained.
Automated Documentation Generation
You are a documentation expert specializing in creating comprehensive, maintainable documentation from code. Generate API docs, architecture diagrams, user guides, and technical references using AI-powered analysis and industry best practices.
Use this skill when
- Generating API, architecture, or user documentation from code
- Building documentation pipelines or automation
- Standardizing docs across a repository
Do not use this skill when
- The project has no codebase or source of truth
- You only need ad-hoc explanations
- You cannot access code or requirements
Context
The user needs automated documentation generation that extracts information from code, creates clear explanations, and maintains consistency across documentation types. Focus on creating living documentation that stays synchronized with code.
Requirements
$ARGUMENTS
Instructions
- Identify required doc types and target audiences.
- Extract information from code, configs, and comments.
- Generate docs with consistent terminology and structure.
- Validate generated examples against actual routes and the current build; add automation only when requested.
- If detailed examples are required, open
resources/implementation-playbook.md.
Worked example and prerequisites
For an endpoint changed to return a cursor, inspect its implementation and test fixtures, update the response example and pagination explanation, then run the existing schema/doc build and the documented read-only call against a test fixture. Record which commands actually ran. The bundled playbook contains incomplete integration sketches, not an installed generator or tested project template.
Safety
- Avoid exposing secrets, internal URLs, or sensitive data in docs.
Output Format
- Documentation plan and artifacts to generate
- File paths and tooling configuration
- Assumptions, gaps, and follow-up tasks
Resources
resources/implementation-playbook.mdfor detailed examples and templates.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
よくある質問
「API docs」とは何ですか?
APIと呼ばれるプログラムの特定の部分の使い方や、他の開発者がそれらとどのようにやり取りするかを説明するドキュメントです。他の開発者向けの取扱説明書のようなものです。
「アーキテクチャ図」とは何ですか?
プログラムのさまざまな部分がどのようにつながり、連携して動くかを示す図です。システム全体の見取り図のようなものです。
複数の言語でドキュメントを作成できますか?
提供された文章には多言語対応についての記載はありません。このツールは、コードから一貫性があり最新のドキュメントを生成することに重点を置いています。
詳細
作者による元の説明
You are a documentation expert specializing in creating comprehensive, maintainable documentation from code. Generate API docs, architecture diagrams, user guides, and technical references using AI-powered analysis and industry best practices.
人気
- GitHubのスター
- 48k
- ランキング
- #4180
- ライセンス
- MIT
- 更新日
- 2026/10/15
コメント
- …
このリポジトリの他のスキル
00-andruia-consultant
48kエージェントがAIプロジェクトの立ち上げや改善を支援します。コードを分析し、ツールを提案し、スペイン語で行動計画を作成します。
007
48kエージェントがセキュリティ監査と脅威モデリングを行えるようにします。攻撃や脆弱性からプロジェクトを守るのに役立ちます。
10-andruia-skill-smith
48kエージェントがAIツールの作成や改善を支援します。ツールの動作を定義し、ドキュメントを書き、構造を検証します。
20-andruia-niche-intelligence
48kエージェントが特定の業界に関する要約を作成できるようにします。信頼できる情報源を使って、プロジェクトの背景、ルール、利用パターン、リスクを把握するのに役立ちます。
似ているスキル
obsidian-vault-maintainer
394kObsidianと相性のよいメモリボールトを整理して、動くウィキリンク、統一されたプロパティ、安全に生成されるセクションを保つようエージェントを支援します。
wiki-maintainer
394k同じ内容を繰り返し保てるページ、安全な管理ブロック、矛盾や抜けの確認を使って、OpenClawのメモリウィキを維持するようエージェントを支援します。
obsidian
394k公式のObsidianコマンドラインを使って、Obsidianのメモ、タスク、リンク、プロパティを読み、検索し、作成し、編集するようエージェントを支援します。