← 返回 Skills 市场
195
总下载
1
收藏
0
当前安装
6
版本数
在 OpenClaw 中安装
/install testcase-creator
功能描述
本技能从需求文档生成全面的测试用例文档。当用户需要从需求文档、产品规格说明或描述系统功能的文档创建测试用例时使用此技能。默认生成Markdown格式的测试用例文档;当用户明确要求生成"思维导图格式"或"xmind格式"时,会额外生成XMind思维导图文件。
安全使用建议
This skill looks internally consistent and the bundled scripts are readable and relevant. Before using it: (1) be mindful when supplying URLs to private documents — the skill's instructions suggest attempting to 'read' those URLs and possibly invoking other skills to fetch them, which may require credentials or expose document content; ensure you grant access only to trusted endpoints. (2) The converter writes temporary files under /tmp and saves outputs to whichever output directory you provide—verify output path permissions and that generated files don't contain sensitive secrets. (3) If you plan to let the agent autonomously fetch documents from collaboration platforms, confirm how authentication will be handled and prefer giving the document text directly when possible.
功能分析
Type: OpenClaw Skill
Name: testcase-creator
Version: 1.0.1
The testcase-creator skill bundle is a legitimate tool designed to automate the generation of test cases from requirement documents. It includes Python scripts (generate_filename.py and md_to_xmind.py) that perform standard file path generation and Markdown-to-XMind conversion using safe libraries like json, zipfile, and re. The instructions in SKILL.md and the reference documents (analysis_guide.md, quality_standard.md, etc.) are focused entirely on improving the quality and structure of the generated test cases. There are no indicators of data exfiltration, unauthorized command execution, or malicious prompt injection intended to subvert the agent's behavior for harmful purposes.
能力评估
Purpose & Capability
Name/description match the behavior: the skill generates Markdown test-case documents and optionally converts them to XMind. The included helper scripts (filename generator and md->xmind converter) are directly relevant and proportionate.
Instruction Scope
SKILL.md instructs the agent to deeply analyze input requirement documents and to always read the four included reference files before other steps — this is expected for formatting/quality enforcement. It also says that if a requirement is provided as a URL (e.g., Feishu doc), the agent should try to read it directly and, if not possible, attempt to use other skills to download it. That could lead to network access or invocation of other skills to fetch protected documents; the skill itself does not include explicit network code or credential usage.
Install Mechanism
Instruction-only install (no installation spec). Two small, readable Python scripts are included; there are no downloads from external/untrusted URLs or package installs.
Credentials
The skill declares no required environment variables, credentials, or special config paths. The scripts operate on user-provided file paths and /tmp for temporary files only.
Persistence & Privilege
Skill is not force-enabled (always:false) and doesn't request elevated persistence or modify other skills. It generates and preserves output files per its documented filename policy; this is consistent with its purpose.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install testcase-creator - 安装完成后,直接呼叫该 Skill 的名称或使用
/testcase-creator触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
删除指定工具说明
v1.0.0
首次发布
v0.0.4
- 增加了“步骤0:初始化”,要求在执行任何步骤之前,必须依次读取所有参考文档(格式规范、分析方法、质量标准、模块归并指南),并将其作为后续执行依据。
- 强化了参考文档使用流程,确保生成的测试用例严格依赖最新规范和最佳实践。
- 其余内容未作变更,保留原有的需求分析、用例生成和文件转换流程说明。
v0.0.3
general-testcase v0.0.3 changelog:
- 全面重写并细化了技能工作流程与生成标准,补充了实操细节和质量规范。
- 将“质量标准”单列为 references/quality_standard.md,补充详细的案例和实际操作清单。
- 新增 references/module_merge_guide.md,规范功能模块归并流程和判断标准。
- 移除了 references/quality_standards.md(原覆盖标准文档,内容已整合新文档)。
- 对 references/analysis_guide.md、SKILL.md 进行了结构优化与内容详化,明确各执行阶段要点。
- 补充了文件命名、版本管理、用例质量检查清单等具体操作方法和脚本说明。
v0.0.2
### general-testcase v0.0.2
- 增加 references/analysis_guide.md:补充需求分析方法、功能模块归并原则
- 增加 references/quality_standards.md:细化测试覆盖要求、验证项质量标准和检查清单
- SKILL.md 说明中引用并集成新增分析和质量标准文档,细化需求分析步骤和测试用例质量要求
- 明确功能模块归并规则与覆盖类型要求
- 强化验证项生成与质量自查流程指引
v0.0.1
- Initial release of the general-testcase skill.
- Automatically generates comprehensive Markdown test case documents from requirements/PRD documents.
- Optionally generates XMind mind map files when explicitly requested by the user.
- Ensures each generated file has a timestamped filename for clear version management and historical traceability.
- Strictly follows a standardized Markdown test case format for both Markdown and XMind outputs.
- Deeply analyzes requirements, extracting detailed test points and verification items without limiting depth or quantity.
元数据
常见问题
testcase-creator 是什么?
本技能从需求文档生成全面的测试用例文档。当用户需要从需求文档、产品规格说明或描述系统功能的文档创建测试用例时使用此技能。默认生成Markdown格式的测试用例文档;当用户明确要求生成"思维导图格式"或"xmind格式"时,会额外生成XMind思维导图文件。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 195 次。
如何安装 testcase-creator?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install testcase-creator」即可一键安装,无需额外配置。
testcase-creator 是免费的吗?
是的,testcase-creator 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
testcase-creator 支持哪些平台?
testcase-creator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 testcase-creator?
由 dodo(@duyinghua)开发并维护,当前版本 v1.0.1。
推荐 Skills