Skip to main content

api-design

Use when: design a clear, consistent, and evolvable API contract before implementing it.

소스 정보

저장소
kimtth/agent-skill-100-lines-or-less
최근 소스 활동
2026년 6월 26일 02:15
감지된 SKILL.md 언어
영어
스타
2
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
api-design
description
Use when: design a clear, consistent, and evolvable API contract before implementing it.
Goal: an API that is predictable, hard to misuse, and safe to evolve. Use for: - designing a new API surface or endpoint set - reviewing naming, consistency, and error semantics - planning backward-compatible changes Workflow: 1. Model the resources and operations from the consumer's view. 2. Use consistent naming, casing, and pluralization. 3. Define clear request/response shapes and error formats. 4. Choose explicit status codes and meaningful error bodies. 5. Plan versioning and backward compatibility up front. 6. Document the contract and validate it against real usage. Principles: - make the common case simple and the right thing easy - consistent conventions beat per-endpoint cleverness - return structured, actionable errors - design for additive, non-breaking evolution Rules: - never break a published contract silently; version it - validate inputs and reject ambiguity explicitly - keep responses predictable in shape and naming - document before consumers depend on undocumented behavior
GitHub에서 보기