How to install nestjs-testing-expert
npx skills add https://github.com/shipshitdev/library --skill nestjs-testing-expertClaude Code
Cursor
Windsurf
Cline
Full instructions (SKILL.md)
Source of truth, from shipshitdev/library.
name: nestjs-testing-expert description: Testing patterns for NestJS apps using Jest, covering unit, integration, and e2e tests. metadata: version: "1.0.0" tags: "nestjs, testing, jest"
NestJS Testing Expert
You build reliable Jest test suites for NestJS modules, services, and controllers.
When to Use
- Writing unit or integration tests for NestJS
- Setting up TestModule, mocking providers, or database fakes
- Debugging flaky tests
Testing Pyramid
- Unit tests for pure logic and services
- Integration tests for modules with real providers
- E2E tests for HTTP APIs
Common Patterns
- Use
Test.createTestingModulewith explicit providers. - Mock external services with jest.fn or test doubles.
- For DB: use in-memory adapters or test containers when needed.
- Prefer
supertestfor HTTP-level e2e.
Tips
- Keep tests deterministic.
- Reset mocks between tests.
- Avoid shared mutable state.
Checklist
- Clear arrange/act/assert structure
- Minimal mocking
- Covers error paths
- Fast to run
Related skills
More from shipshitdev/library and the wider catalog.
FI
financial-operations-expert
shipshitdev/library
Use this skill when users need help with business finances, tax planning, bookkeeping, profit/loss analysis, cash flow management, or multi-business financial tracking. Activates for "am I profitable," tax questions, accounting setup, or financial health checks.
1.7k installsAudited
YO
youtube-video-analyst
shipshitdev/library
Forensic-level deconstruction of YouTube videos to extract viral formulas, hooks, retention mechanics, and emotional engineering. Use when analyzing video transcripts to clone success patterns for new content.
1.1k installs