This is a comprehensive guide for building production APIs with proper REST design, OpenAPI 3.1 specs, and OAuth2/JWT authentication. It enforces TDD with httpx tests written before implementation and includes concrete checks for OWASP API Security Top 10 vulnerabilities like BOLA (broken object level authorization). The anti-hallucination protocol is smart, requiring verification of HTTP status codes and OpenAPI fields against official specs before responding. Use this when you need to design scalable endpoints with rate limiting, implement proper pagination patterns, or secure API gateways. The workflow is opinionated but thorough, pushing you toward RFC 7807 error formats and defensive coding that catches security issues early.

skills.sh installs
257
GitHub stars
48
last updated
Aug 21, 2026

Install

$ npx -y skills add martinholovsky/claude-skills-generator --skill api-expert --agent claude-code

Installs into .claude/skills of the current project.

Files

API Design & Architecture Expert

0. Anti-Hallucination Protocol

🚨 MANDATORY: Read before implementing any code using this skill

Verification Requirements

When using this skill to implement API features, you MUST:

  1. Verify Before Implementing

    • βœ… Check official OpenAPI 3.1 specification
    • βœ… Confirm OAuth2.1/JWT patterns are current
    • βœ… Validate OWASP API Security Top 10 2023 guidance
    • ❌ Never guess HTTP status code meanings
    • ❌ Never invent OpenAPI schema options
    • ❌ Never assume RFC compliance without checking
  2. Use Available Tools

    • πŸ” Read: Check existing codebase for API patterns
    • πŸ” Grep: Search for similar endpoint implementations
    • πŸ” WebSearch: Verify specs in OpenAPI/IETF docs
    • πŸ” WebFetch: Read official RFC documents and OWASP guides
  3. Verify if Certainty < 80%

    • If uncertain about ANY API spec/header/standard
    • STOP and verify before implementing
    • Document verification source in response
    • API design errors affect all consumers - verify first

Sponsors

Details

Repository
github.com/martinholovsky/claude-skills-generator
Categories
Backend & APIs, Security, Code Review & Quality, Automation & Workflows, Design & UI/UX
First seen
Jun 3, 2026

More from martinholovsky/claude-skills-generator

All 50
1patricio0312rev avatarvscode-rest-client-generatorpatricio0312rev/skillsGenerates .http files for the VS Code REST Client extension from Express, Next.js, Fastify, or other API routes. Creates organized request files with variables,255skills.sh installs
2davila7 avatarreactome-databasedavila7/claude-code-templatesQuery Reactome REST API for pathway analysis, enrichment, gene-pathway mapping, disease pathways, molecular interactions, expression analysis, for systems biolo252skills.sh installs
3travisjneuman avatardatabase-experttravisjneuman/.claudeAdvanced database design and administration for PostgreSQL, MongoDB, and Redis. Use when designing schemas, optimizing queries, managing database performance, o251skills.sh installs
4yonatangross avatarpython-backendyonatangross/orchestkitProduction Python async patterns including asyncio TaskGroup, FastAPI dependency injection and middleware, SQLAlchemy 2.0 async sessions, and database connectio249skills.sh installs
5davila7 avatarensembl-databasedavila7/claude-code-templatesQuery Ensembl genome database REST API for 250+ species. Gene lookups, sequence retrieval, variant analysis, comparative genomics, orthologs, VEP predictions, f246skills.sh installs
6davila7 avatargraphqldavila7/claude-code-templatesGraphQL gives clients exactly the data they need - no more, no less. One endpoint, typed schema, introspection. But the flexibility that makes it powerful also 245skills.sh installs