create-api-endpoint
Skill by rundeck
Guides an AI assistant through creating or changing REST API endpoints in Rundeck, covering OpenAPI annotations, API versioning and tests. It is aimed at developers contributing to Rundeck and its plugins.
Install create-api-endpoint
Built from the published package, never by AI.
git clone --depth 1 https://github.com/rundeck/rundeck /tmp/rundeck && mkdir -p ~/.claude/skills && cp -r /tmp/rundeck/.claude/skills/create-api-endpoint ~/.claude/skills/create-api-endpointRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/rundeck/rundeck /tmp/rundeck && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/rundeck/.claude/skills/create-api-endpoint ~/.gemini/antigravity-cli/skills/create-api-endpointAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install create-api-endpoint in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The create-api-endpoint skill is a step-by-step process for adding or modifying REST API endpoints in the Rundeck codebase. It tells the assistant to load the project's API, development and testing guideline files first, then design the HTTP method, URL path, request and response DTOs, and authentication requirements. It applies a versioning rule: new functionality, new endpoints and modified endpoints each need a new API version, while bug fixes keep the same version.
The skill also covers writing API tests before the implementation, annotating controllers and DTOs with OpenAPI (Swagger) annotations, and configuring build.gradle for new plugins. It ends with Gradle commands to run API tests, confirm the generated OpenAPI YAML and update Rundeck's public documentation. It is intended for developers working on Rundeck and its plugins, which use Groovy and Micronaut.
Written from the project's SKILL.md and checked against it.
What it can do
- Load project guidelinesReads the API, development and testing guideline files before starting work.
- Design API versioningSets the HTTP method, URL path, DTOs and whether a new API version is required.
- Write API tests firstCovers new behavior on the new API version and confirms the old version does not support it.
- Annotate DTOs with @SchemaAdds OpenAPI schema annotations to data classes and their fields.
- Annotate controllersAdds @Controller, @Operation, @Tag, @ApiResponse and @Parameters annotations to endpoint methods.
- Configure build.gradle for pluginsAdds Micronaut and Swagger dependencies and sets the OpenAPI target file for new plugins.
- Verify the OpenAPI specLists Gradle commands to run API tests and confirm the generated swagger YAML.
- Update documentationReminds the user to update the Rundeck API Reference and API Version History.
What you need
- Rundeck codebase with a Gradle build
- Groovy and Micronaut OpenAPI dependencies
- Guideline files in .claude/docs
Try asking
- Create a new REST endpoint for listing projects with OpenAPI annotations
- Add a new API version for a modified project endpoint in Rundeck
- Annotate my Rundeck DTO classes with @Schema for the API spec
Good to know
- Relies on .claude/docs guideline files that are not included in the source
- Written for Rundeck's own conventions, paths and Gradle tasks
- Describes no support for other frameworks or languages
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/create-api-endpoint/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md8 KB
Alternatives to create-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
create-api-endpoint: common questions
Does this skill enforce API versioning rules?
Yes. It states that new functionality, new endpoints and modified endpoints need a new API version, while bug fixes stay on the same version.
Does it require tests for new endpoints?
Yes. It says to write API tests first, checking that new behavior works on the new version and does not work on the old one.
Does the skill cover documentation as well as code?
Yes. Its checklist includes updating the Rundeck API Reference and API Version History when an endpoint changes.
How do I install create-api-endpoint?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is create-api-endpoint free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is create-api-endpoint safe to use?
It scores 83 of 100. Grades: maintenance A, 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 create-api-endpoint?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
