Skip to content
Agentmart
Submit a tool

api-docs

Author and structure API and interface documentation for HTTP APIs, internal RPC surfaces, and inbound webhooks.

Skill by iamthenop

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/iamthenop-api-docs

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Author and structure API and interface documentation for HTTP APIs, internal RPC surfaces, and inbound webhooks. Use when creating, editing, restructuring, or reviewing interface documents, operation/message contracts, transport-facing authorization, request/response shapes, delivery semantics, or interface-specific failure rules.

Use cases: backend, writing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/api-docs

What's inside

Skill name
api-docs
Description
Author and structure API and interface documentation for HTTP APIs, internal RPC surfaces, and inbound webhooks. Use when creating, editing, restructuring, or reviewing interface documents, operation/message contracts, transport-facing authorization, request/response shapes, delivery semantics, or interface-specific failure rules.
License
MIT
Metadata
skill-type: deliverable · prose-setting: end-user · skill-dependency: vocabulary-control,prose-discipline
Instructions
351 lines in SKILL.md · view on GitHub

Files (5)

  • SKILL.md
  • api-template.md · assets/
  • rpc-template.md · assets/
  • webhook-template.md · assets/
  • type-notation.md · references/

SKILL.md (first lines)

# API documentation

API documents define interfaces between actors or components. They record
decided interface contracts; they do not decide component responsibilities,
workflow sequencing, durable state, or implementation.

Prose quality follows `prose-discipline`. Vocabulary and information ownership
follow `vocabulary-control`. A fact is normative in exactly one document;
dependent documents reference it instead of restating or weakening it.

## Document types

One file, one interface type.

| Type     | Governs                                                 |
| :------- | :------------------------------------------------------ |
| HTTP API | request/response operations exposed over HTTP           |
| RPC      | operations exposed by one component to internal callers |
| webhook  | inbound messages delivered to one component over HTTP   |

Use the corresponding template from `## Assets`.

The transport does not determine the document type by itself. A webhook remains
a webhook because its contract is inbound message delivery, even though it uses
HTTP. An RPC surface remains RPC when its contract is component-to-component
invocation, even when the underlying transport uses HTTP.

## Scope

An API document defines only facts intrinsic to the interface it governs.

Typical interface facts include:

* permitted callers or senders;
* exposed operations or accepted messages;
* routes or operation names;
* request and response shapes;
* authentication requirements at the interface;
* operation or message authorization;
* validation performed at the interface;
* acknowledgement or response semantics;
* retry, replay, and idempotency requirements;
* failures visible at the interface.

An API document does not redefine:

* component boundaries;
* caller or sender responsibilities outside the interface;
* workflow sequencing beyond one operation or delivery;
* durable state models;
* implementation frameworks;
* deployment topology;
* internal behaviour that is not observable through the interface.

Those facts remain in their owning documents.

## Authority

Authentication establishes identity. It does not by itself authorize an
operation or message.

Where authorization exists at an interface, state what authenticated identity
is authorized to perform. Do not infer authorization from transport security,
network placement, or successful authentication.

Do not invent callers, senders, operations, messages, identifiers, fields,
acknowledgements, or error classes to make an interface appear complete.

Record decided contract only.

## Message and field discipline

Request, response, and message shapes contain only information required by the
interface contract.

Do not add generic metadata merely because a framework commonly supplies it.
Examples include:

* request identifiers;
* correlation identifiers;
* event identifiers;
* delivery identifiers;
* retry counters;
* timestamps;
* version fields.

Include such values only when the decided interface requires them.

A field carries one established meaning. API documents use canonical vocabulary
and do not introduce aliases for terms owned elsewhere.

## Validation

State validation performed at the documented interface.

Separate:

* malformed input;
* failed authentication;
* failed authorization;
* contract validation;
* application or state conflict;
* dependency or service failure;

only where those distinctions exist in the decided contract.

An interface must not repair malformed authority-bearing input unless that
behaviour is explicitly part of the contract.

Validation performed later in a workflow belongs to that workflow or its
owning component, not to the API document.

## Failure semantics

Failures describe what the interface can establish.

Do not:

* convert dependency failure into an authoritative negative result;

From iamthenop/infurnet-skills, MIT.

More from iamthenop/infurnet-skills

Signals

Stars
0
Forks
0
Open issues
5
Last commit (this folder)
Sep 12, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from iamthenop

Cite this page

api-docs skill. Agent Mart. https://agentmart.dev/skills/iamthenop-api-docs (last updated 2026-10-24)