← 返回 Skills 市场
Zod Testing
作者
Anivar Aravind
· GitHub ↗
· v1.0.1
386
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install zod-testing
功能描述
Testing patterns for Zod schemas using Jest and Vitest. Covers schema correctness testing, mock data generation, error assertion patterns, integration testin...
安全使用建议
This is an authoritative, instruction-only guide for writing Zod schema tests and appears internally consistent. Before you install or follow the examples, remember: (1) the guide recommends third-party dev-dependencies (zod-schema-faker, @anatine/zod-mock, fast-check) — review those packages and your lockfile before adding them to a project; (2) the snippets sometimes reference test-time database checks or handlers — ensure your tests use mocks or test databases so they don't hit production services; (3) because the skill is instruction-only, it won't run code by itself, but following its install commands will pull packages from npm/GitHub — vet those sources as you normally would. If you want extra assurance, check the referenced GitHub repo and the specific versions of suggested packages before adding them to CI or a codebase.
功能分析
Type: OpenClaw Skill
Name: zod-testing
Version: 1.0.1
The skill bundle provides comprehensive and legitimate-looking guidance for testing Zod schemas; however, it includes high-risk code patterns in 'references/api-reference.md'. Specifically, it suggests using 'execSync' to execute shell commands (grep) for architectural linting and 'writeFileSync' for managing schema snapshots. While these capabilities are plausibly related to the stated purpose of structural and drift testing, providing an AI agent with patterns for direct shell execution and file system modification increases the attack surface for potential exploitation or unintended system impact.
能力评估
Purpose & Capability
Name/description focus on Zod schema testing and all declared content (Jest/Vitest patterns, mock generation, property tests) matches that purpose; no unrelated credentials, binaries, or config paths are requested.
Instruction Scope
SKILL.md contains testing patterns and code snippets only. It instructs use of zod, zod-schema-faker, @anatine/zod-mock, fast-check, and test runners; it does not direct the agent to read arbitrary files, access environment secrets, or send data to external endpoints.
Install Mechanism
No install spec is present (instruction-only), so nothing will be automatically downloaded or written to disk by the skill itself. README examples show using npm/npx to add the skill or install dev-dependencies, which is expected for test tooling.
Credentials
The skill declares no required environment variables, credentials, or config paths. Example code references hypothetical db mocks but does not require real DB credentials or service tokens.
Persistence & Privilege
Skill is not always-enabled and is non-agentic; it does not request persistent privileges or modifications to other skills or system-wide settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install zod-testing - 安装完成后,直接呼叫该 Skill 的名称或使用
/zod-testing触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Added source_url linking to GitHub repo
v1.0.0
Initial release — schema testing, mock data, error assertions, Jest/Vitest
元数据
常见问题
Zod Testing 是什么?
Testing patterns for Zod schemas using Jest and Vitest. Covers schema correctness testing, mock data generation, error assertion patterns, integration testin... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 386 次。
如何安装 Zod Testing?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install zod-testing」即可一键安装,无需额外配置。
Zod Testing 是免费的吗?
是的,Zod Testing 完全免费(开源免费),可自由下载、安装和使用。
Zod Testing 支持哪些平台?
Zod Testing 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Zod Testing?
由 Anivar Aravind(@anivar)开发并维护,当前版本 v1.0.1。
推荐 Skills