pcs-add-endpoint

Automate CRUD endpoint scaffolding for PCS microservices with routing, schemas, services, events, tests, and migrations.

1|Updated Jan 28, 2026
One-click install
npx skills add https://github.com/Benmore-Studio/Benmore-Meridian --skill pcs-add-endpoint
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: pcs-add-endpoint
Source: https://github.com/Benmore-Studio/Benmore-Meridian/tree/main/skills/pcs/pcs-add-endpoint
Command: npx skills add https://github.com/Benmore-Studio/Benmore-Meridian --skill pcs-add-endpoint

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Creating a new PCS CRUD endpoint from scratch is repetitive and error-prone; this skill automates the scaffolding to ensure consistency with PCS conventions.

Core Features & Use Cases

  • Generates router, schemas, and service stubs aligned with PCS patterns.
  • Adds audit events, Kafka emissions, and tests to validate tenant isolation and behavior.
  • Provides a migration-ready template to register new resources with Alembic.

Quick Start

Create a new PCS resource endpoint by running the PCS Add Endpoint workflow for your microservice.

Frequently Asked Questions about pcs-add-endpoint

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a CRUD endpoint to a microservice with Kafka and Alembic migrations?▼

To add a CRUD endpoint, you need consistent router templates, tenant-scoped services, Kafka events, tests, and Alembic migrations. Automating this scaffolding ensures all components align with PCS conventions without the repetitive manual code generation.

What is the best way to scaffold a new resource in a PCS microservice?▼

The best way to scaffold a new PCS resource is to automate the creation of router, schemas, and service stubs. This ensures pattern consistency and automatically includes audit events, Kafka emissions, and tests to validate tenant isolation.

Does generating a CRUD endpoint automatically include tenant isolation tests?▼

Yes, generating a CRUD endpoint includes tests specifically designed to validate tenant isolation and behavior. The scaffolding process adds these tests alongside the router, schemas, and service stubs to ensure secure multi-tenant operations.

Can I use this to generate Alembic migration templates for new resources?▼

Yes, you can use this to generate a migration-ready template to register new resources with Alembic. It provides the necessary database migration scaffolding required when introducing new data structures to your microservice.

Why does creating a CRUD endpoint from scratch cause consistency issues?▼

Creating a CRUD endpoint from scratch causes consistency issues because manually writing routers, schemas, and services is repetitive and error-prone. Automating the scaffolding enforces strict adherence to established PCS conventions and reduces human error.

Do I need to manually configure Kafka events when adding a new microservice resource?▼

No, you do not need to manually configure Kafka events when adding a new resource. The scaffolding process automatically adds audit events and Kafka emissions aligned with your existing PCS microservice patterns.