Registry / laolaoshiren

laolaoshiren/claude-code-skills-zh/test-generator

依据真实代码契约生成并验证单元测试或集成测试。用于用户要求为函数、类、接口或缺陷补测试、提高覆盖率、生成回归用例或完善测试策略时;先读取现有测试与调用方,不猜测空值、异常或超时行为,不自动安装框架或访问生产依赖。

Agent skill · version 1.0.0 · from laolaoshiren/claude-code-skills-zh

Install

npx yarkr-cli add skill:laolaoshiren/claude-code-skills-zh/test-generator

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:laolaoshiren/claude-code-skills-zh/test-generator
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:laolaoshiren/claude-code-skills-zh/test-generator

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:laolaoshiren/claude-code-skills-zh/test-generator

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.