Test generation

From NickCrew/Claude-Cortex · View interactive version

Test generation is an AI agent skill from the GitHub repository NickCrew/Claude-Cortex. 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.

How to use this skill

Skill file

Test Generation

Overview

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

When to Use

Avoid when:

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

Common Mistakes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.