req-to-testcase

v1.0.0

从需求文档自动生成全面覆盖的测试用例,并支持导出为 XMind 格式。 当用户上传需求文档(Word、PDF、Markdown、TXT)并要求生成测试用例时,必须触发本技能。 触发关键词:上传需求文档、解析需求、生成测试用例、测试用例转 XMind、 需求拆解、需求分析生成测试、全面测试覆盖、导出 XMind、生...

0· 59·0 current·0 all-time
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
medium confidence
Purpose & Capability
Name/description, SKILL.md, and included scripts align: read various document formats, parse requirements, generate multi-type test cases, and produce a .xmind file. The included read_requirement_file.py and xmind_tools2.py implement the advertised functionality and reference only upload/output directories (/mnt/user-data/uploads, /mnt/user-data/outputs). No unrelated credentials, binaries, or external services are requested.
Instruction Scope
Runtime instructions are focused on the task (list uploads, run the reader script, parse text, call XMind generator). However SKILL.md explicitly instructs the agent to trigger immediately whenever a user uploads a document or mentions certain keywords even if the description is incomplete; this grants the skill broad automatic behavior that may process sensitive uploads without further user confirmation. The SKILL.md also instructs using present_files to share outputs (expected for delivering files).
!
Install Mechanism
There is no formal install spec, but both scripts instruct the operator to pip install missing Python packages, using --break-system-packages in error messages. Ad-hoc pip installation at runtime (especially with --break-system-packages) can modify the host environment or be blocked/unsafe on managed systems. No network endpoints or obfuscated downloads are present in the code files themselves, and included files are local, but automatic dependency installation is an operational risk to be considered.
Credentials
The skill requires no environment variables, credentials, or external config paths beyond reading files from /mnt/user-data/uploads and writing outputs to /mnt/user-data/outputs. The scope of filesystem access in the instructions is reasonable for the declared purpose. The scripts do not attempt to read environment variables or other system configuration.
Persistence & Privilege
Skill flags are default (always:false, user-invocable:true, model-invocation allowed). The skill does not request persistent system-wide privileges or attempt to modify other skills. It writes generated files and creates temporary extraction directories while building .xmind files — expected behavior for this functionality.
Assessment
This skill appears to do what it claims: parse uploaded requirement documents, generate structured test cases, and produce an XMind file. Things to consider before installing or enabling it: - Automatic triggering: SKILL.md requires the skill to run whenever a user uploads a document or mentions certain keywords, even if the description is incomplete. If you have sensitive documents that should not be processed automatically, disable auto-triggering or require explicit user confirmation before running. - Dependency installation: The scripts suggest installing Python packages at runtime and include guidance to use pip with --break-system-packages. On shared or managed hosts this can alter the environment or be blocked. Prefer installing dependencies in an isolated environment (virtualenv / container) under controlled conditions rather than allowing the skill to pip-install into the system interpreter. - File handling: The reader processes arbitrary uploaded files. While the code only reads and extracts text, parsing third-party document formats (PDF, DOCX, Excel) relies on third-party libraries that could have vulnerabilities. Run in an isolated environment if uploads could be untrusted. - Review included code: The repository is small and readable; if you require higher assurance, review the two scripts (read_requirement_file.py and xmind_tools2.py) yourself or have them audited. They do not contain network calls or credential exfiltration logic. - Output sharing: The skill uses present_files (platform tool) to share outputs; ensure your sharing policies are enforced and files are stored/cleaned according to your data retention rules. If you are comfortable with the operational notes above (isolate dependency installs, restrict automatic triggers, and vet untrusted uploads), this skill is coherent with its stated purpose.

Like a lobster shell, security has layers — review code before you run it.

latestvk97ceb746zxg9y6fsmj1sz74e184fc7f

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

Comments