本文へ移動
cccskills
無料GitHub で公開

api-designer

Design RESTful APIs with best practices for consistency and usability

インストール方法を見る

含まれるファイル(1)

  • SKILL.md1.2 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

API Designer

Expert guidance for designing clean, consistent REST APIs.

REST Principles

  • Use nouns for resources, verbs for actions
  • Follow HTTP method semantics (GET, POST, PUT, DELETE)
  • Return appropriate status codes
  • Support content negotiation

URL Design

  • Use plural nouns for collections (/users, /posts)
  • Nest resources logically (/users/123/posts)
  • Use query parameters for filtering and pagination
  • Keep URLs readable and predictable

Response Format

  • Use consistent JSON structure
  • Include metadata for collections (total, page, etc.)
  • Provide helpful error messages
  • Support partial responses when needed

Versioning

  • Include version in URL or header
  • Maintain backward compatibility
  • Document breaking changes clearly
  • Deprecate gracefully with notice periods

Security

  • Use HTTPS everywhere
  • Implement proper authentication
  • Validate all inputs
  • Rate limit API endpoints
  • Log security-relevant events

Documentation

  • Provide OpenAPI/Swagger specs
  • Include request/response examples
  • Document error codes and meanings
  • Keep docs updated with changes

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Provides coding assistance with best practices and code review

日本語の概要は準備中です。原文の説明を表示しています。

athola/skrills692026年10月11日 更新

Systematic debugging approach for identifying and fixing issues

日本語の概要は準備中です。原文の説明を表示しています。

athola/skrills692026年10月11日 更新

Git best practices for version control and collaboration

日本語の概要は準備中です。原文の説明を表示しています。

athola/skrills692026年10月11日 更新

Convert a codebase into a self-contained HTML portal app for ingestion into AI application systems. Produces a single deployable HTML file with embedded CSS, JS, and data.

日本語の概要は準備中です。原文の説明を表示しています。

athola/skrills692026年10月11日 更新

Write thorough tests following TDD and BDD principles

日本語の概要は準備中です。原文の説明を表示しています。

athola/skrills692026年10月11日 更新

athola のスキルをすべて見る

このスキルの問題を報告する