skills/api-design/SKILL.md
Enforce API design rules when adding or changing endpoints. Apply REST conventions, versioning, deduplication semantics, OpenAPI documentation.
npx skillsauth add pkuppens/pkuppens api-designInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use when designing new HTTP APIs, refactoring routes, or reviewing API changes.
/docs, /redoc)| Verb | Use | Idempotent | |------|-----|------------| | GET | Retrieve, list, health | Yes | | POST | Create, actions (domain operations) | No (unless designed idempotent) | | PUT | Replace resource | Yes | | DELETE | Remove | Yes |
Upload / create semantics (common pattern):
created: false — no duplicate side effects/api/documents, not /api/document/api/documents/{id}/chunks/api/ask, /api/transcribeCreate new when: different resource, different contract, clear separation. Extend when: same resource, minor variant, additive parameters.
/api/v0/upload next to /api/v1/documents) — consolidate behind one versioned surface..cursor/rules/ (e.g. api-design.mdc)docs/technical/API_DESIGN.md, API_ENDPOINTS.md when presenttools
Creates, queries, updates, and links Azure Boards work items via az boards CLI. Use when filing ADO work items, running WIQL queries, or setting area path, iteration, tags, and assignee.
tools
Creates, reviews, and completes Azure Repos pull requests and branch policies via az repos CLI. Use when opening ADO PRs, setting required reviewers, or configuring build validation policies.
development
Guides Azure Pipelines YAML structure, build validation on PRs, and staged deployment with environments and approvals. Use when authoring azure-pipelines.yml or configuring CI/CD on Azure DevOps.
tools
Orchestrates Azure DevOps work item, repo, and pipeline workflows using az CLI. Use when working with Azure DevOps, Azure Repos, Azure Boards, Azure Pipelines, or az devops commands.