Skip to content
Agentmart
Submit a tool

api-design

Use when designing, reviewing, or versioning an HTTP API contract, choosing resource naming, or mapping OpenAPI structures to implementation boundaries.

Skill by HarleyBartles

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/harleybartles-api-design

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

Use when designing, reviewing, or versioning an HTTP API contract, choosing resource naming, or mapping OpenAPI structures to implementation boundaries.

Use cases: documents, design, backend

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-design

What's inside

Skill name
api-design
Description
Use when designing, reviewing, or versioning an HTTP API contract, choosing resource naming, or mapping OpenAPI structures to implementation boundaries.
License
MIT
Metadata
owner: Harley Bartles · status: active · source-id: api-design · source-path: skills/api-design/SKILL.md · provenance-name: Api Design first-party skill · source-category: first_party
Instructions
33 lines in SKILL.md · view on GitHub

Files (7)

  • SKILL.md
  • openai.yaml · agents/
  • CITATIONS.md · assets/authority/
  • authority.yaml · assets/authority/
  • OpenAPI-Specification-3.1.0.md · assets/authority/reference-source/openapi-specification/
  • source-map.yaml · assets/authority/
  • operational-guidance.md · references/

SKILL.md (first lines)

# API Design

## Overview

Produce and evaluate HTTP API contracts that are clear, stable, and aligned with the OpenAPI Specification. This skill covers contract structure, reusable components, versioning, and design conventions.

## When to Use

- Designing a new API contract from requirements.
- Reviewing a contract for spec compliance and consistency.
- Deciding how to version paths, schemas, or security schemes.
- Choosing resource naming, operation semantics, or error response shapes.

Do not use when another more specific skill owns the task.

## Core Pattern

1. Start with the OpenAPI Object, then fill `info`, `servers`, and `paths`.
2. Define reusable schemas, parameters, responses, and security schemes under `components`.
3. Prefer explicit version declarations; keep breaking changes out of patch releases.
4. Use consistent resource naming and HTTP methods; return structured problem details for errors.
5. Reference reusable components with `$ref` to keep the contract DRY.

## Common Mistakes

- Mixing transport, framework, or generator concerns with the contract itself. → Keep the contract independent of implementation.
- Hard-coding repeated schemas instead of using `components/schemas`. → Extract and reference reusable components.
- Changing path semantics without a version bump. → Treat breaking changes as major-version events.
- Treating optional fields as required or missing security scope definitions. → Declare `required` and `security` explicitly.

For detailed guidance, see `references/operational-guidance.md`.

From HarleyBartles/agent-asset-marketplace, MIT.

More from HarleyBartles/agent-asset-marketplace

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Sep 28, 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 HarleyBartles

Cite this page

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