Fix Kits · Agent Readiness · 23 of 159 points
Fix Kit: API Design
Lint your OpenAPI against the 31 rules in The API Design Guide: one casing, distinct operations, one error shape, consistent pagination, real examples. Moves four Agent Readiness checks and fourteen Kin Score checks.
- Effort: A day to run, read and fix with an overlay; two to three if you adopt the ruleset in CI.
- Who needs it: of 2,049 OpenAPI documents providers publish themselves (one per provider, verified by fetch, measured 2026-11-26): 80% of those with list operations don't paginate nine in ten of them, 80% carry examples on fewer than half their operations, 31% fall under the distinct-summary bar, 28% of those with error responses share no error schema, and 96% don't use Problem Details.
- You get: the full kit (PDF and Markdown): how to find what your API really does, step-by-step fix, starter schemas, an OpenAPI Overlay that applies it across your contract, a script that checks your work exactly the way the scorer does, and docs-platform notes.
What the check measures
This is a design kit, not a single check. It takes the thirty-one rules in the API Evangelist paper The API Design Guide and runs the ones a machine can read against your OpenAPI. Each rule maps to the score it moves.
A contract is read by more than people now. SDK generators turn every quirk into code, and agents pick operations by their summary, page by whatever parameter they find and branch on whatever an error looks like. Consistency is what they need, and consistency is where the market falls short: the basics (summaries, tags, success responses) are mostly done, while pagination, error shape and examples are not.
| Rule | What it reads | Score it moves |
|---|---|---|
| C1 | openapi is 3.1 or later |
Kin Score: OpenAPI 3.1 (5) |
| C2 | info has title, version, a 50+ character description and a contact |
Kin Score: Complete info block (4) |
| C3 | A public https server; no localhost |
Kin Score: Real servers declared (3) |
| N1–N6 | One casing for path segments, properties, query parameters; no verbs, trailing slashes or file extensions in paths | Design quality (no scoring check yet) |
| O1 | Every operation has a unique operationId |
Kin Score: Unique operationIds (4) |
| O3 / O5 / O6 | Summaries, real descriptions, tags on 80% of operations | Kin Score: summaries (6), descriptions (6), tagged (4) |
| O4 | 98% of summaries unique after normalising | Agent Readiness: Distinct Operations (3) |
| E1 / E2 | A 2xx on every operation; a 4xx on half of them | Kin Score: Success responses (5), Error responses (4) |
| E3 / E4 | One error schema referenced from two or more error responses; Problem Details | Agent Readiness: Stable Error Semantics (8) |
| P1 / P2 | 90% of collection GETs paginate; one pagination style | Agent Readiness: Pagination (5) |
| X1 | Request or response examples on 50% of operations | Agent Readiness: Examples (7); Kin Score: Examples present (4) |
| S1–S4 | Schemes declared and applied; no key in the query; no implicit or password flows | Kin Score: schemes (4), applied (3), query (3), OAuth grant (4) |
| W1 | POSTs accept Idempotency-Key |
Agent Readiness: Idempotency (9, verified tier) |
| D1 / D2 | Shared schemas referenced; date properties declare a format | Kin Score: Reusable components (3) |
The thresholds are the scorer’s own wherever a scoring check exists: they come from signals/score.rb (operations_*, response_coverage, error_responses_documented, error_envelope, pagination_grade, distinctiveness_grade, example_coverage, idempotency_key_param) and the points from signals/_data/scoring.yml at rubric 0.28.1. Agent Readiness grades pagination, examples and distinct summaries across all the OpenAPI files on your profile, so run the check on each one.
Where the market is, measured on the provider-published set:
| Rule | Pass |
|---|---|
| O3 summaries | 89.0% |
| E3 shared error schema | 72.2% |
| O4 distinct summaries | 68.9% |
| N3 no verbs in paths | 68.7% |
| P1 paginated collections | 20.4% |
| X1 examples | 19.6% |
| W1 Idempotency-Key | 8.7% |
| E4 Problem Details | 4.4% |
The rule above is the public rubric (rubric page). The kit sells the working method: the steps, starters, overlay and check script.