add-endpoint

Installation
SKILL.md

Add API Endpoint

Create endpoint for $ARGUMENTS.

Steps

  1. Read the pattern: Open packages/server/api/src/app/tables/table/table.controller.ts as reference.

  2. Create or update controller using FastifyPluginAsyncZod:

    export const myController: FastifyPluginAsyncZod = async (fastify) => {
        fastify.post('/', CreateRequest, async (request) => {
            return myService(request.log).create({
                projectId: request.projectId,
                request: request.body,
            })
        })
    }
    
Installs
1
First Seen
Jul 15, 2026
add-endpoint — dexhunter/activepieces