api-route-design
Skill by aiskillstore
API Route Design is an agent skill for designing RESTful endpoints in FastAPI and Python projects. It covers request validation with Pydantic, response models, status codes, and pagination, filtering, and sorting.
Install api-route-design
Built from the published package, never by AI.
git clone --depth 1 https://github.com/aiskillstore/marketplace /tmp/marketplace && mkdir -p ~/.claude/skills && cp -r /tmp/marketplace/skills/awais68/api-route-design ~/.claude/skills/api-route-designRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/aiskillstore/marketplace /tmp/marketplace && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/marketplace/skills/awais68/api-route-design ~/.gemini/antigravity-cli/skills/api-route-designAntigravity 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
API Route Design is a SKILL.md guide that helps an AI assistant design RESTful API endpoints in FastAPI or Python projects. It gives patterns for GET, POST, PUT, PATCH and DELETE routes, along with URL naming rules such as plural nouns and lowercase hyphenated paths. It also lists HTTP status codes with their usual uses.
The skill includes code examples for path and query parameters, Pydantic request bodies, and paginated response envelopes with a has_more flag. It also covers filtering and sorting parameters and a consistent error response model. The source says it is for developers building REST APIs in Python, and it names related skills for FastAPI routers, SQLModel CRUD, JWT auth and API clients. It does not cover GraphQL, WebSocket handlers or non-RESTful endpoints.
Written from the project's SKILL.md and checked against it.
What it can do
- Endpoint patternsShows FastAPI router patterns for list, get, create, update, patch and delete routes.
- URL naming rulesSets conventions such as plural nouns, lowercase paths and hyphens for multi-word names.
- Status code selectionLists HTTP status codes such as 201 for create, 204 for delete and 422 for validation errors.
- Request validationShows Pydantic models and Query and Path constraints for request input.
- PaginationDescribes skip and limit parameters and a response with total and has_more fields.
- Filtering and sortingShows query parameters for filter fields plus sort_by and sort_order.
- Response modelsProvides response model examples and a standard error response format.
What you need
- Python
- FastAPI
- Pydantic
Try asking
- Design FastAPI GET and POST endpoints for a fees resource
- Add skip and limit pagination to my FastAPI list endpoint
- Which HTTP status code should my FastAPI delete route return?
Good to know
- Not for GraphQL APIs, WebSocket handlers or non-RESTful endpoints.
- Written for FastAPI and Python projects only.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/awais68/api-route-design/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to api-route-design
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
api-route-design: common questions
Does this skill work with FastAPI?
Yes. The skill is written for designing RESTful endpoints in FastAPI or Python projects and its examples use FastAPI routers and Pydantic models.
What does it recommend for pagination?
It uses skip and limit query parameters and a response with data, total, skip, limit and has_more fields.
Can it be used for GraphQL or WebSocket APIs?
No. The source says it is not for GraphQL APIs, WebSocket handlers or non-RESTful endpoints.
How do I install api-route-design?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is api-route-design free?
The code is public, but no licence file was found, so check the repository before commercial use.
Is api-route-design safe to use?
It scores 64 of 100. Grades: maintenance A, licence F, 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 api-route-design?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
