Reference docMembers

Common API Anti-Patterns and How to Avoid Them

Common API Anti-Patterns and How to Avoid Them is a reference document for Claude Code, from the Alireza Rezvani skills and agents collection by alirezarezvani. The full text is about 1,706 words in 76 sections, with 34 code blocks. It is a supporting file that a skill or agent reads while it works, so the main instructions can stay short.

It is most useful for people working in Backend and Design who use Claude Code.

What it covers

  • Introduction
  • 1. Verb-Based URLs The RPC Trap
  • Anti-Pattern
  • Why It's Bad
  • Solution
  • 2. Inconsistent Naming Conventions
  • 3. Ignoring HTTP Status Codes
  • 4. Overly Complex Nested Resources
  • 5. Inconsistent Error Response Formats
  • 6. Missing or Poor Pagination

The full text is in the members library

Book a call and we will give you access to the full Claude Code library: every entry in full, search by meaning, copy and download.

Source: https://github.com/alirezarezvani/claude-skills/blob/main/engineering/skills/api-design-reviewer/references/api_antipatterns.md

Author: alirezarezvani, Alireza Rezvani skills and agents. License: MIT.

Related entries