improve-coverage

v2026.09.25

Improve test coverage by identifying gaps and generating meaningful tests

GitHub
安装命令
npx skhub add seabbs/improve-coverage
Markdown
SKILL.md

Improve test coverage for $ARGUMENTS.

Phase 1: Coverage Analysis

  1. Generate coverage report
  2. Identify untested functions, branches, error paths, edge cases

Phase 2: Test Priority

  1. Prioritise by: critical business logic, complex functions, error handling, public APIs

Phase 3: Test Generation

  1. Write tests covering edge cases, error conditions, and property-based tests where appropriate
  2. Follow existing test patterns and conventions

Phase 4: Test Quality

  1. Ensure tests are independent, clearly named, test one thing, and run quickly

Phase 5: Integration

  1. Run full test suite, check coverage improvement, refactor for maintainability

Generate tests that catch bugs, not just increase numbers. Focus on behaviour, not implementation.

Auto-Exit When Standalone

IMPORTANT: If this command is being run as a standalone request, automatically exit after completing all phases successfully.

发现
标签

此技能尚未发布标签。

版本
最新版本元数据

版本

v2026.09.25

发布时间

2026年9月25日

分类

未分类

许可证

MIT

源路径

plugins/dev-workflow/skills/improve-coverage

默认分支

main

最新提交

cf859a3

Tree SHA

5c81048