← 返回 Skills 市场
106
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install skill-test-generate
功能描述
为任意 Agent Skill 自动生成 SFT 级别的功能测试用例,JSON 格式结构化输出。适用于生成测试用例、测试Skill、SFT测试、功能验证、技能测试、测试生成等场景。
安全使用建议
This skill appears coherent and implements what it claims: it inspects a target Skill's files and generates structured SFT testcases. Before running it, pick the target carefully — the tool will read all files under the target (including scripts and docs) and will extract any provided zip to a temp directory. Do not point it at directories containing secrets or credentials. Verify the generated JSON and the validate output locally before sharing it. Note the source is 'unknown' — if you require provenance, prefer skills from known authors or inspect generate.py yourself (it is included and readable) to confirm behavior.
功能分析
Type: OpenClaw Skill
Name: skill-test-generate
Version: 1.0.0
The skill-test-generate bundle is a legitimate utility designed to help AI agents generate functional test cases for other OpenClaw skills. It includes a Python helper script (scripts/generate.py) that performs path resolution, zip extraction to temporary directories, and schema validation, while the SKILL.md provides clear, task-aligned instructions for the agent. No evidence of malicious intent, data exfiltration, or unauthorized persistence was found; the script's file system operations are consistent with its stated purpose of analyzing skill source code.
能力评估
Purpose & Capability
Name/description (generate structured SFT testcases) align with the included scripts and SKILL.md: the package provides a helper script (prepare/validate) and detailed runtime instructions for inspecting a target Skill and producing JSON test cases. Required capabilities (reading skill files, extracting zip) are appropriate for this purpose.
Instruction Scope
SKILL.md explicitly instructs the agent to read all files in the target Skill (SKILL.md, scripts/, references/) and to run the provided prepare/validate utilities. Reading all files is necessary for traceable test generation, but it is broad — the agent will inspect script files and any referenced docs, so users should avoid pointing it at targets containing secrets. The SKILL.md also hardcodes an example path (~/.workbuddy/skills/skill-test-generate/scripts/generate.py) which assumes a typical install location; this is a minor mismatch if the skill is present elsewhere.
Install Mechanism
There is no install spec (instruction-only with helper script included). No external downloads or archive extracts are performed by the skill installer. The included generate.py may extract a user-supplied zip to a temporary directory (expected behavior for preparing a zip-based skill).
Credentials
The skill does not request environment variables, credentials, or config paths. The helper script reads HOME and APPDATA to locate installed skills (benign behavior for 'installed:<name>' resolution). No secrets are required by design.
Persistence & Privilege
always:false and model invocation is allowed (default). The validate workflow is described to auto-generate a summary and add a 'verified' flag to the output JSON — this implies writing/updating the specified JSON file (expected). The script may extract zip archives to a temporary directory and may remove them on error; it does not request permanent system-wide privileges or modify other skills.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install skill-test-generate - 安装完成后,直接呼叫该 Skill 的名称或使用
/skill-test-generate触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
skill-test-generate v1.0.0
- Initial release of an Agent Skill for automatic SFT-level functional test case generation for any compliant Agent Skill.
- Generates structured JSON test cases covering 5 core areas: skill activation/routing, core capabilities, workflow, instruction clarity, and exception/security.
- Utilizes both SKILL.md and all related scripts/references for comprehensive testing scenarios.
- Includes guided steps, edge/boundary case coverage checklists, and precise source referencing for each test case.
- Requires strict validation of generated JSON using included scripts before output is accepted.
元数据
常见问题
Skill Test Generate 是什么?
为任意 Agent Skill 自动生成 SFT 级别的功能测试用例,JSON 格式结构化输出。适用于生成测试用例、测试Skill、SFT测试、功能验证、技能测试、测试生成等场景。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 106 次。
如何安装 Skill Test Generate?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install skill-test-generate」即可一键安装,无需额外配置。
Skill Test Generate 是免费的吗?
是的,Skill Test Generate 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Skill Test Generate 支持哪些平台?
Skill Test Generate 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Skill Test Generate?
由 uv0xab(@liyifm)开发并维护,当前版本 v1.0.0。
推荐 Skills