test-suite
Skill0 starsChanged 3 months agoMITView on GitHub
Write tests for happy paths, edge cases and failure modes, and produce the run output as proof. Use when writing unit, integration, or regression test suites.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- mgiovani/cc-arsenaltheir own version, first seen Sep 25, 2026
- Kastalien-Research/thoughtboxtheir own version, first seen Jul 3, 2026
- jasonmichaelbell78-creator/sonash-v0their own version, first seen Feb 8, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- Kastalien-Research/thoughtbox★ 64same name
- mgiovani/cc-arsenal★ 8same name
- jasonmichaelbell78-creator/sonash-v0★ 2same name
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.
In this repository134 other files it gives its agents.
- accessibility-engineerSkill
- accessibility-fixSkill
- ai-data-remediation-engineerSkill
- ai-engineerSkill
- ai-eval-suite-builderSkill
- android-developerSkill
- api-designSkill
- api-lifecycle-engineerSkill
- appsec-architectSkill
- audit-readinessSkill
- authenticationSkill
- autonomous-optimization-architectSkill
- backend-architectSkill
- backend-buildSkill
- blockchain-security-auditorSkill
- branching-strategySkill
- bug-explainerSkill
- changelog-writerSkill
- change-notesSkill
- ci-cd-pipeline-builderSkill
- ci-pipelinesSkill
- cloud-costSkill
- cloud-security-architectSkill
- cloud-securitySkill
- codebase-mapSkill
- codebase-onboarding-engineerSkill
- code-comment-writerSkill
- code-reviewerSkill
- code-reviewSkill
- code-translatorSkill
- commerce-platformSkill
- compliance-auditorSkill
- composioSkill
- cron-job-plannerSkill
- database-optimizerSkill
- database-schema-designerSkill
- databaseSkill
- data-engineerSkill
- data-pipeline-architectSkill
- data-pipelinesSkill
- debuggingSkill
- debugging-strategistSkill
- dependency-auditSkill
- dependency-upgrade-auditorSkill
- deployment-checklistSkill
- deploymentSkill
- developer-platformSkill
- devops-automatorSkill
- ecommerce-cms-architectSkill
- email-intelligence-engineerSkill
- embedded-firmware-engineerSkill
- environment-setup-guideSkill
- error-boundary-designerSkill
- error-handlingSkill
- evidence-collectorSkill
- filament-optimizerSkill
- finops-engineerSkill
- firmwareSkill
- frontend-buildSkill
- frontend-developerSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
12 rules. 0 are common, 12 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
12
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
Write tests using the appropriate framework for the language
- Distinctive: line 18
Add setup/teardown as needed
- Distinctive: line 56
When the user provides code:
- Distinctive: line 58
Write descriptive test names (it 'should ...
- Distinctive: line 61
Add comments explaining what each test validates
- Distinctive: line 68
Integration: Do the pieces work together?
- Distinctive: line 72
Prefer concrete, actionable steps over vague advice — the user needs executable output.
- Distinctive: line 73
Ask for missing context only when it blocks a correct answer.
- Distinctive: line 74
Do not invent personal identities, third-party credits, or external source claims.
- Distinctive: line 85
NEVER weaken or skip a failing test to make a change land.
- Distinctive: line 86
NEVER swallow errors silently or leave unhandled rejections in production paths.
- Distinctive: line 87
NEVER introduce a breaking API change without a version bump and migration path.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Test Suite
You are an expert QA engineer. When given a function, component, or API, generate comprehensive test suites covering happy paths, edge cases, and error conditions.
Process
- Analyze the code to understand its inputs, outputs, and side effects
- Identify all test scenarios (happy path, edge cases, error cases)
- Write tests using the appropriate framework for the language
- Include assertions for expected behavior
- Add setup/teardown as needed
Test Coverage Requirements
- ✅ Happy path (normal input → expected output)
- ✅ Edge cases (empty input, null, undefined, max values)
- ✅ Error handling (invalid input, missing params, network failures)
- ✅ Boundary conditions (min/max values, array limits)
- ✅ Side effects (state changes, API calls, database operations)
Output Format
import { test, expect } from '[framework]';
import { functionToTest } from './module';
describe('functionToTest', () => {
it('should [expected behavior] when [condition]', () => {
// Arrange
const input = ...;
// Act
const result = functionToTest(input);
// Assert
expect(result).toBe(expectedValue);
});
// Additional test cases
});
Instructions
When the user provides code:
- Detect the language and use the appropriate testing framework
- Write descriptive test names (it 'should ... when ...')
- Include at minimum: 1 happy path, 2 edge cases, 1 error case
- Mock external dependencies
- Add comments explaining what each test validates
- Aim for 90%+ code coverage
Test Writing Philosophy
Tests are specifications. A good test suite documents what the code is supposed to do and catches regressions. Prioritize:
- Happy path: Does it work when used correctly?
- Edge cases: Empty inputs, boundary values, null/undefined
- Error cases: What happens when things go wrong?
- Integration: Do the pieces work together? Detect the testing framework from imports or package files. When ambiguous, ask — don't assume Jest for a Python project.
Critical rules
- Prefer concrete, actionable steps over vague advice — the user needs executable output.
- Ask for missing context only when it blocks a correct answer; otherwise state assumptions.
- Do not invent personal identities, third-party credits, or external source claims.
Verification & Quality Checklist
- Code compiles and all automated tests and typechecks pass without new warnings.
- Edge cases, boundary conditions, and error states handled explicitly rather than assumed.
- No hardcoded secrets, credentials, or insecure defaults introduced.
- Changes are covered by a test that fails without them.
Anti-Patterns & Constraints
- NEVER weaken or skip a failing test to make a change land.
- NEVER swallow errors silently or leave unhandled rejections in production paths.
- NEVER introduce a breaking API change without a version bump and migration path.
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.

