test-master
Skill296 starsChanged 4 months agoMITView on GitHub
Guides test selection, authoring, and quality review at the smallest reliable boundary.
10 other projects use a version of this.
Adopted by
Most recently taken up by
- skalskidaniel/agent-skillstheir own version, first seen Sep 27, 2026
- musaJawad004/herontheir own version, first seen Sep 6, 2026
- mimoccc/my-claude-skillstheir own version, first seen Aug 1, 2026
- Leo-Atienza/atlas-claudetheir own version, first seen Jul 24, 2026
- codeApe-7/ai-agent-workflowGrouptheir own version, first seen Jun 6, 2026
- stepanenkoviktor0110-boop/ai-dev-methodologytheir own version, first seen May 31, 2026
Other versions10 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 10
- Jeffallan/claude-skills★ 12ksame name
- codeApe-7/ai-agent-workflowGroup★ 17same name
- kao273183/qa-claude-skill★ 8same name
- megastep/codex-skills★ 7same name
- Leo-Atienza/atlas-claude★ 4same name
- stepanenkoviktor0110-boop/ai-dev-methodology★ 2same name
- mimoccc/my-claude-skills★ 1same name
- musaJawad004/heron★ 1same name
- skalskidaniel/agent-skills★ 0same name
- usmanmubarak1/ClaudeSkilledAgents★ 0same 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 repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/skill-master/references/agents.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- code-reviewingSkill
- code-writingSkill
- documentation-writingSkill
- infrastructure-setupSkill
- layout-reviewingSkill
- layout-writingSkill
- methodologySkill
- project-initializationSkill
- prompt-masterSkill
- security-auditorSkill
- skill-masterSkill
- user-spec-planningSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 5 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 33
Do not repeat the same risk at several levels for pyramid completeness.
- Distinctive: line 36
When authoring a selected type, apply its conditional guide:
- Distinctive: line 46
Test observable results, state, errors, or required outgoing interactions rather than private implementation shape.
- Distinctive: line 50
Keep tests independent and deterministic with known state.
- Distinctive: line 54
Use clear scenario names and minimal fixtures.
- Very specific: line 59
When meaningful test code changes, run a fresh test-reviewer in full mode after implementation.
“Common” is measured: kept by at least 6 in 10 of the 9 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 Master
Decide What to Protect
Tests protect observable behavior or another explicit contract that must survive change. Trace each selected scenario to the user request, user-spec, or changed project contract.
Freely editable copy, presentation-only markup or styles, constants that merely repeat their source value, and framework behavior normally have no test subject. They become testable when an explicit user, accessibility, legal, safety, protocol, or project requirement makes their presence or semantics invariant. Test that contract at an observable boundary rather than freezing implementation shape or exact wording.
Choose the Smallest Reliable Boundary
Protect each distinct risk once at the smallest boundary that can reproduce it:
| Boundary | Use when the risk depends on |
| Unit | One unit's calculation, decision, validation, transformation, or error behavior |
| Integration | An API, database, filesystem, queue, service contract, or collaborating components |
| E2E | A critical user journey or behavior that needs the real application stack |
| Smoke | Successful startup, initialization, deployment, or minimal system integration |
Do not repeat the same risk at several levels for pyramid completeness. A characterization test may pass before a refactor when its purpose is to prove existing behavior remains unchanged.
When authoring a selected type, apply its conditional guide:
- unit-tests.md — unit structure, dependency boundaries, and mocking;
- integration-tests.md — real component boundaries, fixtures, external services, and cleanup;
- e2e-tests.md — journeys, environment, selectors, and execution;
- smoke-tests.md — minimal startup and infrastructure coverage.
Authoring Rules
- Test observable results, state, errors, or required outgoing interactions rather than private implementation shape.
- Cover the changed happy path, meaningful branches, failure paths, and specified edge cases without duplicating an already protected risk.
- Keep tests independent and deterministic with known state. Replace dependencies only outside the boundary the test is meant to exercise.
- Several mocks are a signal to inspect the boundary, not a defect by count. A test fails when mocks replace the meaningful decision or merely replay configured values.
- Use clear scenario names and minimal fixtures. Run the selected tests and separate unrelated baseline failures from regressions.
Test Review
When meaningful test code changes, run a fresh test-reviewer in full mode after implementation.
For a user-requested review of existing tests, apply
test-quality-review.md — demonstrated coverage gaps,
boundary problems, and ineffective tests.
Reviewer severity follows the concrete regression that can pass undetected, not the category or appearance of the test problem. Naming preferences and optional improvements without concrete impact are not findings.
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.

