Skip to content
Skillv1.0.0

test-generation

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.

by nickcrew(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from nickcrew/claude-cortex (skills/test-generation/SKILL.md). Install upstream with npx skills add nickcrew/claude-cortex --skill test-generation. Copyright stays with the author.

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

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/nickcrew-claude-cortex-test-generation/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

nickcrew-claude-cortex-test-generation.ocm.jsonjson
{
  "ocm": "1",
  "id": "nickcrew-claude-cortex-test-generation",
  "kind": "skill",
  "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.",
  "publisher": "nickcrew",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "coding"
    ],
    "tags": [
      "skill-md",
      "coverage-target",
      "generate-tests",
      "increase-coverage",
      "regression-tests",
      "test-generation",
      "test-suite",
      "write-tests",
      "skills-sh"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "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."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "skills.sh",
      "repository": "https://github.com/nickcrew/claude-cortex",
      "path": "skills/test-generation/SKILL.md",
      "ref": "HEAD",
      "url": "https://github.com/nickcrew/claude-cortex/blob/HEAD/skills/test-generation/SKILL.md",
      "key": "nickcrew/claude-cortex/skills/test-generation/SKILL.md"
    }
  },
  "instructions": "# Test Generation\n\n## Overview\nGenerate tests systematically by analyzing code paths, covering edge cases, and validating coverage targets.\n\n## When to Use\n- Creating tests for new features\n- Improving coverage in weak areas\n- Building regression or integration test suites\n\nAvoid when:\n- The task is only running existing tests (use dev-workflows)\n\n## Quick Reference\n\n| Task | Load reference |\n| --- | --- |\n| Test generation workflow | `skills/test-generation/references/generate-tests.md` |\n\n## Workflow\n1. Identify target scope and test type.\n2. Load the test generation reference.\n3. Analyze co",
  "cost": {
    "context_tokens": 216
  }
}

Fetch it by URL: GET /api/v1/registry/nickcrew-claude-cortex-test-generation/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.