本文へ移動
cccskills
無料GitHub で公開

unit-test-starter

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

インストール方法を見る

含まれるファイル(1)

  • SKILL.md835 B

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Run a basic accessibility checklist for UI changes. Use when a junior developer needs quick a11y guidance.

日本語の概要は準備中です。原文の説明を表示しています。

proflead/codex-skills-library1562026年7月29日 更新

Validate API changes against an expected contract. Use when a mid-level developer needs to detect breaking changes.

日本語の概要は準備中です。原文の説明を表示しています。

proflead/codex-skills-library1562026年7月29日 更新

Define consistent API error codes and responses. Use when a mid-level developer needs error standardization.

日本語の概要は準備中です。原文の説明を表示しています。

proflead/codex-skills-library1562026年7月29日 更新

Build a basic HTTP request (curl or fetch) for an API. Use when a junior developer needs a quick request example.

日本語の概要は準備中です。原文の説明を表示しています。

proflead/codex-skills-library1562026年7月29日 更新

Review a system architecture for scalability, reliability, and maintainability. Use when a senior developer needs to critique a design.

日本語の概要は準備中です。原文の説明を表示しています。

proflead/codex-skills-library1562026年7月29日 更新

Manage Buffer content via the GraphQL API. Use when creating, scheduling, editing, or deleting posts, saving ideas, reading scheduled queues, or pulling post analytics. Not for general API debugging.

日本語の概要は準備中です。原文の説明を表示しています。

proflead/codex-skills-library1562026年7月29日 更新

proflead のスキルをすべて見る

このスキルの問題を報告する