test-gen
Skill0 starsChanged 6 days agoMITView on GitHub
Generate comprehensive, maintainable tests matching the project's testing framework and conventions. Use when asked to write tests, generate unit or integration tests, or add test coverage for functions, classes, or modules.
18 other projects use a version of this.
Adopted by
Most recently taken up by
- kunchalavikram1427/better-todo-apptheir own version, first seen Nov 22, 2026
- 5uck1ess/devkittheir own version, first seen Nov 15, 2026
- SethGammon/Citadeltheir own version, first seen Nov 4, 2026
- chidekina/aria-superpowerstheir own version, first seen Oct 13, 2026
- allysgrandiose674/Armorytheir own version, first seen Oct 13, 2026
- mayankjain1815-commits/CITADELtheir own version, first seen Oct 13, 2026
Used with
Projects with it also use ascii-diagram, doc-gen and 9 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
SethGammonSkillascii-diagram
Generate perfectly aligned ASCII diagrams — architecture, flow, sequence, box-and-arrow. Uses a programmatic character-grid approach so alignment is guaranteed by math, not token prediction. Includes post-render verification.
Also in 4 projects that use this
botlearn-aiSkilldoc-gen
Also in 6 projects that use this
SethGammonSkillresearch-fleet
Parallel research using Fleet wave mechanics. Spawns multiple scout agents, each investigating a different angle of the same question. Findings are compressed between waves. Produces a unified research brief from multiple independent perspectives.
Also in 3 projects that use this
vicoa-aiSkilllive-preview
Start a local app in the current user project, expose it through a tunnel, and return preview details in structured Markdown. Use when the user asks for a preview URL, public URL, shareable localhost, mobile/web preview, or tunnel setup.
Also in 4 projects that use this
rafeeqineaSkillexperiment
Run, track, and compare ML experiments with structured logging. Follows the scientific method: Hypothesis -> Setup -> Run -> Measure -> Analyse. Use this when: - User says "/experiment" or "run an experiment" - User wants to train a model and track results - User says "try this and see if it works", "compare these hyperparameters" - User wants to run an ablation study - User says "track this experiment", "log these results" - User wants to compare multiple training runs systematically
Also in 4 projects that use this
BerryKuipersSkillscaffold
Detect project stack, apply architecture patterns, wire quality gates, and scaffold features. Use when bootstrapping a project, adding a vertical slice, wiring CI/CD, adding Docker compose, or setting up quality gates.
Also in 5 projects that use this
Other versions18 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 18
- SethGammon/Citadel★ 927same name
- SethGammon/Armory★ 19same name
- 5uck1ess/devkit★ 4same name
- EvildoerXiaoyy/reasonix-skills★ 4same name
- kronus-tech/kronus★ 4same name
- mayankjain1815-commits/CITADEL★ 4same name
- chidekina/aria-superpowers★ 2same name
- liogogogo/claude-code-enhancement★ 2same name
- Pradnyeshp/Claude-Skills★ 2same name
- AllThingsSmitty/proven-skills★ 1same name
8 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
Files
Test Generation
Generate clear, behavior-focused tests that match the repository's existing test framework and conventions.
Workflow
- Analyze — Inspect the target implementation, types, side effects, error paths, and edge cases.
- Detect framework — Check project manifests and existing test files to match runner, assertion style, and file placement.
- List scenarios — Cover happy paths, boundary/edge cases, invalid inputs, and failure modes.
- Write tests — Keep tests deterministic, isolated, and structured using Arrange-Act-Assert.
- Run & verify — Execute the test suite and confirm all new and existing tests pass.
Framework Detection
| Language | Common Frameworks | Indicators |
| JS / TS | Vitest, Jest, Node test runner, Mocha | package.json, vitest.config.*, jest.config.* |
| Python | pytest, unittest | pyproject.toml, pytest.ini, test_*.py |
| Go | testing | *_test.go |
| Ruby | RSpec, Minitest | Gemfile, spec/ |
| Java | JUnit, TestNG | pom.xml, build.gradle |
Scenario Coverage
- Happy path — Representative normal inputs and expected outputs
- Boundaries & edge cases — Empty values, zero, max/min limits,
null/undefined, duplicates - Error paths — Malformed inputs, rejected promises, thrown exceptions, external failures
- Isolation — Mock/stub external I/O (network, clock, filesystem) without over-mocking internal implementation details
Quality Guidelines
- Test behavior, not implementation — Assert observable outputs and state transitions so tests survive refactors.
- Descriptive test names — State the scenario and expected outcome clearly.
- Arrange-Act-Assert — Keep setup, execution, and assertions visually distinct.
- Deterministic — No reliance on wall-clock time, random values, or external network calls.
- Actually run them — Never assume generated tests compile or pass without executing them.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

