Claude Skills · Code Review & Testing

Factory Testing

nonlinear-xyz/factory-kit

Testing conventions across builds. Vitest + Playwright as the locked stack; tests co-located in `__tests__` next to the code they verify; shared test primitives (provider wrappers, mock factories) centralized in `src/lib/test-utils.tsx`; coverage thresholds enforced at the merge gate (CI ownership lives in `factory-ci.md`). Read at project kickoff and whenever you write or review a test.

★ 9 Synced 5 hours ago View SKILL.md

At a glance

Code Review & Testing Plugin install Node.js Actively maintained

This skill is for Code Review & Testing and helps you write unit tests with vitest, set up test coverage thresholds, and create mock factories and test utilities.

Install /plugin marketplace add nonlinear-xyz/factory-kit /plugin install factory-testing
Can use Not declared by the author

Setup, runtime and requirements describe nonlinear-xyz/factory-kit, the repo this skill ships in.

VitestplaywrightJestTest Utilscoverageci

Also in nonlinear-xyz/factory-kit

View the repo

Motion discipline distilled across builds. Attention as a fixed per-viewport budget, figure/ground separation (calm the ground, load motion...

Factory API Legal

API conventions for both server actions and tRPC builds. Covers the decision between them, per-mutation Zod input schemas, central router co...

Use when designing or implementing API endpoints — server actions, tRPC procedures, REST routes for external consumers. Carries the factory'...

Factory Auth DevOps & Infrastructure

Auth and authorization conventions distilled across builds with three different auth stacks (Better Auth + orgs, Supabase Auth + RLS, Clerk)...

Factory Auth Wiring Specialist DevOps & Infrastructure

Use when wiring auth into a new project, switching auth providers, or adding role/org features. Carries the factory's auth conventions — the...

Factory CI DevOps & Infrastructure

CI and pull-request review conventions. One canonical `.github/workflows/ci.yml` is the merge gate (typecheck, lint, test, build, claude-rev...

Factory Close DevOps & Infrastructure

Close out a Linear issue — move to Done, add a closing comment, and clean up the local branch/worktree

Use to review a PR, diff, or recently-written code against the factory's conventions. Read-only — outputs structured review, not diffs. Carr...

Factory Commits DevOps & Infrastructure

Commit message and branch convention — Conventional Commits format with a Linear issue reference required in subject or body. Includes the c...

Factory Data Layer Data & Analytics

Database schema, ORM, and migration conventions across builds. Drizzle as default with domain-partitioned schema modules, shared `timestamps...

Factory Data Pipeline Engineer DevOps & Infrastructure

Use when designing or implementing data ingestion, CSV imports, time-series storage, Python services that sit alongside Next.js, simulation...

Factory Data Pipelines DevOps & Infrastructure

Data ingestion and pipeline conventions for projects that import CSVs, run simulations, or operate Python services alongside Next.js. Covers...

Other Code Review & Testing skills

Migrate To Shoehorn mattpocock/skills

Migrate test files from `as` type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace `as` in tests,...

Grill With Docs mattpocock/skills

A relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.

Triage mattpocock/skills

Move issues and external PRs through a state machine of triage roles — categorise, verify, grill if needed, and write agent-ready briefs.

Scaffold Exercises mattpocock/skills

Create exercise directory structures with sections, problems, solutions, and explainers that pass linting. Use when user wants to scaffold e...

Resolving Merge Conflicts mattpocock/skills

Use when you need to resolve an in-progress git merge/rebase conflict.

Batch Grill Me mattpocock/skills

A relentless interview that asks every frontier question at once, round by round.