paasta-api-endpoint
Skill by Yelp
Generates a new PaaSTA API endpoint, including the view function, route, Swagger and OpenAPI documentation, and unit tests. It is built for developers working in the PaaSTA repository who want endpoints that follow existing patterns.
Install paasta-api-endpoint
Built from the published package, never by AI.
git clone --depth 1 https://github.com/Yelp/paasta /tmp/paasta && mkdir -p ~/.claude/skills && cp -r /tmp/paasta/.claude/skills/paasta-api-endpoint ~/.claude/skills/paasta-api-endpointRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/Yelp/paasta /tmp/paasta && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/paasta/.claude/skills/paasta-api-endpoint ~/.gemini/antigravity-cli/skills/paasta-api-endpointAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install paasta-api-endpoint in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
PaaSTA API Endpoint Generator is a skill that guides the creation of a new endpoint in the PaaSTA API. It asks for the endpoint purpose, HTTP method, URL pattern, path and query parameters, request body, response structure, and error cases. It is invoked with the /paasta-api-endpoint command.
The skill then generates a view function in paasta_tools/api/views/, registers the route in api.py, and adds Swagger 2.0 and OpenAPI 3.0 documentation. It also writes unit tests, runs the make openapi-codegen target to regenerate client code, and runs pytest, mypy, and pre-commit checks. It is aimed at developers who maintain the PaaSTA API and want consistent endpoints.
Written from the project's SKILL.md and checked against it.
What it can do
- Gather requirementsAsks interactively for the endpoint purpose, method, URL, parameters, body, response, and errors.
- Generate view functionCreates a view function in paasta_tools/api/views/ following a template.
- Register routeAdds the route registration to paasta_tools/api/api.py.
- Add Swagger 2.0 docsUpdates swagger.json with the endpoint and response schemas.
- Add OpenAPI 3.0 docsUpdates oapi.yaml with the endpoint and component schemas.
- Generate unit testsWrites tests for success and error cases using mock patches.
- Generate client codeRuns make openapi-codegen to regenerate the Python client.
- Run validationRuns pytest, mypy, and pre-commit checks on the changed files.
What you need
- Checkout of the PaaSTA repository
- Python 3.10 environment set up through tox (py310-linux)
- make
- git
Try asking
- /paasta-api-endpoint to add a GET status endpoint for a service instance
- /paasta-api-endpoint to add a POST endpoint for deploy group updates
- Use the paasta-api-endpoint skill to add a DELETE endpoint with 404 handling
Good to know
- Invoked manually only, since model invocation is disabled.
- Paths, commands, and conventions are specific to the PaaSTA repository layout.
- Swagger and OpenAPI docs must be kept in sync, as the source notes.
Security check
B- Allowed to use Edit, Write, Bash without limitsIn
SKILL.md
Checked automatically: .claude/skills/paasta-api-endpoint/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ReadEditWriteGrepGlobBashAskUserQuestion
-
SKILL.md10 KB
Alternatives to paasta-api-endpoint
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
paasta-api-endpoint: common questions
Who is the PaaSTA API Endpoint Generator for?
The source describes it for developers adding endpoints to the PaaSTA API who want consistency with existing patterns. It is written for the PaaSTA repository.
Does it generate tests for the new endpoint?
Yes. The skill writes unit tests for the success case and each error case, then runs them along with mypy and pre-commit checks.
Which files does it change?
It can change the view file, api.py, swagger.json, oapi.yaml, and the test file, and it regenerates files under paasta_tools/paastaapi/.
How do I install paasta-api-endpoint?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is paasta-api-endpoint free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is paasta-api-endpoint safe to use?
It scores 81 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use edit, write, bash without limits). Review the code before you install. How grades work.
What are alternatives to paasta-api-endpoint?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
