Install any skill in seconds. Free to start, no credit card required.
Get Started Free →bybren-llc/testing-patterns
Testing patterns for unit, integration, and end-to-end tests.
Passed 22 of 22 test cases with the skill, and 11 of 22 without it.
and 12 more in the full report
11 fixed11 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 11 test cases the skill fixed. Same model, same prompt, with and without the skill.
Which module file exports the project's Row-Level Security context helper functions?
| Checked | Without skill | With skill |
|---|---|---|
| Points to lib/rls-context.ts as the file containing RLS context functions. | Missed | Passed |
The instructions your model reads when the skill loads.
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
test cases passed, vs 11 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.