Unit Test Expand — Testing skill for Claude Code
Increase test coverage by targeting untested branches and edge cases.
How to install Unit Test Expand
Installs to ~/.claude/skills/chiefguti-claude-load-unit-test-expand/SKILL.md
mkdir -p ~/.claude/skills/chiefguti-claude-load-unit-test-expand && curl -fsSL https://raw.githubusercontent.com/ChiefGuti/claude-load/HEAD/commands/unit-test-expand.md -o ~/.claude/skills/chiefguti-claude-load-unit-test-expand/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Unit Test Expand does
name: Expand Unit Tests description: Increase test coverage by targeting untested branches and edge cases tags: testing, coverage, unit-tests
Expand Unit Tests
Expand existing unit tests adapted to project's testing framework:
- Analyze coverage: Run coverage report to identify untested branches, edge cases, and low-coverage areas
- Identify gaps: Review code for logical branches, error paths, boundary conditions, null/empty inputs
- Write tests using project's framew
Alternatives in Testing
- Test TDD — Run when user calls /test-tdd 957 ★
- Test After Change Diagnostics.V1 — If any program code changes, run unit-tests and follow up on the test-result (fix code if there is an error) 272 ★
- Run YAML Test — Execute YAML Test Cases 185 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Generate Tests
Generate comprehensive test suite with unit, integration, and edge case coverage
Six
Use this skill to run test coverage analysis and write tests for uncovered code. Run it when asked to improve
Canary Edge Cases
Surface edge cases worth testing for a feature, function, or existing test suite.
Canary Test Pipeline
Run the full test intelligence pipeline — assess critical areas, discover edge cases, trace failure impact, ge
Adversarial Test
Post-build adversarial review — a fresh agent stress-tests recent changes for bugs, regressions, conflicts, an
Test Gen
Generate comprehensive tests for a specified file with edge cases and error scenarios
Related Agents
Test Gap Analyzer
Find untested code paths in changed files - missing test cases, uncovered edge cases, and integration gaps. De
Lens QA
QA lens of the production readiness audit. Judges what is untested and what that costs - critical-path coverag
Backend Tester
Use for independent, adversarial test coverage of Python backend code after implementation — writes and runs p