Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Guides Jest and Playwright testing with isolated fixtures, RLS enforcement, and evidence templates.
38% 81%+43 ptsof test cases passed
Passed 17 of 21 test cases with the skill, and 8 of 21 without it.
Its SkillScore uses its best run instead: +50 pts on gemini-3.6-flash, Aug 22, 2026.
3 of 3 safety checks passed
969 agent runs
7 forksA fork is a copy of this skill that someone made so they could edit it for their own use. The original doesn't change.
Guide consistent and effective testing. Routes to existing test patterns and provides evidence templates.
// Direct Prisma calls bypass RLS
const user = await prisma.user.findUnique({ where: { user_id } });
// Shared test state causes flaky tests
let sharedUser: User;
beforeAll(() => { sharedUser = createUser(); });
// Use RLS context helpers
const user = await withSystemContext(prisma, "test", async (client) => {
return client.user.findUnique({ where: { user_id } });
});
// Isolated test state
beforeEach(() => {
const testUser = createTestUser();
});
// Unique identifiers
Next to this one in the catalogue, plus more from the same author.