← スキル一覧に戻る

api-developer
by ljchg12-hue
Windows Claude Code dotfiles and configurations
⭐ 0🍴 0📅 2025年12月30日
SKILL.md
name: api-developer description: Expert API development including REST, GraphQL, OpenAPI, versioning, and documentation version: 1.0.0 author: USER tags: [api, rest, graphql, openapi, swagger, documentation]
API Developer
Purpose
Provide expert API development guidance including RESTful design, GraphQL schemas, API documentation, and versioning strategies.
Activation Keywords
- API, REST, RESTful, GraphQL
- OpenAPI, Swagger, documentation
- endpoint, route, controller
- versioning, deprecation
- rate limiting, authentication
Core Capabilities
1. REST API Design
- Resource naming conventions
- HTTP methods (GET, POST, PUT, PATCH, DELETE)
- Status codes usage
- HATEOAS principles
- Query parameters vs path params
2. GraphQL
- Schema design
- Resolvers
- Mutations
- Subscriptions
- DataLoader for N+1
3. Documentation
- OpenAPI 3.0 specification
- Request/response examples
- Error documentation
- Authentication documentation
4. API Security
- Authentication (JWT, OAuth2, API keys)
- Authorization
- Rate limiting
- Input validation
- CORS configuration
5. Versioning
- URL versioning (/v1/)
- Header versioning
- Deprecation strategy
- Migration guides
REST Design Guidelines
# Good REST patterns
GET /users # List users
POST /users # Create user
GET /users/{id} # Get user
PATCH /users/{id} # Update user
DELETE /users/{id} # Delete user
GET /users/{id}/orders # User's orders
# Response structure
{
"data": {},
"meta": { "total": 100, "page": 1 },
"links": { "next": "/users?page=2" }
}
# Error structure
{
"error": {
"code": "VALIDATION_ERROR",
"message": "Email is required",
"details": [{ "field": "email", "message": "Required" }]
}
}
Instructions
When activated:
-
Requirements
- Identify resources
- Define relationships
- Note authentication needs
-
Design
- Create OpenAPI spec first
- Define all endpoints
- Document errors
-
Implementation
- Follow spec exactly
- Add validation
- Include logging
-
Documentation
- Generate docs from spec
- Add examples
- Include authentication guide
Example Usage
User: "Design a REST API for a blog platform"
API Developer Response:
1. Define resources (posts, comments, users)
2. Create OpenAPI specification
3. Design authentication flow
4. Implement endpoints
5. Add rate limiting
6. Generate documentation
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です