Skip to content
Back to skills

Api Design Chnetajibc Skill Repo

ASecurity

Implement backend APIs: REST/GraphQL/gRPC/WebSocket/SSE/webhooks, auth, pagination, idempotency, retries, versioning, docs. Use when building or changing endpoints. Contract theory lives in architecture/api-design.

  • 30 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 8, 2026
ai-agentsapibackendsecurity

Works with

  • cursor
  • cli
  • api

Security analysis

A100/100

Scanned November 8, 2026

npx -y skills add majiayu000/claude-skill-registry-data --skill api-design-chnetajibc-skill-repo --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Api Design Chnetajibc Skill Repo?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Api Design Chnetajibc Skill Repo
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-api-design-chnetajibc-skill-repo/badge)](https://www.skillsdirectory.com/skills/majiayu000-api-design-chnetajibc-skill-repo)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: api-design
description: "Implement backend APIs: REST/GraphQL/gRPC/WebSocket/SSE/webhooks, auth, pagination, idempotency, retries, versioning, docs. Use when building or changing endpoints. Contract theory lives in architecture/api-design."
---

# api-design

Implement the contract: correct semantics per protocol, hardened edges, documented and tested behavior.

## Activate when

- Building or modifying endpoints, handlers, webhooks, or streaming APIs.

## Do NOT activate for

- Contract shaping/versioning policy — see `../../architecture/api-design/`.
- Authorization review — see `../api-security/`.

## Procedure

1. Protocol: REST by default; GraphQL for client-shaped reads, gRPC for service-to-service, WebSocket/SSE for push, webhooks for outbound events (idempotent receivers, signed, retried with backoff).
2. Semantics: correct status codes, ETags/conditional requests where caching matters, cursor pagination per contract.
3. Edges: runtime validation at boundaries, authn/authz on every route, rate limits, timeouts; retries with jitter + budgets, circuit breakers on dependencies.
4. Compatibility: additive changes; breaking changes versioned with migration notes and contract tests.
5. Docs: OpenAPI (or schema registry for GraphQL/gRPC) generated from code, with examples; every error `type` documented.
6. Verify: protocol-level tests (happy, validation, authz-cross-user, pagination, idempotent-retry, webhook-replay) green; docs render.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.