Skip to main content

unit-test-starter

Generate starter unit tests for a small function or module. Use when a junior developer needs test scaffolding and edge cases.

Source facts

Repository
proflead/codex-skills-library
Last source activity
January 12, 2026 at 16:12
Detected SKILL.md language
English
Stars
154
Forks
34

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
unit-test-starter
description
Generate starter unit tests for a small function or module. Use when a junior developer needs test scaffolding and edge cases.
# Unit Test Starter ## Purpose Generate starter unit tests for a small function or module. ## Inputs to request - Function signature and expected behavior. - Test framework and language. - Edge cases or error conditions. ## Workflow 1. Identify core behaviors and failure cases from the function signature. 2. Propose table-driven cases with inputs and expected outputs. 3. Highlight one edge case and one negative case. 4. Show how to run the tests. ## Output - Test case list with rationale. - Sample test code snippet for the project test framework. ## Quality bar - Keep tests deterministic and isolated. - Prefer clear assertions over broad snapshots.
View on GitHub