AgentSkillsCN

Unit Tests

为 CLI 库和生成的代码运行单元测试。当用户要求“运行单元测试”或“测试库”时,可使用此功能。

SKILL.md
--- frontmatter
description: Run unit tests for the CLI library and generated code. Use when asked to "run unit tests" or "test library".

Run the unit test script:

bash
bash .claude/skills/unit-tests/scripts/run-unit.sh

Runs library tests and generated code tests. Report pass/fail results to the user.