API Design Checklist

API Design Checklist is a skill for Claude Code, Codex from niels-emmer/myace. It costs 27 tokens per session (844 once invoked), scanned A, original, MIT.

An API design checklist checks whether software endpoints use consistent names, HTTP status codes, error responses, and versioning. An API is a set of endpoints that other software or clients call to access a service.

In plain words
What is it for?
Use it when adding or changing an endpoint, or when reviewing an API change. It helps check URL structure, naming and casing, HTTP method usage, response formats, and compatibility as the API grows.
Why use it?
It prevents each new endpoint from inventing its own rules, which makes an API harder to learn and more likely to produce client bugs. It gives a repeatable way to spot awkward or inconsistent designs.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for aider. Also seen: mentions Codex; built for aider; mentions OpenCode.

Good fit Use it when adding or changing an endpoint, or when reviewing an API change. It helps check URL structure, naming and casing, HTTP method usage, response formats, and compatibility as the API grows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/niels-emmer/myace/api-design-checklist
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add niels-emmer/myace --skill api-design-checklist
Clone the repo
git clone --depth 1 https://github.com/niels-emmer/myace

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for API Design Checklist

README.md
[![agentmods](https://agentmods.dev/badge/skills/niels-emmer/myace/api-design-checklist/github.svg)](https://agentmods.dev/skills/niels-emmer/myace/api-design-checklist)
Your own site
<a href="https://agentmods.dev/skills/niels-emmer/myace/api-design-checklist"><img src="https://agentmods.dev/badge/skills/niels-emmer/myace/api-design-checklist/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for API Design Checklist

Your own site · 80×15
<a href="https://agentmods.dev/skills/niels-emmer/myace/api-design-checklist"><img src="https://agentmods.dev/badge/skills/niels-emmer/myace/api-design-checklist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 844 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00027 $0.00844
Opus 5 $0.00014 $0.00422
Sonnet 5 $0.00005 $0.00169
Haiku 4.5 $0.00003 $0.00084

Measured 9d ago against content hash c0801403c508, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

API Design Checklist scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

collections/additional/backend/skills/api-design-checklist/SKILL.md · 43 lines

How it starts

The opening of the file, as written. The whole thing — 43 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Purpose

An API that's internally consistent is easier to learn, easier to generate clients for, and produces fewer "wait, why does this endpoint work differently" bugs. This skill is a checklist to run a new or changed endpoint against so it fits the shape of everything around it, rather than introducing its own one-off convention.

When to use it

Whenever you're adding a new endpoint, changing the shape of an existing one, or reviewing someone else's API change. Also useful as a gut-check when something about an endpoint feels awkward to call — that friction is often a naming or shape inconsistency.

Naming

  • Use plural nouns for collections (/orders, not /order), and nest resources under their natural parent (/orders/{id}/line-items, not /line-items?order_id=) when the child genuinely can't exist without the parent.
  • Keep casing consistent across the whole API for URL segments, query params, and JSON field names — pick one convention (commonly kebab-case for URLs, snake_case or camelCase for JSON body fields) and don't let a new endpoint drift to a different one.
  • Use HTTP methods for verbs, not the URL — POST /orders/{id}/cancel is more debatable than PATCH /orders/{id} with a status field, but either way stay consistent with how the rest of the API expresses state transitions.

Status codes

  • 200 for a successful read or update that returns a body, 201 for a successful creation (with a Location header or the created resource in the body), 204 for a successful action with no body to return.
  • 400 for malformed input the client sent, 401 for missing/invalid auth, 403 for authenticated-but-not-allowed, 404 for a resource that doesn't exist or that the caller isn't allowed to know exists, 409 for a conflict (duplicate create, concurrent-write conflict), 422 for well-formed input that fails validation rules.
  • Don't overload 200 with an error payload inside it ("soft 200") — if the request failed, the status code should say so, so that generic HTTP tooling (retries, monitoring, client error handling) behaves correctly without inspecting the body.

Read the full file on GitHub · 43 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 43 lines · 27 tokens per session scan A c0801403c508

Subscribe to this mod's changes

API Design Checklist is a skill published in the GitHub repository niels-emmer/myace (1 stars, last pushed 3d ago), licensed MIT. It adds 27 tokens to every session and 844 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.