darknecrocities/skillbuilder/testing
Claude Code and agent skill by darknecrocities/skillbuilder
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Test-Driven Development (TDD), Vitest, Jest, Playwright E2E with accessible locators, MSW contract tests, mutation testing, and controlled A/B testing with deterministic hash bucketing and SRM statistical verification.
Install
npx vskill@latest install darknecrocities/skillbuilder/testingSKILL.md
The same SKILL.md was published earlier as darknecrocities/skillbuilder/testing.
Testing Discipline, E2E & A/B Experimentation (/testing)
Philosophy: Test behavior not implementation, ban fragile selectors and sleep timers, and gate every A/B rollout on deterministic hashing, Sample Ratio Mismatch (SRM) checks, and pre-registered guardrails.
1. Progressive Disclosure References
| Resource | Purpose | |
|---|---|---|
| references/playwright-accessible-locators.md | Accessible locator hierarchy (getByRole > getByLabel), web-first assertions, zero waitForTimeout. | |
| references/tdd-and-msw-contracts.md | Red-Green-Refactor cycle, MSW HTTP boundary mocking, ephemeral DB isolation. | |
| references/ab-testing-and-experimentation.md | Experiment contracts (OEC + guardrails), SHA-256/MurmurHash3 bucketing, SRM chi-squared, sequential/CUPED/AI model evals. | |
| scripts/verify_testing_hygiene.py | Audits fragile CSS selectors, arbitrary sleep()/waitForTimeout() timers, and missing assertions. | |
| scripts/verify_ab_experiment.py | Audits Math.random() bucketing / missing guardrails and computes exact SRM + two-proportion z-tests. |
2. The 6 Core Testing & Experimentation Gates
- TDD Red-Green-Refactor: Write failing behavioral/repro tests before modifying production files; target
>= 80%branch coverage. - Accessible E2E Locators: Use
getByRole(),getByLabel(),getByText()—bandiv.cls > buttonDOM selector soup. - Zero Arbitrary Sleeps: Ban
waitForTimeout()andtime.sleep(); rely on auto-retrying web-first assertions (await expect(loc).toBeVisible()). - MSW Transport Interception: Mock external APIs at the HTTP boundary via MSW (
onUnhandledRequest: "error") instead of stubbing private methods. - Deterministic Isolation: Run every test against clean ephemeral fixtures or rolled-back transactions with zero shared global state.
- Controlled A/B Experimentation: Assign variants via deterministic
SHA-256/MurmurHash3(exp:salt:subject)(zeroMath.random()SSR flicker), verify SRM (p >= 0.001) before reading lift, enforce latency/error guardrails, and sunset flags within14days.
3. Verification & Statistical CLIs
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/testing/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/darknecrocities/skillbuilder/testing)