api-reference-documentation
OpenAPI/Swagger仕様に基づき、RESTやGraphQL APIのリファレンスドキュメントを、認証方法やサンプル、SDK情報を含めてわかりやすく作成するSkill。
📜 元の英語説明(参考)
Create comprehensive API reference documentation with OpenAPI/Swagger specs, REST endpoints, authentication, examples, and SDKs. Use when documenting REST APIs, GraphQL APIs, endpoint documentation, or OpenAPI specifications.
🇯🇵 日本人クリエイター向け解説
OpenAPI/Swagger仕様に基づき、RESTやGraphQL APIのリファレンスドキュメントを、認証方法やサンプル、SDK情報を含めてわかりやすく作成するSkill。
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o api-reference-documentation.zip https://jpskill.com/download/21331.zip && unzip -o api-reference-documentation.zip && rm api-reference-documentation.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/21331.zip -OutFile "$d\api-reference-documentation.zip"; Expand-Archive "$d\api-reference-documentation.zip" -DestinationPath $d -Force; ri "$d\api-reference-documentation.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
api-reference-documentation.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
api-reference-documentationフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 4
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
APIリファレンスドキュメント
目次
概要
エンドポイントの仕様、認証、リクエスト/レスポンスの例、インタラクティブなドキュメントなど、開発者がAPIと統合するために使用できるプロフェッショナルなAPIドキュメントを生成します。
使用場面
- REST APIのドキュメント作成
- OpenAPI/Swagger仕様の作成
- GraphQL APIドキュメント
- SDKおよびクライアントライブラリのドキュメント
- API認証ガイド
- レート制限のドキュメント
- Webhookドキュメント
- APIバージョン管理ガイド
クイックスタート
最小限の動作例:
openapi: 3.0.3
info:
title: E-Commerce API
description: |
Complete API for managing e-commerce operations including products,
orders, customers, and payments.
## Authentication
All endpoints require Bearer token authentication. Include your API key
in the Authorization header: `Authorization: Bearer YOUR_API_KEY`
## Rate Limiting
- 1000 requests per hour for authenticated users
- 100 requests per hour for unauthenticated requests
## Pagination
List endpoints return paginated results with `page` and `limit` parameters.
version: 2.0.0
contact:
name: API Support
email: api@example.com
url: https://example.com/support
license:
name: MIT
url: https://opensource.org/licenses/MIT
// ... (完全な実装についてはリファレンスガイドを参照してください)
リファレンスガイド
references/ディレクトリにある詳細な実装:
| ガイド | 内容 |
|---|---|
| OpenAPI Specification Example | openapi: 3.0.3 |
| List Products | List Products |
ベストプラクティス
✅ 実施すべきこと
- OpenAPI 3.0+仕様を使用する
- すべてのエンドポイントにリクエスト/レスポンスの例を含める
- すべてのクエリパラメータとヘッダーを文書化する
- 認証の例を提供する
- エラーレスポンスの形式を含める
- レート制限とページネーションを文書化する
- 一貫した命名規則を使用する
- 複数の言語でのSDKの例を含める
- Webhookのペイロードを文書化する
- インタラクティブなAPIエクスプローラー (Swagger UI) を提供する
- APIドキュメントをバージョン管理する
- 破壊的変更のための移行ガイドを含める
❌ 実施すべきでないこと
- エラーレスポンスのドキュメントを省略する
- 認証のドキュメントを忘れる
- 一貫性のない用語を使用する
- エンドポイントを文書化せずに放置する
- 非推奨の通知を無視する
- バージョン管理情報を省略する
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
API Reference Documentation
Table of Contents
Overview
Generate professional API documentation that developers can use to integrate with your API, including endpoint specifications, authentication, request/response examples, and interactive documentation.
When to Use
- Documenting REST APIs
- Creating OpenAPI/Swagger specifications
- GraphQL API documentation
- SDK and client library docs
- API authentication guides
- Rate limiting documentation
- Webhook documentation
- API versioning guides
Quick Start
Minimal working example:
openapi: 3.0.3
info:
title: E-Commerce API
description: |
Complete API for managing e-commerce operations including products,
orders, customers, and payments.
## Authentication
All endpoints require Bearer token authentication. Include your API key
in the Authorization header: `Authorization: Bearer YOUR_API_KEY`
## Rate Limiting
- 1000 requests per hour for authenticated users
- 100 requests per hour for unauthenticated requests
## Pagination
List endpoints return paginated results with `page` and `limit` parameters.
version: 2.0.0
contact:
name: API Support
email: api@example.com
url: https://example.com/support
license:
name: MIT
url: https://opensource.org/licenses/MIT
// ... (see reference guides for full implementation)
Reference Guides
Detailed implementations in the references/ directory:
| Guide | Contents |
|---|---|
| OpenAPI Specification Example | openapi: 3.0.3 |
| List Products | List Products |
Best Practices
✅ DO
- Use OpenAPI 3.0+ specification
- Include request/response examples for every endpoint
- Document all query parameters and headers
- Provide authentication examples
- Include error response formats
- Document rate limits and pagination
- Use consistent naming conventions
- Include SDK examples in multiple languages
- Document webhook payloads
- Provide interactive API explorer (Swagger UI)
- Version your API documentation
- Include migration guides for breaking changes
❌ DON'T
- Skip error response documentation
- Forget to document authentication
- Use inconsistent terminology
- Leave endpoints undocumented
- Ignore deprecation notices
- Skip versioning information
同梱ファイル
※ ZIPに含まれるファイル一覧。`SKILL.md` 本体に加え、参考資料・サンプル・スクリプトが入っている場合があります。
- 📄 SKILL.md (2,819 bytes)
- 📎 references/list-products.md (1,420 bytes)
- 📎 references/openapi-specification-example.md (8,404 bytes)
- 📎 scripts/validate-api.sh (440 bytes)