← 返回 Skills 市场
Sui Auto Test
作者
Eason Chen
· GitHub ↗
· v1.0.0
1229
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install sui-auto-test
功能描述
Analyze Sui Move test coverage, identify untested code, write missing tests, and perform security audits. Includes Python tools for parsing coverage output and generating reports.
安全使用建议
This skill appears to be a helpful analyzer for Sui Move coverage, but several things don't add up:
- The package metadata lists no required binaries, but the runtime clearly expects and execs the 'sui' CLI. Make sure you have a trusted 'sui' binary on PATH before running — a malicious or symlinked executable named 'sui' could be executed by the script.
- The README/description implies automatic test creation, but the included Python tools only parse colored coverage output and generate suggestions/reports. There is no code that auto-generates or inserts Move test files. Expect to write tests yourself (or have the agent author them as content, then you must apply/commit them manually after review).
- One of the included files (analyze.py) appears truncated in the packaged content (a line 'source_lines = read' and truncated sections). That indicates either a packaging bug or incomplete file — the tool may fail at runtime. Review the scripts locally before using.
- The scripts use os.fork/os.execvp/pty to run the 'sui' CLI and will read source files in the package path. Run the skill in a sandboxed or non-sensitive repository first, and inspect the scripts' code yourself. If you intend to let an agent run this autonomously, restrict its repository access and ensure the 'sui' binary is the expected official binary.
Recommended actions before installing/using:
- Verify the source of this skill (owner is present but homepage/source unknown).
- Inspect the full content of included Python scripts locally; fix or obtain the complete analyze.py if needed.
- Ensure 'sui' on your PATH is the legitimate CLI and run the workflow manually once to confirm behavior.
- If you allow the agent to commit changes, review diffs before pushing to any remote.
If you want, I can list the exact lines that show exec/fork/pty usage and the truncated section to help with your review.
功能分析
Type: OpenClaw Skill
Name: sui-auto-test
Version: 1.0.0
The skill bundle provides tools and instructions for analyzing Sui Move test coverage and performing security audits. The Python scripts (`analyze.py`, `analyze_source.py`, `parse_bytecode.py`, `parse_source.py`) are designed to process local Sui CLI output or execute local `sui` commands. The `SKILL.md` instructions guide the agent through a legitimate workflow, including running local `sui` commands and the provided Python scripts. There is no evidence of data exfiltration, malicious execution, persistence, obfuscation, or prompt injection attempts against the agent to perform actions outside the stated purpose. All observed behaviors are aligned with the skill's stated goal.
能力评估
Purpose & Capability
The skill's stated purpose is coverage analysis and auto-improving tests. The included Python scripts (parse/analyze) align with analyzing coverage and producing suggestions, but the SKILL.md language ('write missing tests' / 'auto-improve') overstates automation: the code parses coverage and generates suggestions/reports but does not actually generate or apply test files. Also the runtime expects the 'sui' CLI to be present and executed, but the registry metadata declared no required binaries — that mismatch is unexplained.
Instruction Scope
Instructions direct the agent (or user) to run `sui move test --coverage --trace` and to run the bundled Python scripts on coverage output and the repository source. That scope is appropriate for a coverage tool, but the SKILL.md also instructs committing changes (git add/commit). The scripts read repository source files and may execute an external binary ('sui') via fork/exec; they do not access unrelated system paths or external endpoints. Be aware the agent will read and may modify local repo files if you follow the commit step.
Install Mechanism
No install spec is provided (instruction-only with bundled scripts), so nothing is downloaded at install time. This minimizes supply-chain risk. However, running the skill executes the user's local 'sui' binary (via PTY/fork/exec), which is an external dependency not declared in metadata.
Credentials
The skill requests no environment variables or credentials. The scripts operate on local files and stdin/stdout. That is proportionate to the stated purpose. Note: running git commit may require the user's git identity/credentials but the skill does not request or handle secrets itself.
Persistence & Privilege
always is false and the skill does not request persistent or elevated platform privileges. It does suggest committing changes to the repository, but it does not modify other skills or system-wide configs.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install sui-auto-test - 安装完成后,直接呼叫该 Skill 的名称或使用
/sui-auto-test触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: Auto-analyze coverage, generate missing tests, and security audit for Sui Move contracts
元数据
常见问题
Sui Auto Test 是什么?
Analyze Sui Move test coverage, identify untested code, write missing tests, and perform security audits. Includes Python tools for parsing coverage output and generating reports. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1229 次。
如何安装 Sui Auto Test?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install sui-auto-test」即可一键安装,无需额外配置。
Sui Auto Test 是免费的吗?
是的,Sui Auto Test 完全免费(开源免费),可自由下载、安装和使用。
Sui Auto Test 支持哪些平台?
Sui Auto Test 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Sui Auto Test?
由 Eason Chen(@easonc13)开发并维护,当前版本 v1.0.0。
推荐 Skills