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.4 KiB
2.4 KiB
name, description, allowed-tools, version, parameters
| name | description | allowed-tools | version | parameters | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| java-build | Build Java project with Maven or Gradle - compile, test, package | Bash, Read | 3.0.0 |
|
Java Build Command
Build the Java project and run tests.
What This Command Does
- Detect Build Tool - Find Maven or Gradle wrapper
- Clean Build - Remove previous artifacts
- Compile - Compile source code
- Test - Run unit tests
- Package - Create JAR/WAR
- Report - Show build summary
Usage
/java-build # Build and test
/java-build --skip-tests # Build without tests
/java-build --package # Create JAR/WAR
/java-build --install # Install to local repo
/java-build --profile prod # Use production profile
Build Goals
| Goal | Maven | Gradle | Description |
|---|---|---|---|
| compile | compile | classes | Compile sources |
| test | test | test | Run tests |
| package | package | jar | Create artifact |
| install | install | publishToMavenLocal | Install locally |
Options
| Option | Description |
|---|---|
--skip-tests |
Build without tests |
--package |
Create JAR/WAR |
--install |
Install to local repository |
--profile <name> |
Activate build profile |
--debug |
Enable debug output |
Output Example
=== Java Build ===
[INFO] Building my-app 1.0.0-SNAPSHOT
[INFO] Compiling 42 source files
[INFO] Running 28 tests
Tests:
✓ 28 tests passed
✗ 0 tests failed
⊘ 2 tests skipped
[INFO] Building jar: target/my-app-1.0.0-SNAPSHOT.jar
BUILD SUCCESS (32s)
Troubleshooting
| Issue | Cause | Solution |
|---|---|---|
| Compilation error | Syntax error | Check error line |
| Test failure | Assertion failed | Review test output |
| Dependency not found | Missing repo | Check repositories |
| Out of memory | Heap too small | Set MAVEN_OPTS |
Exit Codes
| Code | Meaning |
|---|---|
| 0 | Build success |
| 1 | Compilation failed |
| 2 | Tests failed |
Related Commands
/java-check- Verify environment/java-debug- Debug issues