api-design-document SKILL.md skillA

api-design-document from fattain-naime/engineering-docs is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add fattain-naime/engineering-docs/api-design-document@git:20260717.2f82174

Pins git:20260717.2f82174 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
fattain-naime/engineering-docs
Path
skills/api-design-document/SKILL.md
Versions recorded
5
Latest version
git:20260717.2f82174, committed Jul 17, 2026
First version recorded
Jul 8, 2026
Size
15,771 bytes
Repository stars
6
License
MIT

Design a production-ready API specification aligned with OpenAPI 3.1 standards. Covers resource modeling, endpoint design, request/response contracts, authentication, versioning strategy, error handling, rate limiting, and pagination. Use when designing a new REST, GraphQL, or event-driven API.

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

## Purpose

Produce an API design document that defines the complete interface contract for a new or revised API. This document is the authoritative specification that drives implementation, consumer integration, testing, and documentation simultaneously.

**The cost of a bad API design is permanent.** Once consumers depend on it, changes are breaking changes. Getting the design right before the first line of implementation code is written is the highest-ROI investment in an API's lifetime.

## Input

**Works best with:** The name of the API or service being designed.
**Also valuable:** The domain entities and operations, consumer use cases, authentication context, existing API conventions in the codebase, performance requirements.

**Example invocation:** `Design the API for a payment links system. Merchants create payment links with a custom amount, expiry, and description. Customers use the link to pay. Merchants can list, deactivate, and delete their links. Needs HMAC webhook notification on payment. Auth via Bearer token.`

## Key Concepts

### Richardson Maturity Model
Target Level 2 or Level 3 (HATEOAS for discovery-driven APIs):
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add fattain-naime/engineering-docs/api-design-document@sha256:8f38cb88e803a87e

The line at the top of this page pins the label git:20260717.2f82174, 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_kso36btapxu3ytz2.svg)](https://markdownregistry.com/a/art_kso36btapxu3ytz2)

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

Versions

The registry has recorded 5 versions of this file, between Jul 8, 2026 and Jul 17, 2026, about one every 2 days.

versioncommittedcommitsizeaudit
git:20260717.2f82174 latest2026-07-17 2f82174 15,771 BA view · diff
git:20260712.59c58522026-07-12 59c5852 5,654 BA view · diff
git:20260712.7e3d1bb2026-07-12 7e3d1bb 5,752 BA view · diff
git:20260709.03fe43c2026-07-09 03fe43c 5,536 BA view · diff
git:20260708.a309efd2026-07-08 a309efd 4,720 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 (15771 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

fattain-naime/engineering-docs · 6 stars · license MIT · pushed 2026-10-21 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_kso36btapxu3ytz2
GET https://markdownregistry.com/api/v1/resolve?ref=fattain-naime/engineering-docs/api-design-document
GET https://markdownregistry.com/api/v1/blob/8f38cb88e803a87e9b83165a86aafed08f3ec46ef9a9b7f597eb2a3ef7e7c4f5

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 fattain-naime/engineering-docs

AGENTS.md@integrations/agents AGENTS.md file
fattain-naime/engineering-docs · integrations/agents/AGENTS.md
git:20260717.cca83e2 · audit A · 6 stars
CLAUDE.md@integrations/agents CLAUDE.md file
fattain-naime/engineering-docs · integrations/agents/CLAUDE.md
git:20260717.cca83e2 · audit A · 6 stars
admin-access-control-specification SKILL.md skill
fattain-naime/engineering-docs · skills/admin-access-control-specification/SKILL.md · Specify admin roles, permissions, and every admin-facing control in a system - a full role-permission matrix (RBAC)…
git:20260717.2f82174 · audit A · 6 stars
architecture-decision-record SKILL.md skill
fattain-naime/engineering-docs · skills/architecture-decision-record/SKILL.md · Create a standalone Architecture Decision Record (ADR) for a single significant architectural decision. Captures…
git:20260717.2f82174 · audit A · 6 stars
business-concept SKILL.md skill
fattain-naime/engineering-docs · skills/business-concept/SKILL.md · Turn a raw business idea into a complete business concept document. Covers problem, target users, value proposition…
git:20260717.2f82174 · audit A · 6 stars
database-design-document SKILL.md skill
fattain-naime/engineering-docs · skills/database-design-document/SKILL.md · Design a production database schema including ERD, table definitions, data dictionary, indexing strategy, normalization…
git:20260717.2f82174 · audit A · 6 stars
deployment-plan SKILL.md skill
fattain-naime/engineering-docs · skills/deployment-plan/SKILL.md · Write a production deployment plan covering environment specs, deployment strategy (Blue-Green, Canary, Rolling, or…
git:20260717.2f82174 · audit A · 6 stars
design-system-specification SKILL.md skill
fattain-naime/engineering-docs · skills/design-system-specification/SKILL.md · Design a production-ready Design System and UI/UX visual style guide. Covers design tokens (colors, typography…
git:20260717.2f82174 · audit A · 6 stars
disaster-recovery-plan SKILL.md skill
fattain-naime/engineering-docs · skills/disaster-recovery-plan/SKILL.md · Write a disaster recovery and business continuity plan defining RTO/RPO targets, backup and failover procedures, DR…
git:20260717.2f82174 · audit A · 6 stars
implementation-plan SKILL.md skill
fattain-naime/engineering-docs · skills/implementation-plan/SKILL.md · Create a phased implementation roadmap that sequences the technical build of an entire project - build order, module…
git:20260717.2f82174 · audit A · 6 stars
incident-postmortem SKILL.md skill
fattain-naime/engineering-docs · skills/incident-postmortem/SKILL.md · Write a blameless post-incident review (post-mortem / RCA) that documents what happened, the timeline, root cause…
git:20260717.2f82174 · audit A · 6 stars
project-plan SKILL.md skill
fattain-naime/engineering-docs · skills/project-plan/SKILL.md · Create a project delivery plan covering scope, milestones, timeline, work breakdown, resourcing, stakeholder roles…
git:20260717.2f82174 · audit A · 6 stars

Every file in fattain-naime/engineering-docs

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