Agent skill · Testing & QA

test-case-generator

Generate comprehensive test cases including edge cases, stress tests, and counter-examples for algorithm correctness verification. Supports random generation, constraint-based generation, and brute force oracle comparison.

a5c-aigithub.com/a5c-aiGitHub ↗
claude-codecodexcan modify filesMIT
Install
npx skills add a5c-ai/babysitter --skill test-case-generator --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 9 KB
Bundled scripts: none
Version: 1.0
Declared author: babysitter-sdk
Allowed tools: BashReadWriteGrepGlob
Path: library/specializations/algorithms-optimization/skills/test-case-generator/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 1,642
Language: JavaScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# test-case-generator A specialized skill for generating comprehensive test cases for algorithm verification, including edge cases, stress tests, random inputs, and counter-example finding through brute force oracle comparison. ## Purpose Generate test cases for: - Correctness verification against problem constraints - Edge case identification and testing - Stress testing with large inputs - Counter-example finding for wrong solutions - Brute force oracle generation for validation ## Capabilities ### Core Features 1. **Random Test Generation** - Generate inputs within specified constraints - Support for various data types (arrays, trees, graphs, strings) - Configurable distributions (uniform, normal, edge-biased) - Reproducible tests with seed values 2. **Edge Case Generation** - Minimum/maximum constraint values - Empty inputs, single elements - Sorted/reverse sorted sequences - All same elements, alternating patterns - Boundary conditions 3. **Stress Testing** - Maximum constraint inputs - Time limit verification - Memory limit testing - Performance regression detection 4. **Counter-Example Finding** - Compare against brute force oracle - Binary search on input size for minimal f

What's inside
Steps it walks through
  1. Purpose
  2. Capabilities
  3. Core Features
  4. Integration Options
  5. CLI Tools
  6. testlib.h (Codeforces Standard)
  7. Usage
  8. Generate Random Test Cases
  9. Generate Edge Cases
  10. Stress Testing
  11. Find Minimal Counter-Example
  12. Output Schema
  13. Generator Templates
  14. Array Generator
Ships with 1 file
  • README.md
Commands it runs
npm install -g quicktest-cli
Compare against brute force
qt cmp --solution solution.cpp --brute brute.cpp --gen gen.cpp
Stress test for TLE
qt stress --solution solution.cpp --gen gen.cpp --time-limit 1000
git clone https://github.com/7oSkaaa/Stress_Testing
Generate array test cases
test-case-generator array \
Generate graph test cases
test-case-generator graph \
More from babysitter
All skills →
About this skill
What does the test-case-generator skill do?

Generate comprehensive test cases including edge cases, stress tests, and counter-examples for algorithm correctness verification. Supports random generation, constraint-based generation, and brute force oracle comparison.

How do I install it?

Run `npx skills add a5c-ai/babysitter --skill test-case-generator --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From a5c-ai/babysitter, a repository with 1,642 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going