← Back to Skills Marketplace
liyifm

Skill Test Generate

by uv0xab · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
106
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install skill-test-generate
Description
为任意 Agent Skill 自动生成 SFT 级别的功能测试用例,JSON 格式结构化输出。适用于生成测试用例、测试Skill、SFT测试、功能验证、技能测试、测试生成等场景。
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install skill-test-generate
  3. After installation, invoke the skill by name or use /skill-test-generate
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug skill-test-generate
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Skill Test Generate?

为任意 Agent Skill 自动生成 SFT 级别的功能测试用例,JSON 格式结构化输出。适用于生成测试用例、测试Skill、SFT测试、功能验证、技能测试、测试生成等场景。 It is an AI Agent Skill for Claude Code / OpenClaw, with 106 downloads so far.

How do I install Skill Test Generate?

Run "/install skill-test-generate" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Skill Test Generate free?

Yes, Skill Test Generate is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Skill Test Generate support?

Skill Test Generate is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Skill Test Generate?

It is built and maintained by uv0xab (@liyifm); the current version is v1.0.0.

💬 Comments