API Design
ericrisco/rsc-harness
A skill your agent uses when settling the contract of an API you expose, before implementation: resources/URLs, REST vs GraphQL, versioning, one RFC 9457 error envelope, pagination, idempotency —…
Full pipeline for REST/GraphQL API design, documentation, mocking, and testing.
$ npx skills add revfactory/harness-100 --skill api-designer -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install revfactory/harness-100 api-designer --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .claude/skills && cp -r skills-src/en/18-api-designer/.claude/skills/api-designer .claude/skills/api-designer && rm -rf skills-srcUse ~/.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/
Install the "api-designer" agent skill from https://github.com/revfactory/harness-100/tree/main/en/18-api-designer/.claude/skills/api-designer into .claude/skills/api-designer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "api-designer", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/revfactory/harness-100/tree/main/en/18-api-designer/.claude/skills/api-designerType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add revfactory/harness-100 --skill api-designer -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install revfactory/harness-100 api-designer --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .agents/skills && cp -r skills-src/en/18-api-designer/.claude/skills/api-designer .agents/skills/api-designer && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "api-designer" agent skill from https://github.com/revfactory/harness-100/tree/main/en/18-api-designer/.claude/skills/api-designer into .agents/skills/api-designer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "api-designer", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add revfactory/harness-100 --skill api-designer -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install revfactory/harness-100 api-designer --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/en/18-api-designer/.claude/skills/api-designer .cursor/skills/api-designer && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "api-designer" agent skill from https://github.com/revfactory/harness-100/tree/main/en/18-api-designer/.claude/skills/api-designer into .cursor/skills/api-designer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "api-designer", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/revfactory/harness-100.git --path en/18-api-designer/.claude/skills/api-designer--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add revfactory/harness-100 --skill api-designer -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install revfactory/harness-100 api-designer --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/en/18-api-designer/.claude/skills/api-designer .gemini/skills/api-designer && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "api-designer" agent skill from https://github.com/revfactory/harness-100/tree/main/en/18-api-designer/.claude/skills/api-designer into .gemini/skills/api-designer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "api-designer", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install revfactory/harness-100 api-designerInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add revfactory/harness-100 --skill api-designer -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .github/skills && cp -r skills-src/en/18-api-designer/.claude/skills/api-designer .github/skills/api-designer && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "api-designer" agent skill from https://github.com/revfactory/harness-100/tree/main/en/18-api-designer/.claude/skills/api-designer into .github/skills/api-designer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "api-designer", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add revfactory/harness-100 --skill api-designer -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install revfactory/harness-100 api-designer --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/en/18-api-designer/.claude/skills/api-designer .opencode/skills/api-designer && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "api-designer" agent skill from https://github.com/revfactory/harness-100/tree/main/en/18-api-designer/.claude/skills/api-designer into .opencode/skills/api-designer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "api-designer", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
api-designerFull pipeline for REST/GraphQL API design, documentation, mocking, and testing.
API Designer is an agent skill from revfactory/harness-100. Full pipeline for REST/GraphQL API design, documentation, mocking, and testing. An agent team collaborates to perform API architecture design, OpenAPI/GraphQL schema generation, developer documentation writing, and mock server and test design. Use this skill for any API design task including 'design an API', 'REST API', 'GraphQL API', 'API documentation', 'API schema', 'OpenAPI', 'Swagger', 'API testing', 'API mocking', 'endpoint design', etc. Also supports documentation and testing for existing APIs. Note…
Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Backend & APIs, covering API design, OpenAPI specifications and GraphQL. It works with GraphQL, OpenAPI and FastAPI. The licence is Apache-2.0.
3 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 8e8d35c. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
API Designer loads about 1.8k tokens when it runs. Until then it costs about 168 tokens; SKILL.md has 689 words of instructions outside code blocks.
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.
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); files beside SKILL.md are not scanned.
The full file from revfactory/harness-100 at commit 8e8d35c, republished under its Apache-2.0 licence (© revfactory). 689 words, ~1,754 tokens.
.claude/skills/api-designer/SKILL.md (or your agent's skills folder).An agent team collaborates to generate API design, schema, documentation, and mock/tests in a single pass.
Agent Team — 5 members communicate directly via SendMessage and cross-validate each other's work.
| Agent | File | Role | Type |
|---|---|---|---|
| api-architect | .claude/agents/api-architect.md | Resource modeling, endpoints, versioning | general-purpose |
| schema-validator | .claude/agents/schema-validator.md | OpenAPI/GraphQL schema, type validation | general-purpose |
| doc-writer | .claude/agents/doc-writer.md | Developer documentation, examples, error references | general-purpose |
| mock-tester | .claude/agents/mock-tester.md | Mock server, integration tests, load scenarios | general-purpose |
| review-auditor | .claude/agents/review-auditor.md | Security, consistency, performance, alignment validation | general-purpose |
_workspace/ directory at the project root_workspace/00_input.md_workspace/ and skip the corresponding phase| Order | Task | Owner | Dependencies | Artifact |
|---|---|---|---|---|
| 1 | API Design | api-architect | None | _workspace/01_api_design.md |
| 2 | Schema Generation & Validation | schema-validator | Task 1 | _workspace/02_schema.yaml, 02_schema_validation.md |
| 3a | API Documentation | doc-writer | Tasks 1, 2 | _workspace/03_api_docs.md |
| 3b | Mock Server & Tests | mock-tester | Tasks 1, 2 | _workspace/04_mock_tests.md |
| 4 | API Review | review-auditor | Tasks 2, 3a, 3b | _workspace/05_review_report.md |
Tasks 3a (documentation) and 3b (tests) are executed in parallel.
Inter-team communication flow:
Organize the final artifacts based on the review report:
_workspace/| User Request Pattern | Execution Mode | Agents Deployed |
|---|---|---|
| "Design an API", "full design" | Full Pipeline | All 5 agents |
| "Just write API docs" (existing API) | Documentation Mode | doc-writer + review-auditor |
| "Validate this OpenAPI schema" | Validation Mode | schema-validator + review-auditor |
| "Design API tests" (existing schema) | Test Mode | mock-tester + review-auditor |
| "Review this API design" | Review Mode | review-auditor only |
Leveraging existing files: If the user provides schemas, documentation, or other existing files, skip the corresponding steps.
| Strategy | Method | Purpose |
|---|---|---|
| File-based | _workspace/ directory | Store and share primary artifacts |
| Message-based | SendMessage | Real-time delivery of key information, revision requests |
| Task-based | TaskCreate/TaskUpdate | Progress tracking, dependency management |
File naming convention: {order}_{agent}_{artifact}.{extension}
| Error Type | Strategy |
|---|---|
| Insufficient domain information | API architect starts with generic CRUD resources; designs an extensible structure |
| REST vs GraphQL undecided | Default to REST; present GraphQL extension options in an appendix |
| Agent failure | Retry once -> If still fails, proceed without that artifact; note the omission in the review report |
| 🔴 found during review | Request revision from the relevant agent -> rework -> re-verify (up to 2 rounds) |
| Existing schema parsing failure | Manually extract endpoints and proceed |
Prompt: "Design a REST API for an e-commerce platform. I need product, order, user, and cart resources" Expected Result:
Prompt: "Create API docs and tests from this OpenAPI schema" + schema file Expected Result:
_workspace/02_schema.yamlPrompt: "Design an API quickly, blog platform" Expected Result:
Extension skills that enhance each agent's domain expertise:
| Skill | Target Agent | Role |
|---|---|---|
rest-api-conventions | api-architect | URL naming, HTTP status codes, pagination, versioning |
api-error-design | doc-writer, mock-tester | Error code systems, error response structures, retry/fallback strategies |
© revfactory, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in en/18-api-designer/.claude/skills/api-designer of revfactory/harness-100.
Open the folder on GitHubat commit 8e8d35c
API Designer 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| API Designer this skillrevfactory/harness-100 | 1.3k | — | ~1.8k | Automated safety check: Pass | Apache-2.0 | |
| API Designericrisco/rsc-harness | 156 | — | ~3.1k | Automated safety check: Pass | MIT | |
| API DesignerJeffallan/claude-skills | 12k | 2 repos | ~2k | Automated safety check: Pass | MIT | |
| API Designyonatangross/orchestkit | 288 | — | ~2.9k | Automated safety check: Pass | MIT | |
| API Contract Detectionprime-radiant-inc/greenfield | 292 | — | ~4.2k | Automated safety check: Pass | Apache-2.0 | |
| Implementing API Patternsancoleman/ai-design-components | 526 | 1 repos | ~3k | Automated safety check: Pass | MIT |
ericrisco/rsc-harness
A skill your agent uses when settling the contract of an API you expose, before implementation: resources/URLs, REST vs GraphQL, versioning, one RFC 9457 error envelope, pagination, idempotency —…
Jeffallan/claude-skills
Designs REST and GraphQL APIs from resource modeling to an OpenAPI 3.1 contract, with versioning, pagination and RFC 7807 error handling.
yonatangross/orchestkit
API contract design for REST and GraphQL, covering resource shape, URL and header versioning with deprecation windows, RFC 9457 Problem Details error handling, and OpenAPI specs.
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.
ancoleman/ai-design-components
API design and implementation across REST, GraphQL, gRPC, and tRPC patterns.
rsmdt/the-startup
REST and GraphQL API design patterns, OpenAPI/Swagger specifications, versioning strategies, and authentication patterns.
revfactory/harness-100
A skill for analyzing website anti-bot defense mechanisms and developing legitimate evasion strategies.
revfactory/harness-100
Reference for designing how an API reports failures: structured error codes, response shapes, client-friendly messages, an error catalog and retry or fallback advice.
revfactory/harness-100
Walks a backend-dev agent through OWASP API Top 10 checks, authentication and authorization patterns, and defense code during API design.
revfactory/harness-100
Methodology for systematically designing and generating CLI tool argument parser structures.
revfactory/harness-100
Audience segmentation skill used by the analyst and curator agents.
revfactory/harness-100
Audio storytelling skill used by the podcast scriptwriter and show note editor.
Categories
Full pipeline for REST/GraphQL API design, documentation, mocking, and testing. API Designer is an agent skill from revfactory/harness-100. Full pipeline for REST/GraphQL API design, documentation, mocking, and testing.
API Designer fits situations like: any API design task including design an API; API documentation; endpoint design.
Run `npx skills add revfactory/harness-100 --skill api-designer -a claude-code`. Or copy the skill folder (en/18-api-designer/.claude/skills/api-designer in revfactory/harness-100) into .claude/skills/api-designer in your project. Claude Code loads it when a task matches its description.
Run `npx skills add revfactory/harness-100 --skill api-designer -a codex`. Or copy the skill folder (en/18-api-designer/.claude/skills/api-designer in revfactory/harness-100) into .agents/skills/api-designer in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add revfactory/harness-100 --skill api-designer -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-designer, .gemini/skills/api-designer, .github/skills/api-designer and .opencode/skills/api-designer in your project.
SKILL.md names no scripts, command-line tools or credentials: API Designer is instructions for the agent only.
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.
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. Review the folder before installing.
API Designer is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.8k tokens (SKILL.md is roughly 7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with API Designer: API Design (ericrisco/rsc-harness, 156 stars), API Designer (Jeffallan/claude-skills, 12k stars), API Design (yonatangross/orchestkit, 288 stars) and API Contract Detection (prime-radiant-inc/greenfield, 292 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
revfactory (a GitHub user) maintains it in revfactory/harness-100, which has 1,290 GitHub stars. The repository holds 464 skills in this directory. The repository was last updated on March 22, 2026.
Source: revfactory/harness-100 on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.