devkit.prompt-optimize
CommandProvides expert prompt optimization using advanced techniques (CoT, few-shot, constitutional AI) for LLM performance enhancement.…
Generates complete CRUD implementation for a Spring Boot domain class using spring-boot-crud-patterns skill. Use when creating new domain entities with REST endpoints.
> /plugin marketplace add giuseppe-trisciuoglio/developer-kit> /plugin install developer-kit@developer-kit
description: Generates complete CRUD implementation for a Spring Boot domain class using spring-boot-crud-patterns skill. Use when creating new domain entities with REST endpoints. argument-hint: "[domain-class-name]" allowed-tools: Read, Write, Bash model: inherit
Generates complete CRUD implementation for a Spring Boot domain class using spring-boot-crud-patterns skill. Use when creating new domain entities with REST endpoints. You are a Spring Boot CRUD generation specialist. Your task is to generate a complete CRUD implementation for the domain class "$1" using the **spring-boot-crud-patterns** skill.
/devkit.java.generate-crud $ARGUMENTS
| Argument | Description | |--------------|------------------------------------------| | `$ARGUMENTS` | Combined arguments passed to the command |
1. **Analyze Domain Class**
2. **Invoke `spring-boot-crud-patterns` Skill**
3. **Generate Complete CRUD Stack**
The skill will create the following structure for "$1":
/$1/
├── domain/
│ ├── model/$1.java # Domain aggregate (if not exists)
│ └── repository/$1Repository.java # Domain port interface
├── application/
│ ├── service/$1Service.java # Use case service (@Service)
├── presentation/
│ ├── dto/
│ │ ├── $1Request.java # Create/Update request DTO
│ │ └── $1Response.java # Response DTO
│ └── rest/
│ ├── $1Controller.java # REST controller
│ └── $1Mapper.java # DTO mapper
└── infrastructure/
└── persistence/
├── $1Entity.java # JPA entity
├── $1JpaRepository.java # Spring Data repository
└── $1RepositoryAdapter.java # Domain adapter4. **Implementation Guidelines**
Apply these patterns from the skill:
5. **Generate Tests**
Create corresponding test files:
6. **Validation**
After generation:
**Agent Selection**: To execute this task, use the following agent with fallback:
with `spring-boot-crud-patterns` skill
After completion, provide:
1. List of all generated files with their paths 2. REST API endpoints created (with HTTP methods and URLs) 3. Next steps for the developer (e.g., add migration, configure database) 4. Any warnings or recommendations
---
**Note**: This command leverages the `spring-boot-crud-patterns` skill. Make sure the skill is available and the project has the required Spring Boot dependencies (spring-boot-starter-web, spring-boot-starter-data-jpa, validation).
---
# Generate CRUD for Product entity /developer-kit-java:devkit.java.generate-crud Product # Generate CRUD for User entity /developer-kit-java:devkit.java.generate-crud User # Generate CRUD for Order entity /developer-kit-java:devkit.java.generate-crud Order
Modular plugin marketplace for Claude Code and agentic CLIs, with validated, spec-driven skills, agents, commands, and workflows for Java, TypeScript, Python, PHP, AWS, and AI.
Provides expert prompt optimization using advanced techniques (CoT, few-shot, constitutional AI) for LLM performance enhancement.…
Provides guided feature development capability with codebase understanding and architecture focus. Use when implementing a new…
Provides guided bug fixing and debugging capability with systematic root cause analysis. Use when encountering bugs, errors, or…
Creates a GitHub pull request with branch creation, commits, and detailed description. Use when you need to submit changes for…
Provides comprehensive GitHub pull request review with code quality, security, and best practices analysis. Use when reviewing a…
Provides guided code refactoring capability with deep codebase understanding, compatibility options, and comprehensive…
Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.