소스 정보
- 저장소
- leroyguillaume/claude
- 최근 소스 활동
- 2026년 6월 7일 12:41
- 감지된 SKILL.md 언어
- 영어
- 스타
- 4
- 포크
- 2
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/leroyguillaume/claude --skill api-conventions명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | api-conventions |
| description | HTTP/RPC API conventions (dedicated DTOs, no domain models on the |
Applies to every HTTP/RPC surface, in any language or framework. The language skills restate the mechanics (which validation crate, which serde attribute) where they need to be concrete.
CreateXRequest / UpdateXRequest for inputs and XResponse for outputs
(using the language's idiomatic casing). One DTO per request and per
response; do not reuse a domain type "because the fields happen to match",
and do not share one DTO across create and update.validator crate in Rust, Pydantic
in Python) and convert explicitly between DTOs and domain models
(From/Into, a mapper, etc.). A handler's job is exactly: deserialise the
request DTO → validate → map to a domain model → call the domain/repository
layer → map the result into a response DTO.Serialize/Deserialize on entities) so binding one to the wire
fails to compile.camelCase, regardless of the language's
native casing. Apply it at the serialisation layer, not by renaming each
field: in Rust put #[serde(rename_all = "camelCase")] on every
request/response DTO (schemars honours it, so the OpenAPI schema matches
the wire). Path and query parameters keep the exact name of their URL
placeholder (do not camelCase a {job_id} segment).<entity>_id (→ <entity>Id
on the wire): creator_id, game_id — never a mix like created_by
alongside game_id. The referenced entity's own identifier stays id.
Pick the suffix convention once and apply it to every reference field.tag / the framework's equivalent)
and declare the tags up front with a description and a deliberate order
(e.g. Authentication, then the main resources). No operation ships
untagged.sqlx's .fetch()),
applying the page size as it goes. Pagination of the wire contract is
non-negotiable regardless of which the data layer uses. Use offset/limit
pagination on the wire:
page (1-based) and perPage (camelCase on the
wire). The boundary maps them to limit = perPage,
offset = (page - 1) * perPage for the data layer.perPage (e.g. default 50,
max 100): clamp/validate at the DTO layer so a client can never request an
unbounded page. Missing params fall back to the defaults.{ "items": [...], "page": 1, "perPage": 50, "total": 1234 } (total
being the unfiltered row count) so clients can compute the page count.