Fixture — 测试数据生成与管理
v1.0.0通过CLI模板生成和管理测试数据fixtures,适用于创建种子数据、模拟记录或可复现的测试数据集。
0· 128·0 当前·0 累计
安全扫描
OpenClaw
安全
high confidence该技能的代码、指令和资源需求与本地测试数据生成器一致,仅读写 ~/.fixture 和用户指定文件,不请求凭据或尝试网络/外部访问。
评估建议
该工具仅运行于本地,与其描述一致,但注意它将创建和覆盖 $HOME/.fixture/data.jsonl 和 templates.json下的文件。仅加载/导入可信文件(避免将敏感系统文件作为 --file 参数传递),确保Python 3.8+可用。如果需要更严格的隔离,请在沙盒环境中运行脚本或在使用前将DATA_DIR修改为专用路径。详细分析 ▾
✓ 用途与能力
Name/description (fixture generator) match the included shell+Python implementation. Required resources (Python, bash, write access to ~/.fixture) are appropriate and necessary for the stated functionality.
✓ 指令范围
SKILL.md instructs only local operations (create, load, seed, dump, list, reset, template, validate, export, import). The script reads/writes the declared ~/.fixture files and any user-supplied input/output paths; it does not access unrelated system configuration or environment variables.
✓ 安装机制
No install spec; the skill ships a single script (scripts/script.sh) invoked by bash which embeds Python snippets. No downloads or archive extraction are performed.
✓ 凭证需求
No environment variables, credentials, or external tokens are required. The script uses a few internally exported env vars for subprocess communication (e.g., FIXTURE_DATA_FILE) which is standard and local-only.
✓ 持久化与权限
Skill does not require always:true and does not modify other skills or global agent configuration. It persists only to $HOME/.fixture as documented.
安全有层次,运行前请审查代码。
运行时依赖
无特殊依赖
版本
latestv1.0.02026/3/19
发布 v1.0.0
● 无害
安装命令 点击复制
官方npx clawhub@latest install fixture
镜像加速npx clawhub@latest install fixture --registry https://cn.clawhub-mirror.com
技能文档
简介
通过CLI模板生成和管理测试数据fixtures,适用于创建种子数据、模拟记录或可复现的测试数据集。使用方法
...(注意:原文中未提供完整的SKILL.md内容,因此此处无法完全翻译,如果提供完整内容,可以进一步补充)数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制
免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制