vuralserhat86/antigravity-agentic-skills/api-design
Claude Code and agent skill by vuralserhat86/antigravity-agentic-skills
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
API tasarımı, GraphQL schema, OpenAPI spec, versioning. ⚠️ Tasarım aşaması için kullan. Uygulama/security için → backend-api.
Install
npx vskill@latest install vuralserhat86/antigravity-agentic-skills/api-designSKILL.md
🔌 API Design
RESTful ve GraphQL API tasarımı rehberi.
⚡ Quick Reference
HTTP Methods
GET(read) · POST(create) · PUT(full-update) · PATCH(partial) · DELETE
Status Codes
2xx Success · 4xx Client Error · 5xx Server Error
| Code | Kullanım | |
|---|---|---|
| 200/201/204 | OK/Created/No Content | |
| 400/401/403/404/422 | Bad/Unauth/Forbidden/NotFound/Validation | |
| 500/503 | Server Error/Unavailable |
📐 Endpoint Design
Query Params
?page=1&limit=20 · ?status=active · ?sort=createdAt&order=desc · ?fields=id,name
📦 Response Format
🔄 Versioning
| Yöntem | Örnek | Öneri | |
|---|---|---|---|
| URL (önerilen) | /api/v1/users | ✅ En yaygın | |
| Header | Accept: ...version=1 | Opsiyonel | |
| Query | ?version=1 | Kaçın |
📊 GraphQL Essentials
N+1 Çözümü: DataLoader, Batch loading, Query complexity limiting
📝 OpenAPI Temel
API Design v2.0 - Compact
🔄 Workflow
Aşama 1: Design Phase (Spec-First)
- [ ] Define Resources: Identify nouns (Users, Orders) and relationships.
- [ ] Draft OpenAPI/Schema: Write
openapi.yamlorschema.graphqlBEFORE coding. - [ ] Mocking: Use tools like Prism/Stoplight to generate mock servers from spec.
- [ ] Review: Get stakeholder feedback on the mock API.
Aşama 2: Implementation
- [ ] Codegen: Generate TypeScript types/interfaces from the spec.
- [ ] Business Logic: Implement controllers/resolvers connecting to services.
- [ ] Validation: Ensure Zod/Joi schemas match the OpenAPI spec.
Aşama 3: Testing & Security
- [ ] Contract Testing: Verify implementation matches spec (e.g., using Dredd/Pact).
- [ ] Security Audit: Check Rate Limiting, AuthN/AuthZ scopes.
- [ ] Error Handling: Verify standard error responses (RFC 7807).
Aşama 4: Documentation (Auto)
- [ ] Publish: Deploy Swagger UI / Redoc.
- [ ] Changelog: Document breaking changes if any (versioning strategy).
Kontrol Noktaları
| Aşama | Doğrulama | |
|---|---|---|
| 1 | OpenAPI spec onaylandı (lint geçerli) | |
| 2 | Kod ve Spec tipleri senkronize (codegen) | |
| 3 | Contract testleri geçiyor | |
| 4 | Dokümantasyon canlı ve güncel |
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/api_design/SKILL.md
Popularity
- Repository stars
- 42
- Repository forks
- 12
- 7-day trend score
- 19
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 30 Mar 2026, 8 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/vuralserhat86/antigravity-agentic-skills/api-design)