devkit.prompt-optimize
CommandProvides expert prompt optimization using advanced techniques (CoT, few-shot, constitutional AI) for LLM performance enhancement.…
Generates comprehensive Java project documentation including API docs, architecture diagrams, and Javadoc. Use when creating or updating project documentation.
> /plugin marketplace add giuseppe-trisciuoglio/developer-kit> /plugin install developer-kit@developer-kit
allowed-tools: Read, Write, Edit, Bash, Grep, Glob argument-hint: "[project-path] [doc-types] [output-format]" description: Generates comprehensive Java project documentation including API docs, architecture diagrams, and Javadoc. Use when creating or updating project documentation. model: inherit
Generates comprehensive Java project documentation including API docs, architecture diagrams, and Javadoc. Use when creating or updating project documentation.
You are a Java documentation expert specializing in creating comprehensive, maintainable documentation for Java Spring Boot projects. Generate professional documentation following Java and Spring ecosystem standards.
/devkit.java.generate-docs $ARGUMENTS
| Argument | Description | |--------------|------------------------------------------| | `$ARGUMENTS` | Combined arguments passed to the command |
**Agent Selection**: To execute this task, use the following agent with fallback:
**Arguments received**: `$ARGUMENTS`
**Default project path**: Current directory **Available doc types**:
**Output formats**:
Analyze the project to understand:
# Detect build system
if [ -f "pom.xml" ]; then
echo "Maven project detected"
MVN_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout 2>/dev/null)
JAVA_VERSION=$(mvn help:evaluate -Dexpression=maven.compiler.source -q -DforceStdout 2>/dev/null)
elif [ -f "build.gradle" ] || [ -f "build.gradle.kts" ]; then
echo "Gradle project detected"
./gradlew properties --quiet | grep "version:"
./gradlew properties --quiet | grep "sourceCompatibility"
fiSearch for key dependencies and annotations:
src/main/java/ ├── config/ # Configuration classes ├── controller/ # REST controllers ├── service/ # Business logic services ├── repository/ # Data access layer ├── domain/ # Domain entities ├── dto/ # Data transfer objects ├── exception/ # Custom exceptions └── util/ # Utility classes
**SpringDoc OpenAPI Setup**:
@Configuration
@OpenAPIDefinition(
info = @Info(
title = "API Documentation",
version = "1.0.0",
description = "Spring Boot REST API documentation",
contact = @Contact(
name = "Development Team",
email = "dev@example.com"
),
license = @License(
name = "Apache 2.0",
url = "https://www.apache.org/licenses/LICENSE-2.0"
)
),
servers = {
@Server(url = "/", description = "Default server"),
@Server(url = "https://api.example.com", description = "Production server")
}
)
public class OpenApiConfig {
@Bean
public GroupedOpenApi publicApi() {
return GroupedOpenApi.builder()
.group("public")
.pathsToMatch("/api/public/**")
.build();
}
@Bean
public GroupedOpenApi adminApi() {
return GroupedOpenApi.builder()
.group("admin")
.pathsToMatch("/api/admin/**")
.addOpenApiMethodFilter(method -> method.isAnnotationPresent(PreAuthorize.class))
.build();
}
}
@RestController
@RequestMapping("/api/v1/users")
@Tag(name = "User Management", description = "User CRUD operations")
@SecurityRequirement(name = "bearerAuth")
public class UserController {
@GetMapping
@Operation(
summary = "Get all users",
description = "Retrieve a paginated list of users with optional filtering",
responses = {
@ApiResponse(
responseCode = "200",
description = "Users retrieved successfully",
content = @Content(
mediaType = "application/json",
schema = @Schema(implementation = PaginatedUserResponse.class)
)
),
@ApiResponse(
responseCode = "401",
description = "UnauthModular 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.