From pokayokay
Use when designing test architecture, building API test suites, validating API contracts, setting up component or E2E testing, managing test data, debugging flaky tests, reviewing coverage strategy, or organizing test files. Covers test pyramid, mocking (MSW), frontend (React Testing Library, Playwright), and CI integration.
npx claudepluginhub srstomp/pokayokay --plugin pokayokayThis skill uses the workspace's default tool permissions.
Comprehensive testing guidance for test architecture, coverage strategy, and test design.
references/anti-rationalization.mdreferences/api-auth-patterns.mdreferences/api-contract-openapi.mdreferences/api-contract-zod-advanced.mdreferences/api-e2e-and-edge-cases.mdreferences/api-integration-patterns.mdreferences/api-test-ci-environments.mdreferences/api-test-ci-pipelines.mdreferences/api-test-data-database.mdreferences/api-test-data-factories.mdreferences/api-test-frameworks-setup.mdreferences/api-test-supertest-and-helpers.mdreferences/coverage-guide.mdreferences/e2e-cypress-and-stability.mdreferences/e2e-playwright.mdreferences/frontend-react-testing.mdreferences/frontend-vue-a11y-visual.mdreferences/mocking-fundamentals.mdreferences/mocking-modules-and-patterns.mdreferences/test-architecture-isolation.mdProvides Ktor server patterns for routing DSL, plugins (auth, CORS, serialization), Koin DI, WebSockets, services, and testApplication testing.
Conducts multi-source web research with firecrawl and exa MCPs: searches, scrapes pages, synthesizes cited reports. For deep dives, competitive analysis, tech evaluations, or due diligence.
Provides demand forecasting, safety stock optimization, replenishment planning, and promotional lift estimation for multi-location retailers managing 300-800 SKUs.
Comprehensive testing guidance for test architecture, coverage strategy, and test design.
| Level | Speed | Cost | Confidence | Share |
|---|---|---|---|---|
| Unit | ~1ms | Low | Narrow | 65-80% |
| Integration | ~100ms | Medium | Medium | 15-25% |
| Contract | ~10ms | Low | API shape | Part of unit |
| E2E | ~1s+ | High | Broad | 5-10% |
| Reference | Description |
|---|---|
| test-architecture-structure.md | Project structures, shared utilities, test configuration |
| test-architecture-isolation.md | Playwright config, database isolation, performance optimization |
| test-design-techniques.md | Equivalence partitioning, boundary values, decision tables, state transitions |
| test-design-error-and-advanced.md | Error handling tests, property-based testing, parameterization, regression |
| frontend-react-testing.md | React Testing Library, queries, user events, hooks, forms |
| frontend-vue-a11y-visual.md | Vue Test Utils, accessibility, visual/Storybook testing, anti-patterns |
| e2e-playwright.md | Playwright POM, fixtures, auth state, API mocking, visual comparison |
| e2e-cypress-and-stability.md | Cypress patterns, flaky test prevention, test data, debugging |
| mocking-fundamentals.md | Mock decision tree, stubs/mocks/spies/fakes, MSW setup and usage |
| mocking-modules-and-patterns.md | Module mocking, time mocking, anti-patterns, dependency injection |
| coverage-guide.md | Coverage metrics, meaningful thresholds, CI integration |
| api-test-frameworks-setup.md | Vitest and Jest setup, configuration, running tests |
| api-test-supertest-and-helpers.md | Supertest usage, request helpers, custom matchers, snapshots, debugging |
| api-integration-patterns.md | CRUD endpoint tests, relationship tests |
| api-auth-patterns.md | Login/logout, protected routes, authorization, auth helpers |
| api-e2e-and-edge-cases.md | Multi-step workflow tests, error responses, edge cases |
| api-test-data-factories.md | Factory patterns, builders, fixtures |
| api-test-data-database.md | Database helpers, cleanup strategies, data generation |
| api-contract-openapi.md | OpenAPI/AJV schema validation, contract tests |
| api-contract-zod-advanced.md | Zod validation, response shape testing, breaking change detection |
| api-test-ci-pipelines.md | CI pipeline strategy, GitHub Actions, parallel execution |
| api-test-ci-environments.md | Environment config, test reporting, database services, E2E environments |
| anti-rationalization.md | Iron Law, common rationalizations, red flag STOP list for TDD discipline |