testing-preferred-patterns
CommunityFix flaky, brittle tests with behavior-first rigor
Software Engineering#testing#quality assurance#flaky tests#test reliability#behavior-driven testing#brittle tests#over-mocking
Authornotque
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill reduces test flakiness and brittleness by finding testing mistakes like flaky timing, order dependence, over-mocking, and incomplete assertions so your suite produces trustworthy evidence instead of false confidence.
Core Features & Use Cases
- Detects test quality failures: scans test code and classifies issues such as implementation-detail assertions, brittle selectors, skipped/ignored failures, incomplete assertions, and slow or flaky execution patterns.
- Prioritizes the highest-impact defects: ranks findings with HIGH for flaky and order-dependent tests, then guides fixes one pattern at a time to preserve intent.
- Guides evidence-based verification: recommends fixing tests to assert observable behavior and rerunning suites to confirm deterministic results.
- Use Case: A Go or JS/TS project has CI failures that are hard to reproduce locally; use this Skill to identify root quality smells (e.g., time.Sleep-based waits, over-mocked setups, or skipped tests) and turn them into deterministic, behavior-focused tests.
Quick Start
Use the testing-preferred-patterns skill to audit the target failing test file for flaky, brittle, and skipped test patterns, then apply one targeted pattern fix and rerun the suite until everything passes.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: testing-preferred-patterns Download link: https://github.com/notque/vexjoy-agent/archive/main.zip#testing-preferred-patterns Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.