From shipshitdev-library
Expert in testing strategies for React, Next.js, and NestJS apps. Covers unit, integration, and E2E tests using Jest, Vitest, React Testing Library, Supertest, Playwright, and Cypress.
How this skill is triggered — by the user, by Claude, or both
Slash command
/shipshitdev-library:testing-expertThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- Writing unit tests
.agents/memory/ for durable project context (architecture, deployment, gotchas)[project]-testing-expert skillsrc/
users/
users.controller.ts
users.controller.spec.ts # Unit tests
users.service.ts
users.service.spec.ts
__tests__/
integration/
e2e/
it('should return users filtered by organization', async () => {
// Arrange: Set up test data
const organizationId = 'org1';
const expectedUsers = [{ organization: organizationId }];
// Act: Execute the code being tested
const result = await service.findAll(organizationId);
// Assert: Verify the result
expect(result).toEqual(expectedUsers);
});
| Test Type | Tools | Use Case |
|---|---|---|
| Unit | Jest/Vitest | Functions, components, services |
| Integration | Supertest + Jest | Controller + Service + DB |
| E2E | Playwright/Cypress | Full user flows |
| Component | React Testing Library | React component behavior |
For complete React Testing Library examples, hook testing, Next.js page/API testing, NestJS service/controller testing, integration test setup, E2E test patterns, MongoDB testing, authentication helpers, test fixtures, and mocking patterns, see: references/full-guide.md
npx claudepluginhub shipshitdev/skills --plugin worktreeProvides testing pyramid, unit patterns (AAA, isolation, parameterized, edge cases), and React Testing Library for component tests. Use when writing tests or setting up testing infrastructure.
Generates unit tests, analyzes coverage, and scaffolds E2E tests for React/Next.js apps using Jest, React Testing Library, and Playwright.
Applies opinionated testing conventions for functional, performance, security tests: unit/integration/E2E patterns, coverage analysis, automation frameworks, defect tracking, accessibility.