mirror of
https://github.com/pluginagentmarketplace/custom-plugin-java.git
synced 2026-09-14 20:26:38 +08:00
6e6d335330
## Summary Complete production-grade upgrade of all agents, skills, and commands with: - Input/Output JSON schemas for all agents - ReAct pattern workflow implementation - Error handling strategies with fallback mechanisms - Token/cost optimization settings - Comprehensive troubleshooting guides and debug checklists ## Changes ### Agents (8) - Upgraded to v3.0.0 - All agents now include: input_schema, output_schema, token_budget, max_iterations, ReAct workflow, fallback strategies, debug checklists - Agent responsibilities clearly defined with boundaries ### Skills (12) - SASMP v1.3.0 Compliant - All skills include: parameter validation, PRIMARY/SECONDARY bond types, quick reference code examples, troubleshooting tables - Fixed java-testing-advanced bonded_agent to 04-java-testing ### Commands (4) - v3.0.0 - All commands include: parameter validation in frontmatter, exit codes documentation, troubleshooting tables ### Documentation - Updated plugin.json to v3.0.0 - Updated README.md with correct agent/skill information - Added comprehensive CHANGELOG entry ### Integrity Check - All 12 skills correctly bonded to valid agents - Zero orphan skills, zero broken links, zero circular dependencies Co-authored-by: Claude <noreply@anthropic.com>
2.6 KiB
2.6 KiB
name, description, allowed-tools, version, parameters
| name | description | allowed-tools | version | parameters | ||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| java-new | Create a new Java project with Maven or Gradle | Bash, Read, Write | 3.0.0 |
|
Java New Command
Create a new Java project with proper structure and dependencies.
What This Command Does
- Project Type Selection - Choose Maven or Gradle
- Framework Selection - Spring Boot, Quarkus, or plain Java
- Directory Structure - Create standard Java layout
- Build Configuration - Generate pom.xml or build.gradle.kts
- Git Init - Initialize git repository with .gitignore
Usage
/java-new my-app # Plain Maven project
/java-new my-app --spring-boot # Spring Boot with Maven
/java-new my-app --gradle --spring-boot # Spring Boot with Gradle
/java-new my-lib --library # Library project
Project Types
Plain Java
- Basic Maven/Gradle project
- JUnit 5 for testing
- No framework dependencies
Spring Boot
- Spring Boot 3.x starter
- Web, actuator included
- Application class generated
Library
- No main class
- Configured for publishing
- Test dependencies only
Multi-module (advanced)
- Parent POM with modules
- Shared dependencies
- Separate subprojects
Generated Structure
my-app/
├── pom.xml (or build.gradle.kts)
├── src/
│ ├── main/
│ │ ├── java/
│ │ │ └── com/example/myapp/
│ │ │ └── Application.java
│ │ └── resources/
│ │ └── application.yml
│ └── test/
│ └── java/
│ └── com/example/myapp/
│ └── ApplicationTest.java
├── .gitignore
└── README.md
Options
| Option | Description |
|---|---|
--maven |
Use Maven (default) |
--gradle |
Use Gradle with Kotlin DSL |
--spring-boot |
Include Spring Boot starter |
--library |
Create library project |
--java 17 |
Specify Java version |
Exit Codes
| Code | Meaning |
|---|---|
| 0 | Project created |
| 1 | Invalid project name |
| 2 | Directory exists |
Related Commands
/java-check- Verify environment/java-build- Build project