Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/nth5693-api-design
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, backend
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
api-design- Description
- None
- License
- MIT
- Instructions
- 135 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- missing YAML frontmatter
- name: missing
- description: missing
Files (1)
- SKILL.md
SKILL.md (first lines)
# API Design Skill
## Overview
RESTful API patterns, GraphQL design, and API best practices.
## RESTful Design Principles
### 1. Resource Naming
```
✅ Good:
GET /users # List users
GET /users/123 # Get user
POST /users # Create user
PUT /users/123 # Update user
DELETE /users/123 # Delete user
❌ Bad:
GET /getUsers
POST /createUser
GET /user/delete/123
```
### 2. HTTP Status Codes
```typescript
// Success
200 OK - Successful GET/PUT
201 Created - Successful POST
204 No Content - Successful DELETE
// Client Errors
400 Bad Request - Invalid input
401 Unauthorized - Auth required
403 Forbidden - No permission
404 Not Found - Resource doesn't exist
422 Unprocessable - Validation failed
// Server Errors
500 Internal Error - Server bug
503 Service Unavailable - Maintenance
```
### 3. Response Format
```typescript
// Success response
{
"data": {
"id": "123",
"name": "John",
"email": "john@example.com"
}
}
// Error response
{
"error": {
"code": "VALIDATION_ERROR",
"message": "Email is required",
"details": [
{ "field": "email", "message": "This field is required" }
]
}
}
// List with pagination
{
"data": [...],
"meta": {
"page": 1,
"perPage": 20,
"total": 150,
"totalPages": 8
}
}
```
### 4. Pagination
```typescript
// Offset-based
GET /posts?page=2&limit=20
// Cursor-based (better for large datasets)
GET /posts?cursor=abc123&limit=20
```
### 5. Filtering & Sorting
```typescript
// Filtering
GET /posts?status=published&author=123
// Sorting
GET /posts?sort=-createdAt,title // - for DESC
```
## API Versioning
```typescript
// URL versioning (recommended)
GET /api/v1/users
// Header versioning
GET /api/users
Accept: application/vnd.myapp.v1+json
```
## Rate Limiting
```typescript
import rateLimit from 'express-rate-limit';
const limiter = rateLimit({
windowMs: 15 * 60 * 1000, // 15 minutes
max: 100, // 100 requests per window
message: { error: 'Too many requests' },
});
app.use('/api/', limiter);
```
## Input Validation
```typescript
import { z } from 'zod';From nth5693/gemini-kit, MIT.
More from nth5693/gemini-kit
- 0.541score
supabase
nth5693
Database, auth, and backend expertise for Supabase operations in [PROJECT_NAME]
SkillDFreshness: D★ 371Claude Code +9 - 0.536score
code-review
nth5693
Systematic multi-perspective code review with consistent quality gates.
SkillDFreshness: D★ 371Claude Code +9 - 0.533score
compound-docs
nth5693
Document solved problems for knowledge persistence
SkillDFreshness: D★ 371Claude Code +9 - 0.533score
file-todos
nth5693
Manage file-based todo tracking in the todos/ directory
SkillDFreshness: D★ 371Claude Code +9 - 0.533score
session-resume
nth5693
Resume context from previous session
SkillDFreshness: D★ 371Claude Code +9 - 0.532score
debug
nth5693
Systematic debugging with structured reproduction and root cause analysis.
SkillDFreshness: D★ 371Claude Code +9 - 0.511score
testing
nth5693
Unified testing commands and patterns across frontend and backend.
SkillDFreshness: D★ 371Claude Code +9 - 0.291score
tailwind
nth5693
No description from the publisher yet.
SkillDFreshness: D★ 371Claude Code +9 - 0.291score
docker
nth5693
No description from the publisher yet.
SkillDFreshness: D★ 371Claude Code +9 - 0.291score
mobile
nth5693
No description from the publisher yet.
SkillDFreshness: D★ 371Claude Code +9 - 0.291score
performance
nth5693
No description from the publisher yet.
SkillDFreshness: D★ 371Claude Code +9 - 0.291score
nextjs
nth5693
No description from the publisher yet.
SkillDFreshness: D★ 371Claude Code +9
Signals
- Stars
- 371
- Forks
- 32
- Open issues
- 3
- Last commit (this folder)
- Jan 22, 2026 (9 months ago)
- Last release
- Jan 22, 2026 (9 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/nth5693/gemini-kit
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from nth5693
- 0.541score
supabase
nth5693
Database, auth, and backend expertise for Supabase operations in [PROJECT_NAME]
SkillDFreshness: D★ 371Claude Code +9 - 0.536score
code-review
nth5693
Systematic multi-perspective code review with consistent quality gates.
SkillDFreshness: D★ 371Claude Code +9 - 0.533score
compound-docs
nth5693
Document solved problems for knowledge persistence
SkillDFreshness: D★ 371Claude Code +9 - 0.533score
file-todos
nth5693
Manage file-based todo tracking in the todos/ directory
SkillDFreshness: D★ 371Claude Code +9 - 0.533score
session-resume
nth5693
Resume context from previous session
SkillDFreshness: D★ 371Claude Code +9 - 0.532score
debug
nth5693
Systematic debugging with structured reproduction and root cause analysis.
SkillDFreshness: D★ 371Claude Code +9
Cite this page
api-design skill. Agent Mart. https://agentmart.dev/skills/nth5693-api-design (last updated 2026-10-24)