Add API Endpoints Automatically

    by Mariusz Wrzeszczynski

    1

    Automatically add API endpoints to existing projects.

    Secure checkout via Stripe

    0 installsSecurity scanned

    Works with the AI tools you already use

    CClaude CodeCCursorCCodex CLIGGitHub CopilotGGemini CLIVVS CodeWWindsurfMManus+14 more

    See it in action

    You say

    Add a POST endpoint to /users that accepts an email and password, validates the input, and returns a 201.

    Your agent does

    Project Detected: Express (Node.js)

    Endpoint Added:

    • Method: POST
    • Route: /users
    • Purpose: User registration

    Implementation Summary:

    • Added route to /routes/users.js
    • Created controller logic in /controllers/userController.js
    • Added Joi validation middleware

    Files Modified:

    • src/routes/users.js
    • src/controllers/userController.js

    Validation Result: All tests passed (2 tests executed).

    How to Test: curl -X POST http://localhost:3000/users -d '{"email":"test@example.com", "password":"password123"}'

    What you get

    Add new REST endpoints that follow existing project routing patterns.Implement request validation middleware for incoming API payloads.Generate unit tests that match the project's current testing suite.Extend controllers with new business logic and response handling.

    About this skill

    The problem

    Manually scaffolding new API endpoints is repetitive and error-prone. It is easy to deviate from established project conventions, miss validation logic, or forget to update the corresponding test suites.

    What it does

    • Detects existing backend frameworks and routing patterns automatically.
    • Generates RESTful routes and controllers following project-specific naming conventions.
    • Implements request validation and response handling based on existing middleware.
    • Updates or creates test files to match the current testing architecture.
    • Validates changes using local linting and test execution tools.

    Frameworks & tools

    Works with any backend stack including Node.js (Express, Fastify), Python (FastAPI, Flask), Go, and Ruby on Rails. Utilizes Read, Edit, and Bash tools for implementation and verification.

    Why this beats prompting it yourself

    Generic prompts often produce hallucinated patterns or ignore your project's specific directory structure. This skill enforces a "Safety > Project Convention" priority, ensuring new code integrates with your existing middleware and architecture without manual refactoring.

    Use cases

    • Adding a new POST endpoint to handle user registration with validation.
    • Extending an existing resource controller with a new PATCH route.
    • Scaffolding a health-check endpoint for a new microservice.
    • Implementing CRUD operations for a newly defined database model.

    Known limitations

    Requires an existing project structure to detect conventions. It will not invent database models from scratch unless explicitly required for the endpoint logic.

    How to install

    Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    30-day refund

    Not a fit? Get your money back

    Trust & safety

    Security scanned

    Verified clean today

    Listedtoday

    Creator

    Mariusz Wrzeszczynski
    Mariusz Wrzeszczynski

    109 skills on Agensi

    Frequently Asked Questions

    Popular in Workflow Automation