‹ 首页

generate-tests

@livlign · 收录于 1 周前

Generate unit tests for a .NET service following the coverage-kit conventions. Use when the user asks to 'generate tests', 'backfill tests', 'characterize this service', or 'add tests for' a target after coverage-init has run. Operates in characterization mode (freeze current behavior for existing code) or spec mode (assert intended behavior for new/changed code), enforces the run-capture-fill loop, routes untestable units to the manifest cannot-test log, can fan the backfill out across a user-chosen number of parallel agents for large worklists (asking first, since more agents cost more tokens), and runs a single read-only suite critique before the baseline locks in (auditing cannot-test legitimacy, assertion/C1 depth, and systematic gaps — never the C0/C1 numbers themselves).

适合你,如果需要在 .NET 项目中快速生成遵循约定的单元测试。

/ 通过 npx 安装 校验哈希
npx oh-my-skill add livlign/claude-skills/generate-tests
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- livlign/claude-skills/generate-tests
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify livlign/claude-skills/generate-tests
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
18GitHub stars
~5.6K上下文体积 · 单文件
索引托管

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。