一键导入
java-worker
Implements Java source and test code changes for the FEAGI Java SDK
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Implements Java source and test code changes for the FEAGI Java SDK
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | java-worker |
| description | Implements Java source and test code changes for the FEAGI Java SDK |
NOTE: Startup and cleanup are handled by worker-base. This skill defines the WORK PROCEDURE.
Use for features that involve:
None.
Read the feature description carefully. Understand preconditions, expected behavior, and verification steps.
Read AGENTS.md for coding conventions, boundaries, and constraints.
Investigate affected files. Before making changes, read the current source and test files you'll be modifying. Understand the existing patterns, imports, and API surface.
Write/fix tests first (Red).
cd /d C:\Users\bendc\Documents\GitHub\feagi-java-sdk && gradlew.bat :sdk-core:compileTestJava or :sdk-native:compileTestJava.Implement source changes (Green).
volatile + synchronized), preserve existing load(String) and loadAndVerify(String) behavior.Run tests to verify green.
cd /d C:\Users\bendc\Documents\GitHub\feagi-java-sdk && gradlew.bat buildgradlew.bat :sdk-core:testManual verification.
jar tf <path>.Check for regressions. Run the full module test suite, not just the changed tests.
{
"salientSummary": "Fixed 24 compilation errors in MotorUnitConfigTest by updating minRange()->minValue(), maxRange()->maxValue(), removing bidirectional references, and aligning default value assertions. All 18 remaining tests pass.",
"whatWasImplemented": "Updated MotorUnitConfigTest.java: renamed accessor calls (minRange->minValue, maxRange->maxValue in 4 tests), removed bidirectional builder calls and assertions (6 tests), removed shouldNotBeEqualWhenBidirectionalDiffers test entirely, updated default range assertion from (0,180) to (0,1), updated toString test to match current output format.",
"whatWasLeftUndone": "",
"verification": {
"commandsRun": [
{
"command": "gradlew.bat :sdk-core:compileTestJava",
"exitCode": 0,
"observation": "Compilation successful, 0 errors"
},
{
"command": "gradlew.bat :sdk-core:test --tests io.feagi.sdk.core.MotorUnitConfigTest",
"exitCode": 0,
"observation": "18 tests passed, 0 failed, 0 skipped"
},
{
"command": "gradlew.bat :sdk-core:test",
"exitCode": 0,
"observation": "All 142 tests passed, 0 failures"
}
],
"interactiveChecks": []
},
"tests": {
"added": [],
"modified": [
{
"file": "sdk-core/tests/io/feagi/sdk/core/MotorUnitConfigTest.java",
"cases": [
{"name": "shouldCreateDefaultMotorUnitConfig", "verifies": "Default builder produces valid config with current defaults"},
{"name": "shouldCreateMotorUnitConfigForServoMotor", "verifies": "Servo motor config uses minValue/maxValue"}
]
}
]
},
"discoveredIssues": []
}
gradlew build and cannot be worked around