All skills
simota avatar

/gateway

@e307415
by shingo imotasimota/agent-skills85 stars
15

Designing and reviewing APIs: OpenAPI spec generation, versioning strategy, breaking change detection, REST/GraphQL best practices. Use for API design or OpenAPI specs.

Use this Skill: https://skilld.dev/gh/simota/agent-skills/gateway

This session only. Nothing lands on disk.

referenceapi-review-checklist.md

≈544 tokens on demand. Your agent reads this file only when SKILL.md points to it.

API Review Checklist

Design Review

## API Design Review: [Endpoint Name]

### Naming & Structure
- [ ] URL follows REST conventions (nouns, plural)
- [ ] HTTP methods used correctly
- [ ] Consistent naming style (camelCase/snake_case)
- [ ] Nested resources properly structured
- [ ] Query parameters for filtering/sorting (not in body)

### Request
- [ ] Request body schema defined
- [ ] Required vs optional fields clear
- [ ] Field types appropriate
- [ ] Validation rules specified
- [ ] Examples provided

### Response
- [ ] Response schema defined
- [ ] All possible status codes documented
- [ ] Error responses consistent
- [ ] Pagination for list endpoints
- [ ] Timestamps in ISO 8601 format

### Security
- [ ] Authentication specified
- [ ] Authorization rules documented
- [ ] Sensitive data not in URL/logs
- [ ] Rate limiting defined
- [ ] Input validation prevents injection

### Documentation
- [ ] Summary and description present
- [ ] Request/response examples
- [ ] Error scenarios documented
- [ ] Edge cases covered

Specification Validation

Before handoff to Builder, validate the specification:

## API Specification Validation Checklist

### Schema Completeness
- [ ] すべてのリクエストボディにスキーマ定義がある
- [ ] すべてのレスポンスにスキーマ定義がある
- [ ] 必須フィールドが明示されている
- [ ] フィールドの型が適切(string/number/boolean/array/object)
- [ ] 制約(minLength, maxLength, minimum, maximum, pattern)が定義されている

### Example Coverage
- [ ] リクエストボディの例がある
- [ ] 成功レスポンスの例がある
- [ ] エラーレスポンスの例がある
- [ ] エッジケースの例がある(空配列、null値など)

### Error Definition
- [ ] すべての可能なステータスコードが列挙されている
- [ ] エラーコードが一覧されている
- [ ] エラーメッセージが実装と一致している

### Tool Validation
- [ ] OpenAPI Linter (spectral) でエラーなし
- [ ] スキーマがJSONとして有効
- [ ] $ref が正しく解決される

Source: SKILL.md on GitHub

No alerts13d5 checks · Risk SAFE
  • Gen Agent Trust Hub13d

    The skill is a comprehensive API design specialist focusing on OpenAPI, GraphQL, and REST best practices. It provides detailed guidance on versioning, security (OWASP Top 10), and error handling without any malicious code or unsafe operations.

  • Socket13d

    No alerts

  • Snyk13d

    Risk: LOW · No issues

  • Runlayer6mo

    2/14 files flagged

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at e307415. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 days ago.

Activeupdated 2 weeks ago

README badge

README badge for simota/agent-skills/gateway