---
name: Codex Test Gen
slug: codex-test-gen-2
category: Quality
description: Codex Test Gen routes to the test-review workflow to generate new unit tests for specified functions. Use it when you need tests written from existing code, not coverage review or integration tests.
github: "https://github.com/sd0xdev/sd0x-harness/tree/main/skills/codex-test-gen"
language: JavaScript
stars: 188
forks: 24
install: "npx degit https://github.com/sd0xdev/sd0x-harness/tree/main/skills/codex-test-gen ~/.claude/skills/codex-test-gen"
installs_to: ~/.claude/skills/codex-test-gen
source_path: skills/codex-test-gen/SKILL.md
collection_size: 25
category_size: 1745
collection_url: "https://dirskills.com/collections/sd0xdev/sd0x-harness"
added: 2026-09-06T05:20:15.289Z
last_synced: 2026-09-06T05:20:15.289Z
canonical_url: "https://dirskills.com/skills/codex-test-gen-2"
---

# Codex Test Gen

Codex Test Gen routes to the test-review workflow to generate new unit tests for specified functions. Use it when you need tests written from existing code, not coverage review or integration tests.

**Install:**

```bash
npx degit https://github.com/sd0xdev/sd0x-harness/tree/main/skills/codex-test-gen ~/.claude/skills/codex-test-gen
```

## README

# Codex Test Gen

Thin entry-point skill — routes to the parent skill for full workflow.

## Parent Skill

This skill delegates to `test-review` for the underlying transport. As a thin entry point it dispatches nothing itself, so it holds no transport grant. The generation-specific prompt template is at `@skills/test-review/references/codex-prompt-test-gen.md`.

See `@skills/test-review/SKILL.md`

## Variant

This is the **Generation** variant — creates new unit tests for specified functions.

## Trigger

- Keywords: generate tests, write tests, create tests, codex-test-gen

## When NOT to Use

- Reviewing existing test coverage (use `/codex-test-review`)
- Code review (use `/codex-review-fast`)
- Writing integration/e2e tests (use `/post-dev-test`)
