api-design SKILL.md skillA

api-design from darknecrocities/skillbuilder is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add darknecrocities/skillbuilder/api-design@git:20261025.8aa06bd

Pins git:20261025.8aa06bd in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
darknecrocities/skillbuilder
Path
skills/api-design/SKILL.md
Versions recorded
2
Latest version
git:20261025.8aa06bd, committed Oct 25, 2026
First version recorded
Oct 25, 2026
Size
4,225 bytes
Repository stars
13
License
none declared

API contract design and OpenAPI 3.1 specification skill. Enforces RFC 7807 problem details, idempotency headers, and consistent status codes.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# API Contract Design & OpenAPI 3.1 (`/api-design`)

> **Philosophy**: *APIs are permanent contracts. Design first. Standardize errors with RFC 7807. Enforce idempotency on state-changing operations. Paginate with cursors, never unbounded offsets.*

This skill establishes API contract standards, RESTful resource modeling, OpenAPI 3.1 specifications, uniform error semantics, and backward-compatibility rules.

---

## 1. RESTful Contract Architecture

```mermaid
flowchart LR
    A["Client Request (+ Idempotency-Key)"] --> B["OpenAPI 3.1 Route Definition"]
    B --> C["Strict Schema Parser (Fail-Fast)"]
    C --> D{"Success?"}
    D -- "Yes" --> E["200 OK / 201 Created (Envelope + Pagination)"]
    D -- "No" --> F["RFC 7807 Problem Details (application/problem+json)"]
```

---

## 2. Core API Contract Standards

### 2.1 RFC 7807 Problem Details Error Envelope
Every error response must use Content-Type `application/problem+json`:

