← 返回 Skills 市场
Java changing with tests
作者
tanerilyazov
· GitHub ↗
· v1.0.0
2229
总下载
1
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install java-change-with-tests
功能描述
Guide Java changes with minimal edits, verify using unit/integration tests as needed, and provide a PR-ready summary including plans, changes, test results,...
使用说明 (SKILL.md)
java-change-with-tests
When to use
- Any Java change that must be merged safely (feature/refactor/bugfix).
Inputs to request (if missing)
- Acceptance criteria (1-3 bullets).
- Module name (if multi-module repo).
- Build tool and test conventions.
- Whether integration tests are required for the change.
Steps
- Repo map (brief): identify the module, entrypoint, and test location.
- Plan: smallest diff that meets acceptance criteria.
- Implement: minimal edits.
- Tests:
- prefer fast unit tests first
- add integration tests only when required to validate behavior
- Verify:
- run targeted tests
- run
mvn -q test(or module-scoped equivalent)
- Output PR-ready summary with evidence.
Verification commands (project-specific)
- Use the repo's build tool and record the exact commands and results.
- Prefer targeted unit tests before full test suites.
Output contract
- Plan (3-6 steps)
- Files changed + intent
- Commands run + results
- Risks + follow-ups
安全使用建议
This is an instruction-only workflow for making Java changes and running tests — it's internally consistent and low risk. Before installing or using it, confirm the agent has: (1) explicit access to the repository you want it to edit, (2) the appropriate build tool (e.g., Maven) is available on the environment where the agent runs, and (3) any git/CI credentials remain under your control (the skill does not request them but the agent will need them to push or open PRs). Also consider restricting the agent's ability to push commits or open PRs automatically (require manual approval) if you don't want autonomous writes to your repo. If you want the skill to be more robust, ask the developer to (a) add a short description to the metadata, and (b) document required binaries (mvn/gradle) and expected repository access/permissions.
功能分析
Type: OpenClaw Skill
Name: java-change-with-tests
Version: 1.0.0
The skill bundle is benign. The `SKILL.md` and `README.md` files describe a standard workflow for making Java code changes, including planning, implementation, testing, and verification using common build tools like Maven. All instructions for the AI agent, such as mapping the repository and running `mvn` commands, are directly aligned with the stated purpose and do not exhibit any signs of data exfiltration, malicious execution, persistence, or prompt injection with harmful intent.
能力评估
Purpose & Capability
The skill's name and SKILL.md describe a minimal-diff + tests workflow for Java projects, which aligns with the steps it instructs (identify module, implement, run tests, produce PR-ready output). Minor incoherence: the skill doesn't include a description in the metadata and the manifest declares no required binaries, yet the instructions assume use of a build tool (maven/`mvn`) — the skill should declare that the build tool must exist or prompt for it.
Instruction Scope
Instructions stay within the stated purpose: mapping repo, creating a minimal plan, implementing code, running targeted unit/integration tests, and reporting commands/results. The steps reference running project build/test commands and producing a PR summary; they do not instruct reading unrelated system files or exfiltrating data.
Install Mechanism
No install spec and no code files (instruction-only). This is low-risk: nothing is downloaded or written by an installer. The skill relies on the environment having the project's build tools available.
Credentials
The skill declares no required environment variables or credentials and its requested operations (editing repo files and running tests) do not require additional secrets. Note: to operate the agent will need access to the repository files and any developer credentials (git push/CI) are external to the skill and are not requested — which is appropriate.
Persistence & Privilege
always is false and there is no install that modifies agent configuration. The skill does not request persistent presence or system-wide changes.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install java-change-with-tests - 安装完成后,直接呼叫该 Skill 的名称或使用
/java-change-with-tests触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of db-backfill-safe skill.
- Provides a step-by-step guide for making safe Java code changes with test coverage.
- Lists required inputs such as acceptance criteria, module name, and test conventions.
- Outlines the process: repo mapping, planning, minimal implementation, targeted testing, verification, and outputting a summary.
- Specifies verification and output standards for pull request readiness.
元数据
常见问题
Java changing with tests 是什么?
Guide Java changes with minimal edits, verify using unit/integration tests as needed, and provide a PR-ready summary including plans, changes, test results,... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2229 次。
如何安装 Java changing with tests?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install java-change-with-tests」即可一键安装,无需额外配置。
Java changing with tests 是免费的吗?
是的,Java changing with tests 完全免费(开源免费),可自由下载、安装和使用。
Java changing with tests 支持哪些平台?
Java changing with tests 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Java changing with tests?
由 tanerilyazov(@tanerilyazov)开发并维护,当前版本 v1.0.0。
推荐 Skills