Agent skill

API Architect

by curiositech in curiositech/some_claude_skills

Expert API designer for REST, GraphQL, gRPC architectures. An agent skill from curiositech/some_claude_skills.

MITAuto-check passedBackend & APIs

Install API Architect

skills CLI
$ npx skills add curiositech/some_claude_skills --skill api-architect -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install curiositech/some_claude_skills api-architect --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/curiositech/some_claude_skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/api-architect .claude/skills/api-architect && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
api-architect
GitHub stars
243
Used in
1 other repo
Token cost
~1.4k tokens
SKILL.md length
470 words
Files
9 (incl. scripts, references)
Skills in repo
108
Repo updated
First seen
Licence
MIT

At a glance

Expert API designer for REST, GraphQL, gRPC architectures. An agent skill from curiositech/some_claude_skills.

  • Works in 10 steps: Verb-Based URLs → Inconsistent Response Envelopes → Breaking Changes Without Versioning → …
  • Tasks that involve GraphQL
  • SKILL.md covers Activation Triggers, Quick Start, Core Capabilities and Architecture Patterns, plus 6 more sections
  • Runs Shell scripts from its folder

What it does

API Architect is an agent skill from curiositech/some_claude_skills. Expert API designer for REST, GraphQL, gRPC architectures. Activate on: API design, REST API, GraphQL schema, gRPC service, OpenAPI, Swagger, API versioning, endpoint design, rate limiting, OAuth flow. NOT for: database schema (use data-pipeline-engineer), frontend consumption (use web-design-expert), deployment (use devops-automator).

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 11 other files, including scripts and reference files (for example `.claude-plugin/plugin.json`, `CHANGELOG.md` and `references/api-security.yaml`).

It sits in Backend & APIs, covering GraphQL, OpenAPI specifications and API design. It works with GraphQL, OpenAPI and gRPC. The repository describes itself as: Claude skills that make my life easier. The licence is MIT.

When your agent uses it

  • Tasks that involve GraphQL
  • Tasks that involve OpenAPI specifications
  • Tasks that involve API design

Example prompts

  • “/api-architect”

Requirements

  • A Bash shell
  • Pre-approved tools (allowed-tools): Read, Write, Edit, Bash(npm:*,npx:*,openapi-generator:*)

Workflow steps

10 steps, taken from the step headings in SKILL.md.

  1. Verb-Based URLs
  2. Inconsistent Response Envelopes
  3. Breaking Changes Without Versioning
  4. N+1 in GraphQL
  5. Over-fetching REST Endpoints
  6. Missing Pagination
  7. No Idempotency Keys
  8. Leaky Internal Errors
  9. Missing CORS Configuration
  10. No Rate Limiting

What it can do on your machine

Read from SKILL.md and the folder at commit 6713fc7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Edit
    • Bash(npm:*
    • npx:*
    • openapi-generator:*)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Shell), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

API Architect loads about 1.4k tokens when it runs, and up to ~4.9k if it reads all its reference files. Until then it costs about 88 tokens; SKILL.md has 470 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~88
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from curiositech/some_claude_skills at commit 6713fc7, republished under its MIT licence (© curiositech). 470 words, ~1,403 tokens.

