api-designer
Fungsinya
Alat ini membuat rencana rinci tentang bagaimana berbagai bagian perangkat lunak bisa saling berkomunikasi melalui internet (disebut endpoint REST API). Alat ini menentukan fungsi setiap 'pintu' komunikasi, informasi apa yang dikirim dan diterima, serta cara menangani error.
Kapan dipakai
- βSaat Anda perlu merencanakan bagaimana aplikasi Anda akan berkomunikasi dengan layanan lain.
- βSaat membuat struktur dasar sistem atau fitur baru.
- βUntuk menentukan 'pintu masuk' data untuk sebuah website atau aplikasi.
Link skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/api-designer/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βBuatkan endpoint REST API untuk sistem manajemen tugas sederhana, dengan pengguna, tugas, dan komentar.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
AI menganalisis deskripsi sistem Anda lalu membuat daftar 'pintu' (endpoint) yang bisa digunakan perangkat lunak Anda. Untuk setiap pintu, dijelaskan cara memanggilnya (method, path), apa yang dikirim (request body), apa yang diharapkan kembali (respons sukses), dan kemungkinan error.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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 |
β¦
Pertanyaan umum
Apa itu endpoint REST API?
Endpoint itu seperti alamat khusus di internet yang digunakan program untuk meminta atau mengirim informasi ke program lain. Contohnya alamat untuk 'menampilkan semua tugas' atau 'membuat tugas baru'.
Apa arti 'production-ready'?
Artinya rencana yang dibuat AI mengikuti praktik terbaik dan siap dipakai dalam sistem nyata, dengan aman dan efisien.
Apakah AI bisa menulis kode API-nya?
Tidak, alat ini hanya membuat 'rencana' atau 'spesifikasi' cara kerja API. Kode yang sebenarnya tetap perlu ditulis oleh programmer.
Detail
Deskripsi asli dari pembuat
Generates complete, production-ready REST API endpoint specifications for any system or domain the user describes.
Popularitas
- Bintang GitHub
- 48k
- Peringkat
- #3767
- Lisensi
- MIT
- Diperbarui
- 15/10/2026
Komentar
- β¦
Skill lain dari repositori ini
00-andruia-consultant
48kMembantu agent Anda memulai atau meningkatkan proyek AI. Agent menganalisis kode, menyarankan tools, dan membuat rencana aksi dalam bahasa Spanyol.
007
48kMemungkinkan agent Anda melakukan audit keamanan dan threat modeling. Berguna untuk melindungi proyek dari serangan dan celah keamanan.
10-andruia-skill-smith
48kMembantu agent Anda membuat atau meningkatkan tools AI. Agent mendefinisikan cara kerja tools, menulis dokumentasi, dan memvalidasi strukturnya.
20-andruia-niche-intelligence
48kMemungkinkan agent Anda membuat ringkasan industri tertentu. Berguna untuk memahami konteks, aturan, pola penggunaan, dan risiko proyek dengan sumber terpercaya.
Skill serupa
canvas
394kMemungkinkan agent Anda menampilkan widget visual yang di-hosting di panel Mac yang terhubung, lalu menyembunyikan panel atau memindahkannya ke halaman lain.
control-ui
394kMembantu agent Anda mengatur dan memecahkan masalah OpenClaw Control UI, termasuk sesi, dasbor, dan Gateway yang terhubung.
diagram-maker
394kMembantu agent Anda membuat diagram yang jelas sebagai SVG, HTML, atau Excalidraw yang dapat diedit untuk proses, arsitektur sistem, dan sketsa papan tulis.