test-suite-auditor
Skill1 starsChanged 19 days agoMITView on GitHub
Audits unit, integration, and E2E test suites in Phase 7 using a mutation-testing mindset to reject shallow happy-path-only tests and enforce meaningful edge-case and failure-path coverage.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- PierreAndreis/pierre-skillstheir own version, first seen Aug 27, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- PierreAndreis/pierre-skills★ 1same 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 repository40 other files it gives its agents.
- AGENTS.mdAGENTS.md
- platform-cliSkill
- platform-desktopSkill
- platform-mobileSkill
- platform-pluginSkill
- platform-webSkill
- agentic-security-guardSkill
- architecture-guardSkill
- artifact-analyzerSkill
- boundary-guardSkill
- code-quality-gateSkill
- cognitive-load-auditorSkill
- context-groundingSkill
- copy-auditSkill
- cost-estimatorSkill
- dast-scannerSkill
- database-architectSkill
- design-auditSkill
- design-system-generatorSkill
- design-system-integratorSkill
- environment-preflightSkill
- evidence-gated-blockingSkill
- human-in-the-loopSkill
- lessons-learnedSkill
- mcp-discoverySkill
- meta-judgeSkill
- ponytail-wrapperSkill
- prd-generatorSkill
- prompt-historySkill
- sast-scannerSkill
- sca-secret-scannerSkill
- security-context-managerSkill
- security-gateSkill
- security-hardeningSkill
- snapshot-rollbackSkill
- stack-advisorSkill
- task-breakdownSkill
- tech-spec-writerSkill
- ui-interaction-authoritySkill
- viewport-qaSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 15
Read all unit, integration, and E2E test files created or updated during Phase 6 and compare them against docs/project/PRD.md EARS …
- Very specific: line 25
If the test suite is judged shallow, relies on fake coverage, or omits edge/failure cases for any REQ-XXX, REJECT the Phase 7 audit and …
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Test Suite Auditor
Trigger
Mandatory during Phase 7 (Audit), alongside code-quality-gate and security-hardening.
Process
- Inspect Phase 6 Tests:
- Read all unit, integration, and E2E test files created or updated during Phase 6 and compare them against
docs/project/PRD.mdEARS Acceptance Criteria anddocs/specs/*.md.
- Read all unit, integration, and E2E test files created or updated during Phase 6 and compare them against
- Apply Mutation-Testing Mindset:
- For each critical module, handler, or UI workflow, ask: "If I intentionally break the core logic, will this test catch it?"
- Reject weak assertions (such as testing only
toBeDefined(), tautological mocks, mocked-out units under test, or snapshot-only assertions where behavioral state changes should be verified).
- Verify Edge-Case & Failure-Path Coverage:
- Confirm tests explicitly exercise failure modes and boundary conditions, not only the "happy path":
- Empty, null, malformed, or boundary inputs (schema validation rejection).
- Network failures, timeouts, database errors, or missing resources.
- Unauthorized/unauthenticated access and cross-tenant/IDOR attempts where auth applies.
- Confirm tests explicitly exercise failure modes and boundary conditions, not only the "happy path":
- Enforce Reject-and-Fix Loop:
- If the test suite is judged shallow, relies on fake coverage, or omits edge/failure cases for any
REQ-XXX, REJECT the Phase 7 audit and return to Phase 6 with a concrete list of missing tests to implement before re-auditing.
- If the test suite is judged shallow, relies on fake coverage, or omits edge/failure cases for any
Output Contract
A Phase 7 test audit verdict listing verified behavioral/edge-case tests per requirement and either an explicit PASS or a REJECT list requiring additional tests in Phase 6.
Checklist
- Core logic assertions survive a mutation-testing review ("if core logic breaks, test fails")
- Empty/invalid input edge cases covered
- Network, timeout, or runtime failure paths covered
- Unauthorized access / permission edge cases covered where applicable
- Shallow or happy-path-only suites rejected back to Phase 6
Prohibitions
- Approving a test suite that only exercises happy paths or mocks away the logic being tested.
- Passing Phase 7 with skipped (
test.skip/it.skip) or empty test cases.
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.

