create-rest-controller

Community

Scaffold Spring REST controllers

Authoremaarco
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the creation of boilerplate code for Spring Boot REST controllers, reducing manual coding effort and ensuring consistency in API development.

Core Features & Use Cases

  • Scaffolds @RestController: Generates a new Spring REST controller file.
  • Creates DTOs: Automatically defines nested request and response Data Transfer Objects (DTOs).
  • Generates Mapping: Includes a toCommand() function for mapping request DTOs to use-case commands.
  • Updates Existing Controllers: Intelligently updates existing controllers if they are found, adding missing elements.
  • Use Case: When you need to expose a new use case as a REST API endpoint, this skill will generate the necessary controller, DTOs, and mapping logic.

Quick Start

Use the create-rest-controller skill to scaffold a new REST controller for the CreateOrderUseCase by providing the path to its port file.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: create-rest-controller
Download link: https://github.com/emaarco/easy-zeebe/archive/main.zip#create-rest-controller

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.