add-endpoint-java

Scaffold REST endpoints for Java Spring Boot services with controllers, services, repositories, DTOs, tests, and migrations.

1|Updated Apr 21, 2026
One-click install
npx skills add https://github.com/sswapnil2/ai-config-fintech --skill add-endpoint-java
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-endpoint-java
Source: https://github.com/sswapnil2/ai-config-fintech/tree/main/skills/add-endpoint-java
Command: npx skills add https://github.com/sswapnil2/ai-config-fintech --skill add-endpoint-java

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the end-to-end creation of a new REST endpoint in a Java Spring Boot service, removing manual scaffolding chores.

Core Features & Use Cases

  • End-to-end scaffolding: Controller, Service, Repository, DTOs, tests
  • Audit & idempotency: audit_log integration and idempotent mutations
  • Migration-ready: Flyway migration skeleton when needed
  • Use Case: Rapidly add endpoints that follow org conventions and tests

Quick Start

Provide the HTTP method, path, and purpose; I will scaffold the endpoint with controller, service, repository, DTOs, tests, and migration if needed.

Frequently Asked Questions about add-endpoint-java

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

FAQPage Schema
How do I scaffold a Java Spring Boot REST endpoint with controllers, services, and tests?

Scaffolding a Java Spring Boot REST endpoint is automated by providing the HTTP method, path, and purpose to generate controllers, services, repositories, DTOs, and tests. This removes manual setup chores and enforces organizational conventions.

What do I need to generate a Spring Boot REST endpoint with full DTOs and repository layers?

Generating a Spring Boot REST endpoint requires defined inputs including the HTTP method, path, purpose, mutation or read type, and migration needs. Supplying these parameters automates scaffolding of the complete controller, service, and repository layers.

Can I generate Flyway database migrations when creating new Java REST endpoints?

Yes, Flyway database migration skeletons can be generated when creating Java REST endpoints. You must specify your migration needs during the initial request, and the scaffolding process will include the migration files alongside your repository and service code.

How does audit logging and idempotency work in scaffolded Spring Boot REST endpoints?

Audit logging and idempotency in scaffolded Spring Boot REST endpoints are integrated automatically for mutation requests. The generated service layer includes audit_log integration and idempotent mutation handling to comply with organizational tracking conventions.

Is automated Java endpoint scaffolding suitable for read-only APIs or only mutation endpoints?

Automated Java endpoint scaffolding supports both read-only APIs and mutation endpoints. You must specify whether the endpoint is a mutation or read type in your inputs, and the generated controller and service layers adapt to the selected operation type.

What is the best way to add tested Java REST endpoints quickly without manual boilerplate?

The best way to add tested Java REST endpoints without manual boilerplate is using end-to-end scaffolding automation. It generates controllers, services, DTOs, and tests simultaneously, ensuring the endpoint follows organizational conventions and includes necessary audit logging.