Skip to content
Back to skills

Api

ASecurity

REST/GraphQL API contract design and OpenAPI specification

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 1, 2026
ai-agentsbashapidocumentation

Works with

  • api

Security analysis

A100/100

Scanned October 1, 2026

npx -y skills add sharmapuneet1510/awesome-prompts --skill api --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Api?

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

Security grade badge for Api
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sharmapuneet1510-api/badge)](https://www.skillsdirectory.com/skills/sharmapuneet1510-api)

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
description: REST/GraphQL API contract design and OpenAPI specification
argument-hint: requirements="..." [style="rest|graphql"]
disable-model-invocation: true
---

Role and rules: read ${CLAUDE_PLUGIN_ROOT}/reference/agent.md and ${CLAUDE_PLUGIN_ROOT}/reference/rules.md for the sections this function needs.

# architect:api

**Design API contracts** with OpenAPI specifications, request/response schemas, and authentication.

## Inputs

```
architect:api requirements="..." [style="rest|graphql"]
```

- `requirements` (string, required) — API requirements
- `style` (string, optional) — REST or GraphQL
- `auth` (string, optional) — Authentication method (jwt, oauth2, api-key)

## Outputs

```
✓ openapi.yaml                — OpenAPI 3.0 specification
✓ endpoints.md                — Endpoint documentation
✓ schemas.md                  — Request/response schemas
✓ authentication.md           — Auth implementation guide
```

## Example

```bash
architect:api requirements="Product catalog API: list, get, search, create, update, delete"
```

## Workflow

1. Define endpoints and operations
2. Design request/response schemas
3. Plan authentication and authorization
4. Document error handling
5. Generate OpenAPI spec
6. Plan API versioning
7. Create usage examples

## Related Functions

- `architect:design` — Full system architecture
- `implementer:build` — API implementation

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…