api-design-expert

api-design-expert is a skill for Cursor from roedyrustam/vibes-plug. It costs 82 tokens per session (3,710 once invoked), scanned A, original, MIT.

A guide to designing and documenting web and service APIs using REST, GraphQL, gRPC, or tRPC. It also covers OpenAPI, versioning, authentication, rate limits, idempotency, and webhooks.

In plain words
What is it for?
Use it to design a new API, evolve an existing one, create OpenAPI or Swagger documentation, choose between REST, GraphQL, gRPC, and tRPC, add authentication or rate limiting, and build webhooks.
Why use it?
It helps choose an API style and define rules that clients can rely on as the API changes. It explains how to document behavior and avoid breaking existing users of the API.

Skill for Cursor

Written for Cursor: shipped in a Cursor plugin.

Part of the vibes-plug plugin — 171 skills, 8 agents, 2 MCP servers shipped together

Good fit Use it to design a new API, evolve an existing one, create OpenAPI or Swagger documentation, choose between REST, GraphQL, gRPC, and tRPC, add authentication or rate limiting, and build webhooks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/roedyrustam/vibes-plug/api-design-expert
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add roedyrustam/vibes-plug --skill api-design-expert
Clone the repo
git clone --depth 1 https://github.com/roedyrustam/vibes-plug

Made for: Cursor.

Or install vibes-plug, the plugin that ships this one along with the rest of its 171 skills, 8 agents, 2 MCP servers.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for api-design-expert

README.md
[![agentmods](https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/api-design-expert/github.svg)](https://agentmods.dev/skills/roedyrustam/vibes-plug/api-design-expert)
Your own site
<a href="https://agentmods.dev/skills/roedyrustam/vibes-plug/api-design-expert"><img src="https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/api-design-expert/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for api-design-expert

Your own site · 80×15
<a href="https://agentmods.dev/skills/roedyrustam/vibes-plug/api-design-expert"><img src="https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/api-design-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,710 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Data Exfiltration · line 86
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00082 $0.03710
Opus 5.5 $0.00033 $0.01484
Sonnet 5.5 $0.00016 $0.00742
Haiku 4.5 $0.00008 $0.00371

Measured 2d ago against content hash e51c92717567, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

api-design-expert scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/skills/api-design-expert/SKILL.md · 419 lines

How it starts

The opening of the file, as written. The whole thing — 419 lines — stays where its author put it; the contents beside it link to each section on GitHub.

API Design Expert

English | Bahasa Indonesia


English

Orchestration & Integration

  • Upstream Ideation & Specs: brainstorming, prd-architect, spec-driven-development-expert
  • Downstream Implementations: js-backend-expert, python-programming-expert, go-programming-expert, rust-programming-expert
  • Contract & Gateway Tooling: openapi-swagger-codegen-expert, api-gateway-proxy-expert, autonomous-api-drift-healer, graphql-apollo-expert
  • Security & Quality: rate-limit-abuse-prevention, autonomous-red-teamer, e2e-testing-expert, anti-slop
  • Lifecycle & Governance: zero-to-prod-orchestrator, session-memory-manager

Description

Expert guide for designing, documenting, and evolving production-grade APIs. Covers REST resource modeling and HTTP semantics, GraphQL schema design, gRPC with protobuf, and tRPC for end-to-end type-safe APIs in TypeScript monorepos. Includes OpenAPI 3.1 documentation, API versioning strategies, rate limiting, idempotency, and contract-first development workflows.

Trigger Conditions

  • Designing a new API from scratch (REST, GraphQL, gRPC, or tRPC).
  • Evolving an existing API without breaking clients.
  • Documenting APIs with OpenAPI/Swagger.
  • Implementing rate limiting, throttling, or idempotency.
  • Choosing between REST, GraphQL, gRPC, and tRPC.
  • Designing webhook systems.
  • Implementing API authentication (API keys, JWT, OAuth2).

API Protocol Selection Guide

Criteria REST GraphQL gRPC tRPC
Type Safety Manual (OpenAPI) Schema-enforced Protobuf End-to-end TS
Performance Good Good Excellent (HTTP/2) Good
Browser Support Native Native Needs proxy TS/JS only
Streaming SSE / WebSocket Subscriptions Native bi-directional SSE
Best For Public APIs, mobile Complex data graphs Microservice-to-service Next.js full-stack
Tooling Universal Rich ecosystem Strong (Go, Java) Next.js / Expo

Read the full file on GitHub · 419 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago Changed · +11 lines e51c92717567
  2. 3d ago Changed · +1 lines 7a1f2dbc9957
  3. 6d ago Changed · +89 lines b77d9b3c92c3
  4. 15d ago Changed 764631c8ddd6
  5. 20d ago Changed f9abc368360c
  6. 21d ago Changed 1faee8f87801
  7. 23d ago Changed · -6 lines · +71 tokens per session e4118c36d15f
  8. 25d ago Changed · +6 lines · -71 tokens per session da67afceb26b
  9. 1mo ago Changed 1bdb0688cb09
  10. 1mo ago First seen · 318 lines · 82 tokens per session scan A b63297c76bf9

Subscribe to this mod's changes

api-design-expert is a skill published in the GitHub repository roedyrustam/vibes-plug (113 stars, last pushed today), licensed MIT. It adds 82 tokens to every session and 3,710 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

nodejs-backend-patterns

Build production-ready Node.js backend services with Express/Fastify, implementing middleware patterns, error handling, authentication, database integration, and API design best practices. Use when creating Node.js servers, REST APIs, GraphQL backends, or microservices architectures.

chidekina/aria-superpowers · 58 tokens

api-design-principles

Master REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight developers. Use when designing new APIs, reviewing API specifications, or establishing API design standards.

chidekina/aria-superpowers · 44 tokens

api-security-best-practices

Implement secure API design patterns including authentication, authorization, input validation, rate limiting, and protection against common API vulnerabilities.

lingxling/awesome-skills-cn · 29 tokens

builder

Implementing robust business logic, API integrations, data models, and reproducible AI image-generation code with type safety. Use for production implementation, Gemini image API pipelines, or interactive pair programming.

simota/agent-skills · 40 tokens

system-and-data-design

Decide whether the system will hold, and where the data lives: requirements and load first, then back-of-the-envelope numbers, building blocks (cache, queue, load balancer, CDN), and the data layer in depth — storage engines, indexes, replication, partitioning, transactions and consistency, batch vs stream. Use when…

AnastasiyaW/codex-claude-code-config · 217 tokens

api-patterns

API design principles and decision-making. REST vs GraphQL vs tRPC selection, response formats, versioning, pagination.

lingxling/awesome-skills-cn · 28 tokens