java-controller

Community

Standardize Java Controllers for robust REST APIs.

Authorjie023
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill standardizes the Java Controller layer to ensure consistent RESTful APIs, reducing boilerplate and design drift across modules.

Core Features & Use Cases

  • Class naming conventions for controllers (e.g., AdminDepartmentController) and structured package organization.
  • Annotations and mapping guidelines including @RestController and @RequestMapping.
  • Dependency Injection and logging practices with SLF4J.
  • Parameter validation using JSR-380 (@Valid) and uniform response handling with a shared BaseRetuenDataVO.
  • Use cases: scaffolding new controllers, performing code reviews, and maintaining API design consistency.

Quick Start

Use this skill to scaffold a new AdminDepartmentController that follows the naming, annotation, DI, validation, and response conventions described above.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: java-controller
Download link: https://github.com/jie023/trae-setting/archive/main.zip#java-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.