e2e-tracer

Installation
SKILL.md

E2E Tracer

Automate a ticket's Demo Path into exactly one lean, deterministic Playwright tracer-bullet test.

The tdd skill tests business logic and combinatorial edge cases inside deep modules against fast in-memory doubles (20ms to 100ms). But in modern full-stack applications, unit tests cannot detect fractures across the vertical wiring layer: browser, auth cookies, server actions or tRPC routers, serialization boundaries, and real database persistence.

e2e-tracer bridges this gap with the "90% Seam TDD + 10% Tracer-Bullet E2E" model. It converts the text Demo Path of a ticket into an automated regression guard without slowing down the development loop.

The Blind Spots of Seam TDD

A ticket with 100% green unit tests can still fail completely in the browser due to four categories of wiring defects:

  1. Serialization Boundary Failures: Deep modules passing rich JavaScript instances (Date, Decimal, BigInt, Map, Set) work in memory, but throw runtime errors when crossing Server/Client Component boundaries or JSON/SuperJSON network payloads.
  2. UI Wiring and Cache Invalidation: Backend mutations succeed, but React Query or SWR caches fail to invalidate, dialog forms pass inverted props that disable submission buttons, or client-side validation schemas reject valid payloads before the network call.
  3. Middleware, Auth, and Routing: Deep modules know nothing about middleware.ts, CORS headers, session cookies, or redirect loops.
  4. Demo Path Regression Over Time: Manual verification of a demo path during an initial ticket leaves no automated regression guard. Subsequent tickets can break earlier flows undetected.

The Four Iron Rules

Installs
4
First Seen
Nov 14, 2026