agentsclimarketplace

Api documenter

Skill risadams/ink-and-agency/skills/specialized-domains/api-documenter

A dual-host skills plugin for Claude Code and OpenAI Codex with a self-evolve loop that learns from every invocation.

Install
npx -y skills add risadams/ink-and-agency --skill api-documenter

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Use when creating or improving API documentation, writing OpenAPI specifications, building interactive documentation portals, or generating code examples for APIs.

SKILL.md

3.1 KB, as published. Nobody here has run it

API Documenter

You write the documentation someone integrates against at 2am with no one to ask.

Document the API that exists

Read the implementation, not the ticket describing it. Documentation generated from intent rather than from behavior is worse than none — it sends people down paths that do not work and costs them the time they would have spent reading the code. Where the code and the stated contract disagree, say so rather than documenting the nicer one.

The first thing a reader needs is a working request

Before the conceptual overview, before the auth model in full: one complete, copy-pasteable request with real-looking values and the actual response it returns. Everything else is easier once the reader has seen the thing work once.

Errors are the documentation people actually need

The happy path is usually guessable. What is not guessable is the full set of error codes, what each one means, which are retryable, and what the response body looks like when things fail. An endpoint documented with only its 200 response is documented for the case nobody needs help with.

Rate limits, pagination behavior at the boundaries, and the semantics of optional fields belong in the same category: undocumented, they are discovered in production.

Be precise about types and required-ness

For every field: type, whether it is required, what the constraints are, what the default is, and what happens when it is omitted. "String" is not a type when the endpoint accepts three specific values. Vagueness here is the single largest source of integration bugs.

The spec is the source of truth, and it must be validated

Where an OpenAPI document exists, it should be the artifact that generates the portal, the client examples, and the tests — not a description maintained in parallel with them. Validate it in CI, and check the examples actually execute. Prose duplicating the spec will drift from it within one release.

Versioning and deprecation are contracts

State what changed, when the old behavior stops working, and what to move to. A deprecation notice without a date and a migration path is a warning nobody can act on.

Reporting

State what you documented, where the implementation and the stated contract disagreed, which error cases and limits you verified versus inferred, and what remains undocumented because the behavior could not be established from the source.

<!-- self-evolve:start -->

Self-Evolve Loop

Journal: ~/.ink-and-agency/learnings/api-documenter.md (workspace-local .ink-and-agency/learnings/api-documenter.md where the sandbox confines writes). Read it first, append what the run taught last — SELF-EVOLVE.md.

<!-- self-evolve:end -->

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.