testing-patterns

Standardize Jest and Playwright tests with RLS-aware fixtures and Linear evidence templates.

395|84|Updated Oct 5, 2025
One-click install
npx skills add https://github.com/bybren-llc/wtfb-safe-agentic-workflow --skill testing-patterns-bybren-llc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testing-patterns
Source: https://github.com/bybren-llc/wtfb-safe-agentic-workflow/tree/main/.claude/skills/testing-patterns
Command: npx skills add https://github.com/bybren-llc/wtfb-safe-agentic-workflow --skill testing-patterns-bybren-llc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Testing patterns for Jest and Playwright. Use when writing tests, setting up test fixtures, or validating RLS enforcement. Routes to existing test conventions and provides evidence templates.

Core Features & Use Cases

  • Testing Directories: unit/integration/e2e patterns
  • RLS-Aware Testing: enforce context hooks
  • Evidence Template: for Linear

Quick Start

Run unit tests and attach test results to Linear

Frequently Asked Questions about testing-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up consistent testing patterns for Jest and Playwright?

Testing patterns provide standardized Jest and Playwright configurations with defined directory layouts for unit, integration, and e2e tests. This ensures consistent test organization, fixture setup, and execution across your project without reinventing conventions each time.

How do I write e2e tests with Playwright that enforce RLS?

RLS-aware testing helpers in the patterns enforce Row-Level Security context validation during Playwright e2e tests. These helpers ensure your test scenarios verify RLS policies are correctly applied before tests run against live or staging environments.

Can I use these testing patterns to generate evidence for Linear?

Yes. The Skill includes ready-to-run example tests and Linear evidence templates that let you attach standardized test results and findings directly to Linear tickets, bridging your Jest and Playwright runs with QA documentation.

What's included in the test fixture configuration?

The patterns reference both Jest and Playwright fixture configurations, showing how to structure setup and teardown logic for unit, integration, and e2e test suites so fixtures are reusable and maintainable.

Do I need to restructure my existing tests to use these patterns?

The patterns define a coherent test directory layout and reference existing Jest and Playwright conventions, so adoption is gradual. You can apply them incrementally to new tests or refactor existing suites to match the standardized structure.

What testing scenarios do these patterns cover?

Testing patterns cover unit tests, integration tests, e2e tests with Playwright, fixture configuration, RLS enforcement validation, and evidence template generation for Linear—addressing the full QA workflow from local development through stakeholder reporting.