Skip to content
Back to skills

Test Generation

ASecurity

Use when generating tests for new or existing code to improve coverage - provides a structured workflow for analyzing code, creating tests, and validating coverage goals.

  • 37 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added February 7, 2026
testinggo

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add NickCrew/claude-cortex --skill test-generation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Test Generation?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Test Generation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nickcrew-test-generation/badge)](https://www.skillsdirectory.com/skills/nickcrew-test-generation)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: test-generation
description: Use when generating tests for new or existing code to improve coverage - provides a structured workflow for analyzing code, creating tests, and validating coverage goals.
---

# Test Generation

## Overview
Generate tests systematically by analyzing code paths, covering edge cases, and validating coverage targets.

## When to Use
- Creating tests for new features
- Improving coverage in weak areas
- Building regression or integration test suites

Avoid when:
- The task is only running existing tests (use dev-workflows)

## Quick Reference

| Task | Load reference |
| --- | --- |
| Test generation workflow | `skills/test-generation/references/generate-tests.md` |

## Workflow
1. Identify target scope and test type.
2. Load the test generation reference.
3. Analyze code paths and edge cases.
4. Generate tests and validate coverage.
5. Summarize results and gaps.

## Output
- Generated tests
- Coverage report and follow-ups

## Common Mistakes
- Writing tests without understanding code paths
- Ignoring edge cases or failure modes

Files in this skill

  • SKILL.md1.1 KB
  • references/generate-tests.md3.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…