api-designer
できること
このツールは、ソフトウェアの各部分がインターネット越しに互いに通信する方法(REST APIのエンドポイント)の詳細な計画を作成します。各「入口」(エンドポイント)の役割、送受信する情報、エラーの扱い方を定義します。
使う場面
- ✓アプリケーションが他のサービスとどう通信するかを計画するとき。
- ✓新しいシステムや機能の基本構造を作るとき。
- ✓Webサイトやアプリケーションのデータのエントリーポイントを定義するとき。
スキルのリンク
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/api-designer/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“シンプルなタスク管理システムのREST APIエンドポイントを作成してください。ユーザー、タスク、コメントを含めてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
AIはシステムの説明を分析し、ソフトウェアが使える「入口」(エンドポイント)の一覧を作成します。各入口について、呼び出し方(メソッド、パス)、送信する内容(リクエストボディ)、成功時に返ってくるもの(成功レスポンス)、起こりうるエラーを詳しく示します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Supporting material availability
This catalog copy contains the inline guidance below, but does not include the following supporting paths. They are external prerequisites, not bundled files:
<support-root>/references/domains.md<support-root>/references/testmu_example.md
Obtain the required material from the declared upstream source, or from a user-provided installation of that source. Resolve each path relative to that installation, inspect its contents, and verify any applicable license and execution prerequisites. Do not run a command or claim a referenced procedure was followed until its required file exists. Do not fabricate the missing scripts or treat an unrelated file with the same name as equivalent. Independent steps fully documented here can proceed within the user’s authorized scope; report any dependent step as unavailable.
API Designer Skill
When to Use
Use this skill when you need generates complete, production-ready REST API endpoint specifications for any system or domain the user describes. Use this skill whenever the user asks about API design, API endpoints, REST APIs, API URLs, or says things like "what endpoints do I need for...", "design an API for...",...
You are an expert API architect.
Ask the user if they want just the endpoints or complete detailed response (Enpoints Only/Detail Design). Do not ask these options if the user has specified the details of his requirement in the input already. If the user says Endpoints Only:
- Output only the endpoints If the user says Detail Design:
- Output complete design as the structure described in this skill.
Output Format
First list down all the endpoints one after another as output then expand each in this exact structure for each endpoint group (resource):
RESOURCE NAME
METHOD /path/to/endpoint
Short description of what this endpoint does. Not more than two lines.
Headers
| Header | Value | Required |
|---|---|---|
Content-Type |
application/json |
Yes |
Authorization |
Bearer <token> |
Yes/No |
X-Api-Key |
<api-key> |
Yes/No |
| (add others as relevant) |
Request Body (omit for GET/DELETE if no body)
{
"field": "type — description",
"field2": "type — description"
}
Success Response — STATUS_CODE Description
{
"field": "value or type"
}
Error Codes
| Code | Meaning |
|---|---|
400 |
Bad Request — invalid or missing fields |
401 |
Unauthorized — missing or invalid token |
403 |
Forbidden — insufficient permissions |
404 |
Not Found |
409 |
Conflict — e.g. duplicate resource |
422 |
Unprocessable Entity — validation failed |
500 |
Internal Server Error |
Rules for Output
- Cover all major resources for the described system. Infer resources if the user doesn't list them.
- Always include CRUD (Create, Read, Update, Delete) where applicable, plus domain-specific actions.
- Use RESTful conventions: plural nouns for collections, nested paths for relationships (e.g.
/hotels/{id}/rooms). - Auth: Default to Bearer token (JWT) for protected routes. Add API key header where relevant (e.g. third-party integrations). Mark public endpoints clearly.
- Request body: Show realistic JSON with field names, types, and brief descriptions. Mark required vs optional fields in comments.
- Responses: Show the success response shape with realistic fields. Always include the HTTP status code.
- Error codes: List the relevant subset per endpoint — don't always paste all 7. Use judgement.
- Pagination: For list endpoints, include query params (
page,limit,sort,filter) and wrap responses in a paginated envelope. - Versioning: Prefix all paths with
/api/v1/unless the user specifies otherwise. - Group endpoints by resource (e.g. "Authentication", "Hotels", "Rooms", "Bookings", "Payments", "Reviews").
Pagination Envelope (for list endpoints)
{
"data": [...],
"pagination": {
"total": 100,
"page": 1,
"limit": 20,
"totalPages": 5
}
}
Common Auth Patterns
Choose based on context:
| Scenario | Auth Method |
|---|---|
| User-facing apps | Authorization: Bearer <JWT> |
| Server-to-server | X-Api-Key: <key> |
| Public endpoints | No auth header needed |
…
よくある質問
REST APIエンドポイントとは何ですか?
プログラムが情報を要求したり、別のプログラムに送ったりするために使う、インターネット上の特定のアドレスのようなものです。例えば、「すべてのタスクを一覧表示する」や「新しいタスクを作成する」ためのアドレスです。
「production-ready」とはどういう意味ですか?
AIが作成した計画がベストプラクティスに従っており、実際のシステムで安全かつ効率的に使える状態であることを意味します。
AIがAPIのコードを書けますか?
いいえ。このツールが作るのは、APIの動作を示す「計画」や「仕様書」だけです。実際のコードはプログラマーが書く必要があります。
詳細
作者による元の説明
Generates complete, production-ready REST API endpoint specifications for any system or domain the user describes.
人気
- GitHubのスター
- 48k
- ランキング
- #3767
- ライセンス
- MIT
- 更新日
- 2026/10/15
コメント
- …
このリポジトリの他のスキル
00-andruia-consultant
48kエージェントがAIプロジェクトの立ち上げや改善を支援します。コードを分析し、ツールを提案し、スペイン語で行動計画を作成します。
007
48kエージェントがセキュリティ監査と脅威モデリングを行えるようにします。攻撃や脆弱性からプロジェクトを守るのに役立ちます。
10-andruia-skill-smith
48kエージェントがAIツールの作成や改善を支援します。ツールの動作を定義し、ドキュメントを書き、構造を検証します。
20-andruia-niche-intelligence
48kエージェントが特定の業界に関する要約を作成できるようにします。信頼できる情報源を使って、プロジェクトの背景、ルール、利用パターン、リスクを把握するのに役立ちます。
似ているスキル
canvas
394k接続されたMacのパネルにホスト型のビジュアルウィジェットを表示し、そのパネルを隠したり別のページに移動したりするようエージェントを支援します。
control-ui
394kセッション、ダッシュボード、接続されたGatewayを含め、OpenClaw Control UIを整理し、問題を解決するようエージェントを支援します。
diagram-maker
394kプロセス、システムのアーキテクチャ、ホワイトボードのスケッチのために、SVG、HTML、または編集可能なExcalidrawとして、分かりやすい図を作るようエージェントを支援します。