Unit test starter

From proflead/codex-skills-library · View interactive version

Unit test starter is an AI agent skill from the GitHub repository proflead/codex-skills-library. Generate starter unit tests for a small function or module. Use when a junior developer needs test scaffolding and edge cases.

How to use this skill

Skill file

Unit Test Starter

Purpose

Generate starter unit tests for a small function or module.

Inputs to request

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

Quality bar

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.