/routes
List all REST endpoints in the Spring Boot project — scans controllers and prints a route table
$ npx -y skills add ducpm2303/claude-java-plugins --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/routes
Context preview
What this command does when you run it.
List all REST endpoints in the Spring Boot project — scans controllers and prints a route table
Command definition
routes.mddescription: List all REST endpoints in the Spring Boot project — scans controllers and prints a route table
/java-spring:routes
Scan the project and print all REST API endpoints.
Instructions
1. Find all `@RestController` and `@Controller` classes in `src/main/java/`
2. For each controller, extract:
- Class-level `@RequestMapping` prefix (if any)
- Method-level `@GetMapping`, `@PostMapping`, `@PutMapping`, `@DeleteMapping`, `@PatchMapping`
- Method signature (parameter names and types)
- Return type
3. Print a route table:
METHOD PATH HANDLER
------ ---- -------
GET /api/products ProductController#findAll
GET /api/products/{id} ProductController#findById
POST /api/products ProductController#create
PUT /api/products/{id} ProductController#update
DELETE /api/products/{id} ProductController#delete4. After the table, note any issues:
- Missing `@Valid` on `@RequestBody` parameters
- Methods returning `void` or raw types instead of `ResponseEntity<T>`
- Endpoints with no authentication that look sensitive (e.g., `/admin`, `/actuator`)
5. Summary line: total endpoint count, controllers scanned.
A Claude Code plugin marketplace with 3 focused plugins for Java developers. All plugins support Java 8 through Java 21 and tailor advice to your target Java version.
Other commands on claude-java-plugins.
- /build
Build the Java project — detects Maven or Gradle and runs a clean build with test execution
Open command - /check
Run static analysis on the Java project — detects configured tools (Checkstyle, SpotBugs, PMD) and reports findings
Open command - /audit
Full quality audit — runs security scan, performance check, and test coverage analysis in sequence and produces a combined report
Open command - /run
Start the Spring Boot application locally — checks prerequisites, then runs the app and reports startup status
Open command