```json
{
  "type": "https://api.example.com/errors/resource-not-found",
  "title": "Resource Not Found",
  "status": 404,
  "detail": "User with ID 'usr_01HXYZ...' does not exist in the tenant workspace.",
  "instance": "/v1/users/usr_01HXYZ...",
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add darknecrocities/skillbuilder/api-design@sha256:b9df47b913a3925b

The line at the top of this page pins the label git:20261025.8aa06bd, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_pjxq2a7cy7l3gehg.svg)](https://markdownregistry.com/a/art_pjxq2a7cy7l3gehg)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, all committed on Oct 25, 2026.

versioncommittedcommitsizeaudit
git:20261025.8aa06bd latest2026-10-25 8aa06bd 4,225 BA view · diff
git:20261025.debe22c2026-10-25 debe22c 2,475 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (4225 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

darknecrocities/skillbuilder · 13 stars · license none declared · pushed 2026-10-29 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_pjxq2a7cy7l3gehg
GET https://markdownregistry.com/api/v1/resolve?ref=darknecrocities/skillbuilder/api-design
GET https://markdownregistry.com/api/v1/blob/b9df47b913a3925b404a00228bab906dfd5f1dc0c633e5a2ed0f355d47d03b19

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from darknecrocities/skillbuilder

3d Cursor rule
darknecrocities/skillbuilder · .cursor/rules/3d.mdc · Interactive 3D WebGL, Three.js, and React Three Fiber (R3F) engineering skill. Enforces 60fps budgets, PBR materials…
git:20261029.1aa6bef · audit A · 13 stars
ai Cursor rule
darknecrocities/skillbuilder · .cursor/rules/ai.mdc · Architect, implement, and maintain production AI systems, Gemini API agents, Antigravity multi-agent orchestration…
git:20261029.1aa6bef · audit A · 13 stars
anti-slop Cursor rule
darknecrocities/skillbuilder · .cursor/rules/anti-slop.mdc · Anti-AI-slop and clean craftsmanship skill. Eliminates decorative badges, fake mock databases, neon gradients, obvious…
git:20261029.1aa6bef · audit A · 13 stars
antigravity-automation Cursor rule
darknecrocities/skillbuilder · .cursor/rules/antigravity-automation.mdc · Automate recurring, background, event-driven, and multi-agent workflows in Google Antigravity. Crafts scheduled…
git:20261029.1aa6bef · audit A · 13 stars
api-design Cursor rule
darknecrocities/skillbuilder · .cursor/rules/api-design.mdc · API contract design and OpenAPI 3.1 specification skill. Enforces RFC 7807 problem details, idempotency headers, and…
git:20261029.1aa6bef · audit A · 13 stars
aws Cursor rule
darknecrocities/skillbuilder · .cursor/rules/aws.mdc · Amazon Web Services resilient cloud architecture, serverless Lambda execution, S3 bucket security, DynamoDB…
git:20261029.1aa6bef · audit A · 13 stars
backend Cursor rule
darknecrocities/skillbuilder · .cursor/rules/backend.mdc · Architect, implement, and maintain resilient backend services, clean architecture, REST/gRPC API contracts, strict…
git:20261029.1aa6bef · audit A · 13 stars
continuous-learning Cursor rule
darknecrocities/skillbuilder · .cursor/rules/continuous-learning.mdc · Continuous conversational learning protocol (CLP) skill. Persists user corrections and project conventions to…
git:20261029.1aa6bef · audit A · 13 stars
data-pipelines Cursor rule
darknecrocities/skillbuilder · .cursor/rules/data-pipelines.mdc · Data pipeline engineering, streaming ETL with backpressure, Apache Arrow memory structures, DuckDB in-process…
git:20261029.1aa6bef · audit A · 13 stars
database Cursor rule
darknecrocities/skillbuilder · .cursor/rules/database.mdc · Architect, implement, and maintain resilient relational and NoSQL databases, zero-downtime schema migrations…
git:20261029.1aa6bef · audit A · 13 stars
devops Cursor rule
darknecrocities/skillbuilder · .cursor/rules/devops.mdc · Architect, implement, and maintain secure cloud infrastructure on GCP/AWS, multi-stage non-root Docker containers…
git:20261029.1aa6bef · audit A · 13 stars
firebase Cursor rule
darknecrocities/skillbuilder · .cursor/rules/firebase.mdc · Firebase serverless architecture, Cloud Firestore schema design, Security Rules (firestore.rules, storage.rules)…
git:20261029.1aa6bef · audit A · 13 stars

Every file in darknecrocities/skillbuilder

Other files named api-design

api-design SKILL.md skill
affaan-m/ecc · docs/es/skills/api-design/SKILL.md · Patrones de diseño REST API incluyendo nomenclatura de recursos, códigos de estado, paginación, filtrado, respuestas de…
git:20260607.ac0f11c · audit A · 293,827 stars
api-design SKILL.md skill
affaan-m/ecc · .agents/skills/api-design/SKILL.md · REST API design patterns including resource naming, status codes, pagination, filtering, error responses, versioning…
git:20260918.c752aac · audit A · 293,827 stars
api-design SKILL.md skill
affaan-m/ecc · .kiro/skills/api-design/SKILL.md · REST API design patterns including resource naming, status codes, pagination, filtering, error responses, versioning…
git:20260323.535120d · audit A · 293,827 stars
api-design SKILL.md skill
affaan-m/ecc · docs/ja-JP/skills/api-design/SKILL.md · リソース命名、ステータス コード、ページネーション、フィルタリング、エラー応答、バージョン管理、およびレート制限を含む REST API デザイン パターン。
git:20260517.ec9ace9 · audit A · 293,827 stars
api-design SKILL.md skill
cbrock84/headcount · plugins/technology/skills/api-design/SKILL.md · Designs interfaces that survive their consumers — resource modeling, errors, versioning, pagination, and compatibility…
git:20260916.e72e404 · audit A · 2,543 stars
api-design SKILL.md skill
hashgraph-online/awesome-codex-plugins · plugins/Colin4k1024/tsp/skills/api-design/SKILL.md · REST API design patterns including resource naming, status codes, pagination, filtering, error responses, versioning…
git:20260512.6523792 · audit A · 1,501 stars
api-design SKILL.md skill
ericrisco/rsc-harness · skills/api-design/SKILL.md · Use when settling the contract of an API you expose, before implementation: resources/URLs, REST vs GraphQL…
git:20260729.3ecb845 · audit A · 429 stars
api-design SKILL.md skill
yonatangross/orchestkit · plugins/ork/skills/api-design/SKILL.md · API wire contracts for REST and GraphQL: resource shape, versioning and deprecation, RFC 9457 errors, OpenAPI. Use when…
v2.0.0 · audit A · 299 stars

Browse by kind, by grade A, or by owner.