agentsclimarketplace

Api design

Skill kimtth/agent-skill-100-lines-or-less/skills/api-design

🧿 Minimal but effective AI agent skill definitions in 100 lines or less.

Install
npx -y skills add kimtth/agent-skill-100-lines-or-less --skill api-design

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.
  • 2 stars2 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: design a clear, consistent, and evolvable API contract before implementing it.

SKILL.md

1.1 KB, as published. Nobody here has run it

Goal: an API that is predictable, hard to misuse, and safe to evolve.

Use for:

  • designing a new API surface or endpoint set
  • reviewing naming, consistency, and error semantics
  • planning backward-compatible changes

Workflow:

  1. Model the resources and operations from the consumer's view.
  2. Use consistent naming, casing, and pluralization.
  3. Define clear request/response shapes and error formats.
  4. Choose explicit status codes and meaningful error bodies.
  5. Plan versioning and backward compatibility up front.
  6. Document the contract and validate it against real usage.

Principles:

  • make the common case simple and the right thing easy
  • consistent conventions beat per-endpoint cleverness
  • return structured, actionable errors
  • design for additive, non-breaking evolution

Rules:

  • never break a published contract silently; version it
  • validate inputs and reject ambiguity explicitly
  • keep responses predictable in shape and naming
  • document before consumers depend on undocumented behavior

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.