---
name: Codex Test Gen
slug: codex-test-gen
category: Quality
description: Codex Test Gen generates new unit tests for specified functions using the Codex exec workflow. Use it when you want test cases created, not when reviewing existing coverage or writing 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-dev-flow"
added: 2026-09-06T05:19:59.898Z
last_synced: 2026-09-06T05:19:59.898Z
canonical_url: "https://dirskills.com/skills/codex-test-gen"
---

# Codex Test Gen

Codex Test Gen generates new unit tests for specified functions using the Codex exec workflow. Use it when you want test cases created, not when reviewing existing coverage or writing 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`)
