Skip to content
Back to skills

Api Design Rest Resource Modeling Rpc

ASecurity

Design stable resource-oriented endpoints with deliberate error contracts and pagination.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 29, 2026
ai-agentsbashgitapibackend

Works with

  • cursor
  • cli
  • api

Security analysis

A100/100

Scanned September 29, 2026

npx -y skills add aniruddhaadak80/skills --skill api-design-rest-resource-modeling-rpc --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Api Design Rest Resource Modeling Rpc?

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

Security grade badge for Api Design Rest Resource Modeling Rpc
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aniruddhaadak80-api-design-rest-resource-modeling-rpc/badge)](https://www.skillsdirectory.com/skills/aniruddhaadak80-api-design-rest-resource-modeling-rpc)

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-rest-resource-modeling-rpc
description: "Design stable resource-oriented endpoints with deliberate error contracts and pagination."
---
# Model REST resources without leaking internals (gRPC services)

> Design stable resource-oriented endpoints with deliberate error contracts and pagination.

**Track:** ⚙️ Backend Engineering · **Domain:** API Design · **Level:** foundation · **~30 min**

**Who this is for:** Backend Engineers, API Developers, Platform Engineers, Full-Stack Developers

## When to Use This Skill

Design stable resource-oriented endpoints with deliberate error contracts and pagination.
Use it whenever a matching task appears in conversation — the agent loads these instructions on demand.

## Steps

1. List nouns (resources) from the domain; map verbs to HTTP methods
2. Pluralize collections; nest at most one level for ownership
3. Standardize errors as {code, message, details} with correct status codes
4. Paginate every collection by cursor; never offset past 10k rows
5. Version in the URL path from v1; document deprecation policy
6. Publish an OpenAPI spec and generate clients from it
7. Define proto packages with backward-compatible field numbering
8. Map gRPC status codes to HTTP at the gateway

## Common Pitfalls

- RPC-in-disguise endpoints like /getUserData
- Leaking column names and internal IDs in payloads

## Commands

**Install with skills CLI**
```bash
npx skills add aniruddhaadak80/skills --skill api-design-rest-resource-modeling-rpc
```

**Install globally**
```bash
npx skills add aniruddhaadak80/skills --skill api-design-rest-resource-modeling-rpc -g
```

---

Part of [aniruddhaadak80/skills](https://github.com/aniruddhaadak80/skills) · Browse all at https://skills.sh/aniruddhaadak80/skills

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.

Comments

Loading comments…