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.

ソース情報

リポジトリ
proflead/codex-skills-library
ソースの最終更新活動
2026年1月12日 16:12
検出された SKILL.md の言語
英語
スター
154
フォーク
34

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。

SKILL.md を表示中

SKILL.md
ソースの指示 · 読み取り専用プレビュー
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.
GitHubで見る