🔌
AI EngineeringPython

API Patterns

by softspark

API Patterns is an AI Engineering skill for Claude Code, published by softspark in ai-toolkit.

170 stars20 forkson softspark/ai-toolkitAdded 2026/09/08+2% in starsRepository updated 2026/09/07
ai-agentsai-skillsanthropicclaudeclaude-codeclinecodexcopilotcursorgeminimcpopencodetoolkitwindsurf
Install in seconds
Install API Patterns
Copy API Patterns into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/softspark/ai-toolkit/tree/main/app/skills/api-patterns ~/.claude/skills/api-patterns

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/softspark/ai-toolkit.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
app/skills/api-patterns/SKILL.md in softspark/ai-toolkit
Installs to
~/.claude/skills/api-patterns
Collection
One of 25 skills cataloged from this repository
Category
AI Engineering3670 skills

What API Patterns does

API Patterns covers REST and GraphQL API design, including resource naming, versioning, pagination, idempotency, OpenAPI, error contracts, and safe retries. Use it when designing or reviewing API endpoints and failure responses.

API Patterns is cataloged under AI Engineering on DirSkills. API Patterns comes from a repository tagged ai-agents, ai-skills, anthropic, claude and claude-code.

Documentation

README

API Patterns Skill

REST API Design

Resource Naming

# Collection
GET    /api/v1/documents        # List documents
POST   /api/v1/documents        # Create document

# Single resource
GET    /api/v1/documents/{id}   # Get document
PUT    /api/v1/documents/{id}   # Replace document
PATCH  /api/v1/documents/{id}   # Update document
DELETE /api/v1/documents/{id}   # Delete document

# Nested resources
GET    /api/v1/users/{id}/documents  # User's documents

HTTP Status Codes

This is the opening of the README. Read the full README on GitHub.

Commands API Patterns provides

Slash commands named in this skill’s SKILL.md, listed in the order they first appear.

  • /mcp-patterns
  • /typescript-patterns
  • /csharp-patterns
  • /docs
  • /security-patterns

Frequently asked about API Patterns

  • What else does softspark publish alongside API Patterns?

    API Patterns is one of 25 skills that DirSkills catalogs from softspark/ai-toolkit, the repository it ships in. Its siblings there include Accessibility Validator, Agent Creator and App Builder. Each one is a separate skill with its own page in this directory, installs the same way API Patterns does, and is maintained by softspark in that same repository. The rest of the collection is listed on the softspark/ai-toolkit page.

  • How does API Patterns compare to other AI Engineering skills?

    API Patterns ranks #3266 by stars among the 3670 AI Engineering skills in this catalog. The most-starred ones next to it are Architecture Decision Records, AI-First Engineering and Agentic OS. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of API Patterns against them. Open each page to compare what they document and how they install.

More from softspark/ai-toolkit

API Patterns is one of 25 skills cataloged on DirSkills from softspark/ai-toolkit.

See all 25 skills
1h ago

Accessibility Validator

Accessibility Validator scans a codebase for WCAG 2.1 AA, EN 301 549, and EAA issues without changing files. Use it to check contrast, keyboard support, ARIA, media, forms, and accessibility-statement compliance.
Quality
17020
🤖
1h ago

Agent Creator

Agent Creator creates new specialized agents with frontmatter, tools, model choice, and delegated skills. Use it when defining a new agent, routing triggers, or validating an agent scaffold.
AI Engineering
17020
🧩
1h ago

App Builder

App Builder scaffolds new projects for web, mobile, API, CLI, and AI apps using stacks like Next.js, Vite, Nuxt, Astro, FastAPI, Django, Laravel, React Native, and Flutter. Use it when starting a new app or choosing a starter architecture.
Automation
17020
🏗️
1h ago

Architecture Audit

Architecture Audit explores a codebase for architectural friction, shallow modules, and tight coupling. It surfaces candidates, compares interface designs, and files an RFC issue when you need to deepen a module boundary.
Quality
17020
🏗️
1h ago

Architecture Decision

Architecture Decision documents ADR, RFC, or RFD choices with context, constraints, options, trade-offs, recommendation, and consequences. Use it when deciding between architectural approaches or recording why a choice was made.
Writing
17020
📊
1h ago

Biz Scan

Biz Scan analyzes a codebase for business opportunities, KPI coverage, monetization gaps, and missing data exposure. Use it when you need an advisory report on analytics instrumentation and revenue-related surfaces.
Data
17020