OpenParable
Skip to content
← Back to skills

Test Augmentation

Testing & Quality
test-augmentation

Test Augmentation is an Agent Skill for testing & quality published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Validates and improves test coverage for code changes. Checks coverage thresholds, identifies untested code paths, and provides guidance on writing effective tests. Use after making code changes or when improving test quality.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/data/test-augmentation/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/test-augmentation, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Test Augmentation

Generate missing tests to improve code coverage.

When to use this skill

  • After implementing new features
  • When refactoring existing code
  • To identify gaps in test coverage
  • During test quality improvements
  • When asked to "add tests" or "improve coverage"

Skill Contents

Available Resources

references/ - Detailed documentation


Quick Start

  1. Run coverage report for your technology:
    • JavaScript/TypeScript: pnpm run test:coverage
    • Python: pytest --cov=. --cov-report=html
    • Java: ./gradlew jacocoTestReport
    • Go: go test -cover ./...
  2. Review uncovered files and functions
  3. Apply patterns from the references:
    • references/test-patterns.md - General test patterns
    • references/{technology}/test-patterns.md - Technology-specific patterns
  4. Write tests for uncovered code paths
  5. Re-run coverage to verify improvement

Coverage Targets

TypeTarget
Line coverage80%+
Branch coverage70%+
Critical paths100%

Coverage Tools

TechnologyTool
JavaJaCoCo
JavaScript/TypeScriptJest, NYC
Pythoncoverage.py, pytest-cov
Gogo test -cover

References

TechnologyReference
Javareferences/java/test-patterns.md
TypeScriptreferences/typescript/test-patterns.md
Pythonreferences/python/test-patterns.md
Goreferences/go/test-patterns.md

Related Skills

  • quality-gateway - Quality gate orchestration
  • doc-sync - Documentation synchronization
  • java-testing - Java-specific testing (for Java projects)