api-design
Skill198 starsChanged 4 days agoMITView on GitHub
Design consistent, secure, evolvable APIs and contracts for web, mobile, partner, and service-to-service applications.
190 other projects use a version of this.
Adopted by
Most recently taken up by
- Arupbiswas09/claude_skillstheir own version, first seen Nov 29, 2026
- KevinLoichot/everything-claude-codetheir own version, first seen Nov 29, 2026
- aayushsoam/clawbot-plustheir own version, first seen Nov 29, 2026
- multiplex-ai/muggle-ai-teamstheir own version, first seen Nov 29, 2026
- Cyvid7-Darus10/claude-code-configtheir own version, first seen Nov 29, 2026
- AtulPurohit/Antigravity-Awesome-Skillstheir own version, first seen Nov 29, 2026
Used with
Projects with it also use db-design, everything-claude-code and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
yuexueyuSkilldb-design
数据库工程师技能 - Schema设计、索引优化、并发安全、数据库审计。当你涉及数据库表/字段/索引/SQL/迁移/MCP数据库操作、建表改表、写查询时必须使用此技能。即使用户只是说"加个字段"或"查下数据",也应触发。
Also in 4 projects that use this
InfopibeSkilleverything-claude-code
Also in 9 projects that use this
mryeastcodeSkilleverything-claude-code-conventions
Development conventions and patterns for everything-claude-code. JavaScript project with conventional commits.
Also in 8 projects that use this
thejordanleopoldSkillthird-party-integration
Use when integrating with external APIs, payment processors (Stripe), webhooks, or third-party services. Use when implementing API clients with authentication and rate limiting, handling webhooks with signature verification and idempotency, writing contract tests for external services, or isolating third-party dependencies behind adapters. Triggers: \"Stripe\", \"payment integration\", \"webhook\", \"third-party API\", \"external service\", \"API client\", \"integrate with\", \"signature verification\", \"idempotency key\".
Also in 3 projects that use this
Indium-AI-LabsSkilldata-pipeline-design
Design batch or incremental ETL and ELT pipelines and warehouse models: grain, partitioning, idempotent loads, late-arriving data, data quality tests, PII controls, and cost monitoring, before building them. Use when adding or changing a dbt model, warehouse table, scheduled transformation, or ingestion job. Not for transactional schema design (use the database-design skill) or event-sourced stores (use the event-sourcing-architecture skill).
Also in 3 projects that use this
InfopibeSkillinvestor-materials
Create and update pitch decks, one-pagers, investor memos, accelerator applications, financial models, and fundraising materials. Use when the user needs investor-facing documents, projections, use-of-funds tables, milestone plans, or materials that must stay internally consistent across multiple fundraising assets.
Also in 21 projects that use this
- +1 more from Infopibe
Other versions190 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 190
- affaan-m/ECC★ 246ksame name
- RostislavDugin/postgresus★ 9.4ksame name
- databasus/databasus★ 9.4ksame name
- authgear/authgear-server★ 2.2ksame name
- xu-xiang/everything-claude-code-zh★ 1.9ksame name
- Aaronontheweb/dotnet-skills★ 1.3ksame name
- epam/ai-dial-chat★ 501same name
- loulanyue/awesome-claude-notes★ 272same name
- KbWen/agentic-os★ 245same name
- DevelopersGlobal/ai-agent-skills★ 220same name
180 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository20 other files it gives its agents.
- application-securitySkill
- apply-renovate-prsSkill
- architecture-guidelinesSkill
- authentication-authorizationSkill
- configuration-and-secretsSkill
- data-access-and-migrationsSkill
- database-designSkill
- deployment-and-deliverySkill
- external-integrations-and-messagingSkill
- java-code-reviewSkill
- jspecify-skillSkill
- observabilitySkill
- pair-programmingSkill
- progenSkill
- reliability-and-performanceSkill
- spec-writerSkill
- spring-boot-skillSkill
- spring-modulith-verifierSkill
- technical-decision-makingSkill
- testing-strategySkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
18 rules. 0 are common, 18 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 161 edited versions we read keep these.
18
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Create APIs that are predictable for consumers, aligned with business capabilities, and safe to evolve.
- Distinctive: line 12
Use when creating or changing HTTP APIs, RPC interfaces, public contracts, internal service interfaces, or client-facing operations.
- Distinctive: line 16
Use consistent resource and operation naming.
- Distinctive: line 18
Keep request and response contracts explicit and minimal.
- Distinctive: line 21
Use appropriate HTTP semantics when designing HTTP APIs.
- Distinctive: line 23
Do not expose internal exception messages, storage schemas, or secrets.
- Distinctive: line 24
Document authentication, authorization, rate limits, and operational expectations.
- Distinctive: line 27
Use methods and status codes consistently with their semantics.
- Distinctive: line 28
Use nouns for resource paths.
- Distinctive: line 31
Use pagination for collections that may grow.
- Distinctive: line 33
Use conditional requests or concurrency tokens where lost updates matter.
- Distinctive: line 34
Use idempotency keys or equivalent safeguards for retryable operations that create consequential side effects.
- Distinctive: line 36
Avoid leaking whether sensitive resources exist when that information itself is confidential.
- Distinctive: line 39
Prefer adding optional fields or new operations over changing existing meanings.
- Distinctive: line 40
Do not repurpose a field or silently change units, null semantics, or default behavior.
- Distinctive: line 44
Test compatibility between supported client and server versions.
- Distinctive: line 54
Document examples and test success, validation, authorization, and failure cases.
- Distinctive: line 65
Do not prescribe REST, GraphQL, or RPC universally.
“Common” is measured: kept by at least 6 in 10 of the 161 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
API Design
Purpose
Create APIs that are predictable for consumers, aligned with business capabilities, and safe to evolve.
When to use
Use when creating or changing HTTP APIs, RPC interfaces, public contracts, internal service interfaces, or client-facing operations.
Principles
- Design around business capabilities and consumer workflows, not direct database table exposure.
- Use consistent resource and operation naming.
- Choose interaction style and protocol based on use case, latency, streaming, tooling, and consumer constraints.
- Keep request and response contracts explicit and minimal.
- Distinguish identifiers from display labels and internal implementation details.
- Define validation, error semantics, pagination, filtering, sorting, and idempotency consistently.
- Use appropriate HTTP semantics when designing HTTP APIs.
- Make compatibility and versioning strategy explicit; prefer additive evolution where practical.
- Do not expose internal exception messages, storage schemas, or secrets.
- Document authentication, authorization, rate limits, and operational expectations.
HTTP API guidance
- Use methods and status codes consistently with their semantics.
- Use nouns for resource paths; use action endpoints only when an operation is not naturally represented as resource state.
- Validate path, query, header, and body inputs.
- Define a consistent error representation with a stable machine-readable code and safe human-readable message.
- Use pagination for collections that may grow; define limits and stable ordering.
- Define filtering and sorting explicitly; do not expose arbitrary query languages without controls.
- Use conditional requests or concurrency tokens where lost updates matter.
- Use idempotency keys or equivalent safeguards for retryable operations that create consequential side effects.
- Set request and response size limits.
- Avoid leaking whether sensitive resources exist when that information itself is confidential.
Contract evolution
- Prefer adding optional fields or new operations over changing existing meanings.
- Do not repurpose a field or silently change units, null semantics, or default behavior.
- Define how unknown fields and enum values are handled by consumers.
- Measure usage before removing deprecated behavior.
- Publish deprecation timelines and migration guidance for external consumers.
- Test compatibility between supported client and server versions.
Workflow
- Identify consumers and their use cases.
- Define operations, resource identity, and business semantics.
- Specify request/response schemas, validation, and error behavior.
- Define authorization and data exposure rules.
- Decide pagination, filtering, sorting, and concurrency behavior.
- Define idempotency and retry expectations.
- Review compatibility and versioning impact.
- Document examples and test success, validation, authorization, and failure cases.
Review checklist
- Is the API intuitive and consistent?
- Does it expose only necessary data?
- Are errors stable and actionable?
- Are collections bounded?
- Are retry and concurrency semantics clear?
- Can existing clients continue to work?
- Are security and rate limits addressed?
Do not prescribe REST, GraphQL, or RPC universally. Choose based on actual consumers and interaction needs.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

