Skip to content
cccskills
FreePublished on 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.

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md835 B

SKILL.md (original)

Review the instructions the agent will receive before you install.

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.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

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

The English summary is being prepared. Showing the original description.

proflead/codex-skills-library160Updated Jul 29, 2026

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

The English summary is being prepared. Showing the original description.

proflead/codex-skills-library160Updated Jul 29, 2026

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

The English summary is being prepared. Showing the original description.

proflead/codex-skills-library160Updated Jul 29, 2026

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

The English summary is being prepared. Showing the original description.

proflead/codex-skills-library160Updated Jul 29, 2026

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

The English summary is being prepared. Showing the original description.

proflead/codex-skills-library160Updated Jul 29, 2026

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.

The English summary is being prepared. Showing the original description.

proflead/codex-skills-library160Updated Jul 29, 2026

See all skills by proflead

Report a problem with this skill