Download SKILL.mdSave it as .claude/skills/api-architect/SKILL.md (or your agent's skills folder). This skill also uses 8 other files; get the full folder from GitHub.
name
api-architect
description
Expert API designer for REST, GraphQL, gRPC architectures. Activate on: API design, REST API, GraphQL schema, gRPC service, OpenAPI, Swagger, API versioning, endpoint design, rate limiting, OAuth flow. NOT for: database schema (use data-pipeline-engineer), frontend consumption (use web-design-expert), deployment (use devops-automator).
allowed-tools
Read, Write, Edit, Bash(npm:*,npx:*,openapi-generator:*)
metadata.category
Code Quality & Testing
metadata.tags
api, rest, graphql, grpc, architecture

API Architect

Expert API designer specializing in REST, GraphQL, gRPC, and WebSocket architectures.

Activation Triggers

Activate on: "API design", "REST API", "GraphQL schema", "gRPC service", "OpenAPI", "Swagger", "API versioning", "endpoint design", "rate limiting", "OAuth flow", "API gateway"

NOT for: Database schema → data-pipeline-engineer | Frontend consumption → web-design-expert | Deployment → devops-automator

Quick Start

  1. Define API contract first (API-first design)
  2. Choose paradigm: REST for CRUD, GraphQL for flexible queries, gRPC for internal services
  3. Write the spec: OpenAPI for REST, SDL for GraphQL, .proto for gRPC
  4. Design error responses with consistent structure
  5. Plan versioning before your first release

Core Capabilities

DomainTechnologies
RESTOpenAPI 3.1, HATEOAS, Pagination
GraphQLSDL, Relay, DataLoader, Federation
gRPCProtocol Buffers, Streaming patterns
SecurityOAuth 2.0, JWT, API Keys, RBAC
DXSwagger UI, SDK generation, Sandboxes

Architecture Patterns

API-First Development
Design Contract → Generate Stubs → Implement → Test Against Spec
Response Envelope
yaml
success: { data: <resource>, meta: { page, total } }
error: { error: { code, message, details: [{ field, issue }] } }
Versioning Options
  • URL: /v1/users (most explicit)
  • Header: Accept: application/vnd.api+json;version=1
  • Query: /users?version=1

Reference Files

Full working examples in ./references/:

FileDescriptionLines
openapi-spec.yamlComplete OpenAPI 3.1 spec162
graphql-schema.graphqlGraphQL with Relay connections111
grpc-service.protoProtocol Buffer, all streaming95
rate-limiting.yamlTier-based rate limit config85
api-security.yamlAuth, CORS, security headers130

Anti-Patterns (AVOID These)

1. Verb-Based URLs

Symptom: /getUsers, /createOrder, /deleteProduct Fix: Use nouns (/users, /orders), let HTTP methods convey action

2. Inconsistent Response Envelopes

Symptom: {data: [...]} sometimes, raw arrays other times Fix: Always use consistent envelope structure

3. Breaking Changes Without Versioning

Symptom: Removing fields, changing types without warning Fix: Semantic versioning, deprecation headers, sunset periods

4. N+1 in GraphQL

Symptom: Resolver queries database per item in list Fix: DataLoader pattern for batching, @defer for large payloads

5. Over-fetching REST Endpoints

Symptom: /users returns 50 fields when clients need 3 Fix: Sparse fieldsets (?fields=id,name,email) or GraphQL

Show full SKILL.md (188 more words)Show less
6. Missing Pagination

Symptom: List endpoints return all records Fix: Default limits, cursor-based pagination, hasMore indicator

7. No Idempotency Keys

Symptom: Duplicate POST requests create duplicate resources Fix: Accept Idempotency-Key header, return cached response

8. Leaky Internal Errors

Symptom: Stack traces, SQL errors exposed in 500 responses Fix: Generic error messages in production, request IDs for debugging

9. Missing CORS Configuration

Symptom: Browser clients blocked with CORS errors Fix: Configure allowed origins, methods, headers explicitly

10. No Rate Limiting

Symptom: API vulnerable to abuse, no usage visibility Fix: Implement limits per tier, return X-RateLimit-* headers

Validation Script

Run ./scripts/validate-api-spec.sh to check:

  • OpenAPI specs for versions, security schemes, operationIds
  • GraphQL schemas for Query types, pagination, error handling
  • Protocol Buffers for syntax, packages, field numbers
  • Common issues like hardcoded URLs, missing versioning

Quality Checklist

[ ] All endpoints use nouns, not verbs
[ ] Consistent response envelope structure
[ ] Error responses include codes and actionable messages
[ ] Pagination on all list endpoints
[ ] Authentication/authorization documented
[ ] Rate limit headers defined
[ ] Versioning strategy documented
[ ] CORS configured for known origins
[ ] Idempotency keys for mutating operations
[ ] OpenAPI spec validates without errors
[ ] SDK generation tested
[ ] Examples for all request/response types

Output Artifacts

  1. OpenAPI Specifications - Complete API contracts
  2. GraphQL Schemas - Type definitions with connections
  3. Protocol Buffers - gRPC service definitions
  4. API Documentation - Developer guides
  5. SDK Examples - Client code samples
  6. Postman Collections - API test suites

Tools Available

  • Read, Write, Edit - File operations for specs
  • Bash(npm:*, npx:*) - OpenAPI linting, code generation
  • Bash(openapi-generator:*) - SDK generation

© curiositech, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 8 other files (scripts, references) in .claude/skills/api-architect of curiositech/some_claude_skills.

  • SKILL.md
  • .claude-plugin/plugin.json
  • CHANGELOG.md
  • references/api-security.yaml
  • references/graphql-schema.graphql
  • references/grpc-service.proto
  • references/openapi-spec.yaml
  • references/rate-limiting.yaml
  • scripts/validate-api-spec.sh

Open the folder on GitHubat commit 6713fc7

Used in 1 other repository

We found 4 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in curiositech/some_claude_skills, which our catalogue first saw on October 7, 2026.

Compare with similar skills

API Architect next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

API Architect compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
API Architect this skillcuriositech/some_claude_skills2431 repos~1.4kAutomated safety check: PassMIT
API ForgeEliasOulkadi/shokunin114—~2.9kAutomated safety check: PassMIT
API Contract Detectionprime-radiant-inc/greenfield292—~4.2kAutomated safety check: PassApache-2.0
API Designmajiayu000/spellbook286—~2.1kAutomated safety check: PassMIT
API Designmajiayu000/claude-skill-registry6661 repos~4.2kAutomated safety check: PassMIT
Openapi Spec Patternsrevfactory/harness-1001.3k—~1.6kAutomated safety check: PassApache-2.0

Similar skills

  • API Forge

    EliasOulkadi/shokunin

    Design REST/GraphQL APIs with OpenAPI 3.1, error handling, pagination, rate limiting, webhooks, and idempotency.

    114 GitHub stars~2.9k tokensUpdated 3 days ago
    Backend & APIsAuto-check passed
  • API Contract Detection

    prime-radiant-inc/greenfield

    Finds OpenAPI, GraphQL, Protobuf and JSON Schema files in a codebase and extracts behavioral claims from them as part of a reverse-engineering workflow.

    292 GitHub stars~4.2k tokensUpdated 2 mo ago
    Backend & APIsAuto-check passed
  • API Design

    majiayu000/spellbook

    REST/GraphQL/gRPC API design best practices. An agent skill from majiayu000/spellbook.

    286 GitHub stars~2.1k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • API Design

    majiayu000/claude-skill-registry

    A skill your agent uses when designing APIs, choosing between REST/GraphQL/gRPC, writing OpenAPI specs, implementing pagination, versioning endpoints, or structuring request/response schemas.

    666 GitHub starsUsed in 1 repo~4.2k tokens
    Backend & APIsAuto-check passed
  • Openapi Spec Patterns

    revfactory/harness-100

    OpenAPI 3.x spec analysis patterns, schema normalization, authentication method mapping, pagination/error pattern extraction, and GraphQL/gRPC spec interpretation guide.

    1.3k GitHub stars~1.6k tokensUpdated 6 mo ago
    Backend & APIsAuto-check passed
  • System Design Communication

    HoangNguyen0403/agent-skills-standard

    Select how services talk: REST, gRPC, GraphQL, WebSocket, SSE, or webhook per hop, sync versus async per flow, service discovery mode, and DNS/edge routing.

    570 GitHub stars~894 tokensUpdated yesterday
    Backend & APIsAuto-check passed

More from curiositech/some_claude_skills

All 108 skills in this repo
  • Crisis Detection Intervention AI

    curiositech/some_claude_skills

    Detect crisis signals in user content using NLP, mental health sentiment analysis, and safe intervention protocols.

    243 GitHub starsUsed in 3 repos~3.8k tokens
    Auto-check passed
  • Form Validation Architect

    curiositech/some_claude_skills

    End-to-end form handling with react-hook-form, Zod schemas, validation patterns, error messaging, field arrays, and multi-step wizards.

    243 GitHub stars~3.8k tokensUpdated 1 mo ago
    Auto-check passed
  • Competitive Cartographer

    curiositech/some_claude_skills

    Strategic analyst that maps competitive landscapes, identifies white space opportunities, and provides positioning recommendations.

    243 GitHub starsUsed in 1 repo~1.3k tokens
    Auto-check passed
  • GitHub Actions Pipeline Builder

    curiositech/some_claude_skills

    Build production CI/CD pipelines with GitHub Actions. An agent skill from curiositech/some_claude_skills.

    243 GitHub stars~2.8k tokensUpdated 1 mo ago
    Auto-check: notes
  • Computer Vision Pipeline

    curiositech/some_claude_skills

    Build production computer vision pipelines for object detection, tracking, and video analysis.

    243 GitHub starsUsed in 1 repo~4k tokens
    Auto-check passed
  • Design Archivist

    curiositech/some_claude_skills

    Long-running design anthropologist that builds comprehensive visual databases from 500-1000 real-world examples, extracting color palettes, typography patterns, layout systems, and interaction…

    243 GitHub starsUsed in 1 repo~1.6k tokens
    Auto-check passed

Categories

Questions about API Architect

What does API Architect do?

Expert API designer for REST, GraphQL, gRPC architectures. An agent skill from curiositech/some_claude_skills. API Architect is an agent skill from curiositech/some_claude_skills. Expert API designer for REST, GraphQL, gRPC architectures.

When should I use API Architect?

API Architect fits situations like: tasks that involve GraphQL; tasks that involve OpenAPI specifications; tasks that involve API design.

How do I install API Architect in Claude Code?

Run `npx skills add curiositech/some_claude_skills --skill api-architect -a claude-code`. Or copy the skill folder (.claude/skills/api-architect in curiositech/some_claude_skills) into .claude/skills/api-architect in your project. Claude Code loads it when a task matches its description.

How do I install API Architect in Codex?

Run `npx skills add curiositech/some_claude_skills --skill api-architect -a codex`. Or copy the skill folder (.claude/skills/api-architect in curiositech/some_claude_skills) into .agents/skills/api-architect in your project. Codex loads it when a task matches its description.

Can I use API Architect in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add curiositech/some_claude_skills --skill api-architect -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/api-architect, .gemini/skills/api-architect, .github/skills/api-architect and .opencode/skills/api-architect in your project.

What does API Architect need to run?

Going by SKILL.md and its folder, API Architect needs a shell for the scripts in its folder. Our summary lists: A Bash shell. Its frontmatter pre-approves these tools: Read, Write, Edit, Bash(npm:*,npx:*,openapi-generator:*).

Does API Architect access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is API Architect safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does API Architect use?

API Architect is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does API Architect use?

About 1.4k tokens (SKILL.md is roughly 5.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.5k tokens, read only when the agent opens those files.

What are the alternatives to API Architect?

Skills that share tags, products or a category with API Architect: API Forge (EliasOulkadi/shokunin, 114 stars), API Contract Detection (prime-radiant-inc/greenfield, 292 stars), API Design (majiayu000/spellbook, 286 stars) and API Design (majiayu000/claude-skill-registry, 666 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains API Architect?

curiositech (a GitHub organization) maintains it in curiositech/some_claude_skills, which has 243 GitHub stars. The repository holds 108 skills in this directory. The repository was last updated on September 6, 2026.

Source: curiositech/some_claude_skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.