Skip to content
Agentmart
Submit a tool

api-design-pattern

Use this skill to design or review APIs so they are predictable, secure, documented and consistent, regardless of technology.

Skill by whosbea

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/whosbea-api-design-pattern

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 this skill to design or review APIs so they are predictable, secure, documented and consistent, regardless of technology.

Use cases: 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-pattern

What's inside

Skill name
api-design-pattern
Description
Use this skill to design or review APIs so they are predictable, secure, documented and consistent, regardless of technology.
License
MIT
Instructions
53 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# API Design Pattern

Use this skill to design or review APIs.

## 1. Resources and routes
- Do routes represent clear resources?
- Are names consistent?
- Are HTTP verbs used correctly?
- Is there versioning when needed?

## 2. Contracts
- Do input and output have a clear contract?
- Are required and optional fields defined?
- Are there examples?
- Is the response predictable?

## 3. HTTP status codes
- Does success use the appropriate status?
- Do errors use the appropriate status?
- Does validation return a clear error?
- Is "resource not found" handled?

## 4. Pagination, filtering and sorting
- Do list endpoints have pagination?
- Are filters documented?
- Is sorting predictable?
- Is there a limit to prevent abuse?

## 5. Security
- Is authentication required where needed?
- Is authorization enforced in the backend?
- Is sensitive data kept from being exposed?
- Is there rate limiting when needed?

## 6. Errors
- Do errors follow a single standard?
- Do messages help the client?
- Are internal details kept from leaking?

## 7. Documentation
- Is the API documented?
- Are there request and response examples?
- Are error cases documented?

## Expected output
Respond with:
1. Diagnosis.
2. Contract problems.
3. Security problems.
4. Consistency improvements.
5. Example of the recommended pattern.

From whosbea/workflow-claude-codex-etc, MIT.

More from whosbea/workflow-claude-codex-etc

Signals

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

Cite this page

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