test-generation
Generate comprehensive test suites for existing code. Use when asked to write tests, add test coverage, create unit tests, or build integration tests.
适合你,如果已有代码需要补充测试覆盖
/ 通过 npx 安装 校验哈希
npx oh-my-skill add agulli/atlas-agents/test-generation/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- agulli/atlas-agents/test-generation/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify agulli/atlas-agents/test-generation安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
457GitHub stars
~497上下文体积 · 单文件
索引托管
怎么用
商店整理自技能原文 · 版本 2b21998 · 表述以原文为准它做什么
装上后,Claude 会读取你的代码,自动生成测试用例,包括正常路径、边界情况和错误处理。它会识别测试框架(pytest、vitest 或 jest),按 AAA 模式编写,并运行测试确保全部通过。
什么时候触发
当你要求为现有代码编写测试、增加测试覆盖率、创建单元测试或集成测试时触发。它会检查项目中的测试配置文件(如 pytest.ini、vitest.config、jest.config)。
装好后可以这样说
Claude 会读取该函数并生成测试
Claude 会分析模块并生成完整测试
Claude 会针对边界值补充测试
评论
登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。
…