# Api First Design

> Use when designing a new API or endpoint

- **Type:** Skill
- **Install:** `agentstack add skill-hubertlim-skillforge-api-first-design`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [hubertlim](https://agentstack.voostack.com/s/hubertlim)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [hubertlim](https://github.com/hubertlim)
- **Source:** https://github.com/hubertlim/SkillForge/tree/main/community-skills/api-first-design
- **Website:** https://hubertlim.github.io/SkillForge/

## Install

```sh
agentstack add skill-hubertlim-skillforge-api-first-design
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

## Step 1: Requirements

> Gather and document API requirements

- Identify consumers of the API
- List required operations (CRUD, search, etc.)
- Define authentication and authorization needs

## Step 2: Schema Design

> Define request and response schemas

- Design resource models and relationships
- Define JSON schemas for each endpoint
- Standardize error response format
- Plan pagination and filtering

## Step 3: OpenAPI Spec

> Write the API specification

- Create OpenAPI/Swagger document
- Add request/response examples
- Document all status codes

## Step 4: Implement

> Build the API from the spec

- Generate server stubs from the spec
- Implement business logic
- Add input validation matching the schema

## Step 5: Test and Document

> Validate and publish

- Write integration tests for each endpoint
- Test error cases and edge conditions
- Generate documentation from the spec

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [hubertlim](https://github.com/hubertlim)
- **Source:** [hubertlim/SkillForge](https://github.com/hubertlim/SkillForge)
- **License:** MIT
- **Homepage:** https://hubertlim.github.io/SkillForge/

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-hubertlim-skillforge-api-first-design
- Seller: https://agentstack.voostack.com/s/hubertlim
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
