designing-apis
Skill by CloudAI-X
Designing APIs is a skill that guides the design of REST and GraphQL APIs, covering endpoints, error handling, versioning and documentation. It suits developers creating new APIs or reviewing API contracts.
Install designing-apis
Built from the published package, never by AI.
git clone --depth 1 https://github.com/CloudAI-X/claude-workflow-v2 /tmp/claude-workflow-v2 && mkdir -p ~/.claude/skills && cp -r /tmp/claude-workflow-v2/skills/designing-apis ~/.claude/skills/designing-apisRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/CloudAI-X/claude-workflow-v2 /tmp/claude-workflow-v2 && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-workflow-v2/skills/designing-apis ~/.gemini/antigravity-cli/skills/designing-apisAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Designing APIs is an agent skill from CloudAI-X for designing REST and GraphQL APIs. It covers endpoints, error handling, versioning and documentation. The skill gives a seven-step workflow that starts with defining resources and relationships and ends with validating the design against a checklist. It includes reference material on URL structure, HTTP status codes, response formats, pagination, authentication patterns and rate limiting headers, plus GraphQL schema examples.
The skill is meant for creating new APIs, designing endpoints, reviewing API contracts, and answering questions about REST, GraphQL or API patterns. It also includes a security checklist covering HTTPS, authorization, input validation and audit logging. The OpenAPI 3.0 specification template is referenced in a separate file that is not included in the source. The source says to skip it for internal-only code with no API surface.
Written from the project's SKILL.md and checked against it.
What it can do
- REST URL structureShows resource-based URLs, nested resources and query parameters for filtering and pagination.
- HTTP status code guideLists common status codes from 200 to 500 with their typical use cases.
- Response format templatesProvides success, list with pagination, and error response JSON examples.
- API versioning optionsDescribes URL versioning, which is recommended, and header versioning.
- Authentication patternsCovers JWT bearer tokens and API keys in request headers.
- Rate limiting headersLists X-RateLimit and Retry-After headers to document.
- GraphQL schema patternsGives an abbreviated GraphQL schema with queries, mutations and input types.
- OpenAPI spec templatePoints to a separate OpenAPI 3.0 template file for full specifications.
- Design validation checklistChecks endpoints, methods, responses, pagination and OpenAPI completeness.
- Security checklistLists HTTPS, authorization, input validation, rate limiting and audit logging checks.
Try asking
- Design REST endpoints for a user and orders resource
- Review this API contract against the validation checklist
- Suggest a GraphQL schema for creating and updating users
Good to know
- Skip for internal-only code with no API surface
- The OpenAPI template is in a separate file not included in the source
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/designing-apis/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
OPENAPI-TEMPLATE.md3 KB -
SKILL.md5 KB
Alternatives to designing-apis
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
designing-apis: common questions
Does this skill cover GraphQL as well as REST?
Yes. The source includes a GraphQL patterns section with an abbreviated schema for queries, mutations, and user types.
Which API versioning approach does it recommend?
The source recommends URL versioning, such as /api/v1/users, and also describes header versioning as an option.
When should this skill not be used?
The source says to skip it for internal-only code with no API surface.
How do I install designing-apis?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is designing-apis free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is designing-apis safe to use?
It scores 77 of 100. Grades: maintenance B, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to designing-apis?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
