[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AC1MZH87P7XC3HWK20MFW9":3,"skill-same:01M7AC1MZH87P7XC3HWK20MFW9":367},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":14,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7AC1MZH87P7XC3HWK20MFW9","typescript-unit-testing",null,"Unit testing for TypeScript\u002FNestJS projects using Jest, @golevelup\u002Fts-jest (DeepMocked\u002FcreateMock), and in-memory databases, with AAA structure. Use whenever the user is working on `.spec.ts` files or asks to set up Jest, write\u002Fadd tests for a service\u002Fusecase\u002Fcontroller\u002Fguard\u002Finterceptor\u002Fpipe\u002Ffilter, mock dependencies, review test quality or coverage, run unit tests, debug failing or flaky tests, or optimize test performance and open handles.","NeelakshSaxena\u002FVayu","NeelakshSaxena","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F87892838?v=4","01M7A3B9YFS6F6N9DD1787DT86","Neelaksh Saxena","01M7A3B9ZKBT09MNMPX2XN69BY",0,"MIT","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\ndescription: \"Unit testing for TypeScript\u002FNestJS projects using Jest, @golevelup\u002Fts-jest (DeepMocked\u002FcreateMock), and in-memory databases, with AAA structure. Use whenever the user is working on `.spec.ts` files or asks to set up Jest, write\u002Fadd tests for a service\u002Fusecase\u002Fcontroller\u002Fguard\u002Finterceptor\u002Fpipe\u002Ffilter, mock dependencies, review test quality or coverage, run unit tests, debug failing or flaky tests, or optimize test performance and open handles.\"\n---\n# Unit Testing Skill\n\nUnit testing validates individual functions, methods, and classes in isolation by mocking all external dependencies.\n\n---\n\n## Workflows\n\nFor guided, step-by-step execution of unit testing tasks, use the appropriate workflow:\n\n| Workflow | Purpose | When to Use |\n|----------|---------|-------------|\n| [Setup](workflows\u002Fsetup\u002Fworkflow.md) | Initialize test infrastructure | New project or missing test setup |\n| [Writing](workflows\u002Fwriting\u002Fworkflow.md) | Write new unit tests | Creating tests for components |\n| [Reviewing](workflows\u002Freviewing\u002Fworkflow.md) | Review existing tests | Code review, quality audit |\n| [Running](workflows\u002Frunning\u002Fworkflow.md) | Execute tests | Running tests, analyzing results |\n| [Debugging](workflows\u002Fdebugging\u002Fworkflow.md) | Fix failing tests | Tests failing, need diagnosis |\n| [Optimizing](workflows\u002Foptimizing\u002Fworkflow.md) | Improve test performance | Slow tests, maintainability |\n\n## Workflow Selection Guide\n\n**IMPORTANT**: Before starting any testing task, identify the user's intent and load the appropriate workflow.\n\n### Detect User Intent → Select Workflow\n\n| User Says \u002F Wants | Workflow to Load | File |\n|-------------------|------------------|------|\n| \"Set up tests\", \"configure Jest\", \"add testing to project\", \"install test dependencies\" | **Setup** | `workflows\u002Fsetup\u002Fworkflow.md` |\n| \"Write tests\", \"add tests\", \"create tests\", \"test this service\u002Fcontroller\" | **Writing** | `workflows\u002Fwriting\u002Fworkflow.md` |\n| \"Review tests\", \"check test quality\", \"audit tests\", \"are these tests good?\" | **Reviewing** | `workflows\u002Freviewing\u002Fworkflow.md` |\n| \"Run tests\", \"execute tests\", \"check if tests pass\", \"show test results\" | **Running** | `workflows\u002Frunning\u002Fworkflow.md` |\n| \"Fix tests\", \"debug tests\", \"tests are failing\", \"why is this test broken?\" | **Debugging** | `workflows\u002Fdebugging\u002Fworkflow.md` |\n| \"Speed up tests\", \"optimize tests\", \"tests are slow\", \"fix open handles\" | **Optimizing** | `workflows\u002Foptimizing\u002Fworkflow.md` |\n\n### Workflow Execution Protocol\n\n1. **ALWAYS load the workflow file first** - Read the full workflow before taking action\n2. **Follow each step in order** - Complete checkpoints before proceeding\n3. **Load knowledge files as directed** - Each workflow specifies which `references\u002F` files to read\n4. **Verify compliance after completion** - Re-read relevant reference files to ensure quality\n\n---\n\n## Knowledge Base Structure\n\n```\nreferences\u002F\n├── common\u002F              # Core testing fundamentals\n│   ├── knowledge.md     # Testing philosophy and test pyramid\n│   ├── rules.md         # Mandatory testing rules (AAA, naming, coverage)\n│   ├── assertions.md    # Assertion patterns and matchers\n│   ├── examples.md      # Comprehensive examples by category\n│   ├── detect-open-handles.md   # Open handle detection and cleanup\n│   └── performance-optimization.md  # Jest runtime optimization\n│\n├── nestjs\u002F              # NestJS component testing\n│   ├── services.md      # Service\u002Fusecase testing patterns\n│   ├── controllers.md   # Controller testing patterns\n│   ├── guards.md        # Guard testing patterns\n│   ├── interceptors.md  # Interceptor testing patterns\n│   └── pipes-filters.md # Pipe and filter testing\n│\n├── mocking\u002F             # Mock patterns and strategies\n│   ├── deep-mocked.md   # @golevelup\u002Fts-jest patterns\n│   ├── jest-native.md   # Jest.fn, spyOn, mock patterns\n│   └── factories.md     # Test data factory patterns\n│\n├── repository\u002F          # Repository testing\n│   ├── mongodb.md       # mongodb-memory-server patterns\n│   └── postgres.md      # pg-mem patterns\n│\n├── kafka\u002F               # NestJS Kafka microservices testing\n│   └── kafka.md         # ClientKafka, @MessagePattern, @EventPattern handlers\n│\n└── redis\u002F               # Redis cache testing\n    └── redis.md         # Cache operations, health checks, graceful degradation\n```\n\n## Quick Reference by Task\n\n### Write Unit Tests\n1. **MANDATORY**: Read `references\u002Fcommon\u002Frules.md` - AAA pattern, naming, coverage\n2. Read `references\u002Fcommon\u002Fassertions.md` - Assertion best practices\n3. Read component-specific files:\n   - **Services**: `references\u002Fnestjs\u002Fservices.md`\n   - **Controllers**: `references\u002Fnestjs\u002Fcontrollers.md`\n   - **Guards**: `references\u002Fnestjs\u002Fguards.md`\n   - **Interceptors**: `references\u002Fnestjs\u002Finterceptors.md`\n   - **Pipes\u002FFilters**: `references\u002Fnestjs\u002Fpipes-filters.md`\n\n### Setup Mocking\n1. Read `references\u002Fmocking\u002Fdeep-mocked.md` - DeepMocked patterns\n2. Read `references\u002Fmocking\u002Fjest-native.md` - Native Jest patterns\n3. Read `references\u002Fmocking\u002Ffactories.md` - Test data factories\n\n### Test Repositories\n1. **MongoDB**: `references\u002Frepository\u002Fmongodb.md`\n2. **PostgreSQL**: `references\u002Frepository\u002Fpostgres.md`\n\n### Test Kafka (NestJS Microservices)\n- Read `references\u002Fkafka\u002Fkafka.md` - ClientKafka mocking, @MessagePattern\u002F@EventPattern handlers, emit\u002Fsend testing\n\n### Test Redis\n- Read `references\u002Fredis\u002Fredis.md` - Cache operations, health checks, graceful degradation\n\n### Examples\n- Read `references\u002Fcommon\u002Fexamples.md` for comprehensive patterns\n\n### Optimize Test Performance\n1. Read `references\u002Fcommon\u002Fperformance-optimization.md` - Worker config, caching, CI optimization\n2. Read `references\u002Fcommon\u002Fdetect-open-handles.md` - Fix open handles preventing clean exit\n\n### Debug Open Handles\n- Read `references\u002Fcommon\u002Fdetect-open-handles.md` - Detection commands, common handle types, cleanup patterns\n\n---\n\n## Core Principles\n\n### 0. Context Efficiency (Temp File Output)\n**ALWAYS redirect unit test output to temp files, NOT console**. Test output can be verbose and bloats agent context.\n\n**IMPORTANT**: Use unique session ID in filenames to prevent conflicts when multiple agents run.\n\n```bash\n# Initialize session (once at start of testing session)\nexport UT_SESSION=$(date +%s)-$$\n\n# Standard pattern - redirect output to temp file (NO console output)\nnpm test > \u002Ftmp\u002Fut-${UT_SESSION}-output.log 2>&1\n\n# Read summary only (last 50 lines)\ntail -50 \u002Ftmp\u002Fut-${UT_SESSION}-output.log\n\n# Get failure details\ngrep -B 2 -A 15 \"FAIL\\|✕\" \u002Ftmp\u002Fut-${UT_SESSION}-output.log\n\n# Cleanup when done\nrm -f \u002Ftmp\u002Fut-${UT_SESSION}-*.log \u002Ftmp\u002Fut-${UT_SESSION}-*.md\n```\n\n**Temp Files** (with `${UT_SESSION}` unique per agent):\n- `\u002Ftmp\u002Fut-${UT_SESSION}-output.log` - Full test output\n- `\u002Ftmp\u002Fut-${UT_SESSION}-failures.md` - Tracking file for one-by-one fixing\n- `\u002Ftmp\u002Fut-${UT_SESSION}-debug.log` - Debug runs\n- `\u002Ftmp\u002Fut-${UT_SESSION}-verify.log` - Verification runs\n- `\u002Ftmp\u002Fut-${UT_SESSION}-coverage.log` - Coverage output\n\n### 1. AAA Pattern (Mandatory)\nALL unit tests MUST follow Arrange-Act-Assert:\n```typescript\nit('should return user when found', async () => {\n  \u002F\u002F Arrange\n  const userId = 'user-123';\n  mockRepository.findById.mockResolvedValue({\n    id: userId,\n    email: 'test@example.com',\n    name: 'Test User',\n  });\n\n  \u002F\u002F Act\n  const result = await target.getUser(userId);\n\n  \u002F\u002F Assert\n  expect(result).toEqual({\n    id: userId,\n    email: 'test@example.com',\n    name: 'Test User',\n  });\n  expect(mockRepository.findById).toHaveBeenCalledWith(userId);\n});\n```\n\n### 2. Use `target` for SUT\nAlways name the system under test as `target`:\n```typescript\nlet target: UserService;\nlet mockRepository: DeepMocked\u003CUserRepository>;\n```\n\n### 3. DeepMocked Pattern\nUse `@golevelup\u002Fts-jest` for type-safe mocks:\n```typescript\nimport { createMock, DeepMocked } from '@golevelup\u002Fts-jest';\n\nlet mockService: DeepMocked\u003CUserService>;\n\nbeforeEach(() => {\n  mockService = createMock\u003CUserService>();\n});\n```\n\n### 4. Specific Assertions\nAssert exact values, not just existence:\n```typescript\n\u002F\u002F WRONG\nexpect(result).toBeDefined();\nexpect(result.id).toBeDefined();\n\n\u002F\u002F CORRECT\nexpect(result).toEqual({\n  id: 'user-123',\n  email: 'test@example.com',\n  name: 'Test User',\n});\n```\n\n### 5. Mock All Dependencies\nMock external services, never real databases for unit tests:\n```typescript\n\u002F\u002F Unit Test: Mock repository\n{ provide: UserRepository, useValue: mockRepository }\n\n\u002F\u002F Repository Test: Use in-memory database\nconst mongoServer = await createMongoMemoryServer();\n```\n\n---\n\n## Standard Test Template\n\n```typescript\nimport { Test, TestingModule } from '@nestjs\u002Ftesting';\nimport { createMock, DeepMocked } from '@golevelup\u002Fts-jest';\nimport { MockLoggerService } from 'src\u002Fshared\u002Flogger\u002Fservices\u002Fmock-logger.service';\n\ndescribe('UserService', () => {\n  let target: UserService;\n  let mockRepository: DeepMocked\u003CUserRepository>;\n\n  beforeEach(async () => {\n    \u002F\u002F Arrange: Create mocks\n    mockRepository = createMock\u003CUserRepository>();\n\n    const module: TestingModule = await Test.createTestingModule({\n      providers: [\n        UserService,\n        { provide: UserRepository, useValue: mockRepository },\n      ],\n    })\n      .setLogger(new MockLoggerService())\n      .compile();\n\n    target = module.get\u003CUserService>(UserService);\n  });\n\n  afterEach(() => {\n    jest.clearAllMocks();\n  });\n\n  describe('getUser', () => {\n    it('should return user when found', async () => {\n      \u002F\u002F Arrange\n      mockRepository.findById.mockResolvedValue({\n        id: 'user-123',\n        email: 'test@example.com',\n      });\n\n      \u002F\u002F Act\n      const result = await target.getUser('user-123');\n\n      \u002F\u002F Assert\n      expect(result).toEqual({ id: 'user-123', email: 'test@example.com' });\n    });\n\n    it('should throw NotFoundException when user not found', async () => {\n      \u002F\u002F Arrange\n      mockRepository.findById.mockResolvedValue(null);\n\n      \u002F\u002F Act & Assert\n      await expect(target.getUser('invalid')).rejects.toThrow(NotFoundException);\n    });\n  });\n});\n```\n\n---\n\n## Test Coverage Requirements\n\n| Category | Priority | Description |\n|----------|----------|-------------|\n| Happy path | MANDATORY | Valid inputs producing expected outputs |\n| Edge cases | MANDATORY | Empty arrays, null values, boundaries |\n| Error cases | MANDATORY | Not found, validation failures |\n| Exception behavior | MANDATORY | Correct type, error code, message |\n| Business rules | MANDATORY | Domain logic, calculations |\n| Input validation | MANDATORY | Invalid inputs, type mismatches |\n\n**Coverage Target:** 80%+ for new code\n\n---\n\n## Failure Resolution Protocol\n\n**CRITICAL: Fix ONE test at a time. NEVER run full suite repeatedly while fixing.**\n\nWhen unit tests fail:\n\n1. **Initialize session** (once at start):\n   ```bash\n   export UT_SESSION=$(date +%s)-$$\n   ```\n2. **Create tracking file**: `\u002Ftmp\u002Fut-${UT_SESSION}-failures.md` with all failing tests\n3. **Select ONE failing test** - work on only this test\n4. **Run ONLY that test** (never full suite):\n   ```bash\n   npm test -- -t \"test name\" > \u002Ftmp\u002Fut-${UT_SESSION}-debug.log 2>&1\n   tail -50 \u002Ftmp\u002Fut-${UT_SESSION}-debug.log\n   ```\n5. **Fix the issue** - analyze error, make targeted fix\n6. **Verify fix** - run same test 3-5 times:\n   ```bash\n   for i in {1..5}; do npm test -- -t \"test name\" > \u002Ftmp\u002Fut-${UT_SESSION}-run$i.log 2>&1 && echo \"Run $i: PASS\" || echo \"Run $i: FAIL\"; done\n   ```\n7. **Mark as FIXED** in tracking file\n8. **Move to next failing test** - repeat steps 3-7\n9. **Run full suite ONLY ONCE** after ALL individual tests pass\n10. **Cleanup**: `rm -f \u002Ftmp\u002Fut-${UT_SESSION}-*.log \u002Ftmp\u002Fut-${UT_SESSION}-*.md`\n\n**WHY**: Running full suite wastes time and context. Each failing test pollutes output, making debugging harder.\n\n---\n\n## Naming Conventions\n\n### Test Files\n- Pattern: `*.spec.ts`\n- Location: Co-located with source file\n\n### Test Structure\n```typescript\ndescribe('ClassName', () => {\n  describe('methodName', () => {\n    it('should [expected behavior] when [condition]', () => {});\n  });\n});\n```\n\n### Variable Names\n| Variable | Convention |\n|----------|------------|\n| SUT | `target` |\n| Mocks | `mock` prefix (`mockRepository`, `mockService`) |\n| Mock Type | `DeepMocked\u003CT>` |\n\n---\n\n## What NOT to Unit Test\n\nDo NOT create unit tests for:\n- **Interfaces** - Type definitions only, no runtime behavior\n- **Enums** - Static value mappings, no logic to test\n- **Constants** - Static values, no behavior\n- **Type aliases** - Type definitions only\n- **Plain DTOs** - Data structures without logic\n\nOnly test files containing **executable logic** (classes with methods, functions with behavior).\n\n---\n\n## Anti-Patterns to Avoid\n\n| Don't | Why | Do Instead |\n|-------|-----|------------|\n| Assert only existence | Doesn't catch wrong values | Assert specific values |\n| Conditional assertions | Non-deterministic | Separate test cases |\n| Test private methods | Couples to implementation | Test via public interface |\n| Share state between tests | Causes flaky tests | Fresh setup in beforeEach |\n| Mock repositories in services | Tests implementation | Mock interfaces |\n| Skip mock verification | Doesn't validate behavior | Verify mock calls |\n| Test interfaces\u002Fenums\u002Fconstants | No behavior to test | Skip these files |\n\n---\n\n## Checklist\n\n**Setup:**\n- [ ] Use `target` for system under test\n- [ ] Use `mock` prefix for all mocks\n- [ ] Use `DeepMocked\u003CT>` type\n- [ ] Include `.setLogger(new MockLoggerService())`\n- [ ] Follow AAA pattern with comments\n- [ ] Reset mocks in `afterEach`\n\n**Coverage:**\n- [ ] Happy path tests for all public methods\n- [ ] Edge case tests (empty, null, boundaries)\n- [ ] Error case tests (not found, validation failures)\n- [ ] Exception type and error code verification\n- [ ] Mock call verification (parameters + count)\n\n**Quality:**\n- [ ] 80%+ coverage on new code\n- [ ] No assertions on log calls\n- [ ] No test interdependence\n- [ ] Tests fail when any field differs\n","# Unit Testing Skill\n\nUnit testing validates individual functions, methods, and classes in isolation by mocking all external dependencies.\n\n---\n\n## Workflows\n\nFor guided, step-by-step execution of unit testing tasks, use the appropriate workflow:\n\n| Workflow | Purpose | When to Use |\n|----------|---------|-------------|\n| [Setup](workflows\u002Fsetup\u002Fworkflow.md) | Initialize test infrastructure | New project or missing test setup |\n| [Writing](workflows\u002Fwriting\u002Fworkflow.md) | Write new unit tests | Creating tests for components |\n| [Reviewing](workflows\u002Freviewing\u002Fworkflow.md) | Review existing tests | Code review, quality audit |\n| [Running](workflows\u002Frunning\u002Fworkflow.md) | Execute tests | Running tests, analyzing results |\n| [Debugging](workflows\u002Fdebugging\u002Fworkflow.md) | Fix failing tests | Tests failing, need diagnosis |\n| [Optimizing](workflows\u002Foptimizing\u002Fworkflow.md) | Improve test performance | Slow tests, maintainability |\n\n## Workflow Selection Guide\n\n**IMPORTANT**: Before starting any testing task, identify the user's intent and load the appropriate workflow.\n\n### Detect User Intent → Select Workflow\n\n| User Says \u002F Wants | Workflow to Load | File |\n|-------------------|------------------|------|\n| \"Set up tests\", \"configure Jest\", \"add testing to project\", \"install test dependencies\" | **Setup** | `workflows\u002Fsetup\u002Fworkflow.md` |\n| \"Write tests\", \"add tests\", \"create tests\", \"test this service\u002Fcontroller\" | **Writing** | `workflows\u002Fwriting\u002Fworkflow.md` |\n| \"Review tests\", \"check test quality\", \"audit tests\", \"are these tests good?\" | **Reviewing** | `workflows\u002Freviewing\u002Fworkflow.md` |\n| \"Run tests\", \"execute tests\", \"check if tests pass\", \"show test results\" | **Running** | `workflows\u002Frunning\u002Fworkflow.md` |\n| \"Fix tests\", \"debug tests\", \"tests are failing\", \"why is this test broken?\" | **Debugging** | `workflows\u002Fdebugging\u002Fworkflow.md` |\n| \"Speed up tests\", \"optimize tests\", \"tests are slow\", \"fix open handles\" | **Optimizing** | `workflows\u002Foptimizing\u002Fworkflow.md` |\n\n### Workflow Execution Protocol\n\n1. **ALWAYS load the workflow file first** - Read the full workflow before taking action\n2. **Follow each step in order** - Complete checkpoints before proceeding\n3. **Load knowledge files as directed** - Each workflow specifies which `references\u002F` files to read\n4. **Verify compliance after completion** - Re-read relevant reference files to ensure quality\n\n---\n\n## Knowledge Base Structure\n\n```\nreferences\u002F\n├── common\u002F              # Core testing fundamentals\n│   ├── knowledge.md     # Testing philosophy and test pyramid\n│   ├── rules.md         # Mandatory testing rules (AAA, naming, coverage)\n│   ├── assertions.md    # Assertion patterns and matchers\n│   ├── examples.md      # Comprehensive examples by category\n│   ├── detect-open-handles.md   # Open handle detection and cleanup\n│   └── performance-optimization.md  # Jest runtime optimization\n│\n├── nestjs\u002F              # NestJS component testing\n│   ├── services.md      # Service\u002Fusecase testing patterns\n│   ├── controllers.md   # Controller testing patterns\n│   ├── guards.md        # Guard testing patterns\n│   ├── interceptors.md  # Interceptor testing patterns\n│   └── pipes-filters.md # Pipe and filter testing\n│\n├── mocking\u002F             # Mock patterns and strategies\n│   ├── deep-mocked.md   # @golevelup\u002Fts-jest patterns\n│   ├── jest-native.md   # Jest.fn, spyOn, mock patterns\n│   └── factories.md     # Test data factory patterns\n│\n├── repository\u002F          # Repository testing\n│   ├── mongodb.md       # mongodb-memory-server patterns\n│   └── postgres.md      # pg-mem patterns\n│\n├── kafka\u002F               # NestJS Kafka microservices testing\n│   └── kafka.md         # ClientKafka, @MessagePattern, @EventPattern handlers\n│\n└── redis\u002F               # Redis cache testing\n    └── redis.md         # Cache operations, health checks, graceful degradation\n```\n\n## Quick Reference by Task\n\n### Write Unit Tests\n1. **MANDATORY**: Read `references\u002Fcommon\u002Frules.md` - AAA pattern, naming, coverage\n2. Read `references\u002Fcommon\u002Fassertions.md` - Assertion best practices\n3. Read component-specific files:\n   - **Services**: `references\u002Fnestjs\u002Fservices.md`\n   - **Controllers**: `references\u002Fnestjs\u002Fcontrollers.md`\n   - **Guards**: `references\u002Fnestjs\u002Fguards.md`\n   - **Interceptors**: `references\u002Fnestjs\u002Finterceptors.md`\n   - **Pipes\u002FFilters**: `references\u002Fnestjs\u002Fpipes-filters.md`\n\n### Setup Mocking\n1. Read `references\u002Fmocking\u002Fdeep-mocked.md` - DeepMocked patterns\n2. Read `references\u002Fmocking\u002Fjest-native.md` - Native Jest patterns\n3. Read `references\u002Fmocking\u002Ffactories.md` - Test data factories\n\n### Test Repositories\n1. **MongoDB**: `references\u002Frepository\u002Fmongodb.md`\n2. **PostgreSQL**: `references\u002Frepository\u002Fpostgres.md`\n\n### Test Kafka (NestJS Microservices)\n- Read `references\u002Fkafka\u002Fkafka.md` - ClientKafka mocking, @MessagePattern\u002F@EventPattern handlers, emit\u002Fsend testing\n\n### Test Redis\n- Read `references\u002Fredis\u002Fredis.md` - Cache operations, health checks, graceful degradation\n\n### Examples\n- Read `references\u002Fcommon\u002Fexamples.md` for comprehensive patterns\n\n### Optimize Test Performance\n1. Read `references\u002Fcommon\u002Fperformance-optimization.md` - Worker config, caching, CI optimization\n2. Read `references\u002Fcommon\u002Fdetect-open-handles.md` - Fix open handles preventing clean exit\n\n### Debug Open Handles\n- Read `references\u002Fcommon\u002Fdetect-open-handles.md` - Detection commands, common handle types, cleanup patterns\n\n---\n\n## Core Principles\n\n### 0. Context Efficiency (Temp File Output)\n**ALWAYS redirect unit test output to temp files, NOT console**. Test output can be verbose and bloats agent context.\n\n**IMPORTANT**: Use unique session ID in filenames to prevent conflicts when multiple agents run.\n\n```bash\n# Initialize session (once at start of testing session)\nexport UT_SESSION=$(date +%s)-$$\n\n# Standard pattern - redirect output to temp file (NO console output)\nnpm test > \u002Ftmp\u002Fut-${UT_SESSION}-output.log 2>&1\n\n# Read summary only (last 50 lines)\ntail -50 \u002Ftmp\u002Fut-${UT_SESSION}-output.log\n\n# Get failure details\ngrep -B 2 -A 15 \"FAIL\\|✕\" \u002Ftmp\u002Fut-${UT_SESSION}-output.log\n\n# Cleanup when done\nrm -f \u002Ftmp\u002Fut-${UT_SESSION}-*.log \u002Ftmp\u002Fut-${UT_SESSION}-*.md\n```\n\n**Temp Files** (with `${UT_SESSION}` unique per agent):\n- `\u002Ftmp\u002Fut-${UT_SESSION}-output.log` - Full test output\n- `\u002Ftmp\u002Fut-${UT_SESSION}-failures.md` - Tracking file for one-by-one fixing\n- `\u002Ftmp\u002Fut-${UT_SESSION}-debug.log` - Debug runs\n- `\u002Ftmp\u002Fut-${UT_SESSION}-verify.log` - Verification runs\n- `\u002Ftmp\u002Fut-${UT_SESSION}-coverage.log` - Coverage output\n\n### 1. AAA Pattern (Mandatory)\nALL unit tests MUST follow Arrange-Act-Assert:\n```typescript\nit('should return user when found', async () => {\n  \u002F\u002F Arrange\n  const userId = 'user-123';\n  mockRepository.findById.mockResolvedValue({\n    id: userId,\n    email: 'test@example.com',\n    name: 'Test User',\n  });\n\n  \u002F\u002F Act\n  const result = await target.getUser(userId);\n\n  \u002F\u002F Assert\n  expect(result).toEqual({\n    id: userId,\n    email: 'test@example.com',\n    name: 'Test User',\n  });\n  expect(mockRepository.findById).toHaveBeenCalledWith(userId);\n});\n```\n\n### 2. Use `target` for SUT\nAlways name the system under test as `target`:\n```typescript\nlet target: UserService;\nlet mockRepository: DeepMocked\u003CUserRepository>;\n```\n\n### 3. DeepMocked Pattern\nUse `@golevelup\u002Fts-jest` for type-safe mocks:\n```typescript\nimport { createMock, DeepMocked } from '@golevelup\u002Fts-jest';\n\nlet mockService: DeepMocked\u003CUserService>;\n\nbeforeEach(() => {\n  mockService = createMock\u003CUserService>();\n});\n```\n\n### 4. Specific Assertions\nAssert exact values, not just existence:\n```typescript\n\u002F\u002F WRONG\nexpect(result).toBeDefined();\nexpect(result.id).toBeDefined();\n\n\u002F\u002F CORRECT\nexpect(result).toEqual({\n  id: 'user-123',\n  email: 'test@example.com',\n  name: 'Test User',\n});\n```\n\n### 5. Mock All Dependencies\nMock external services, never real databases for unit tests:\n```typescript\n\u002F\u002F Unit Test: Mock repository\n{ provide: UserRepository, useValue: mockRepository }\n\n\u002F\u002F Repository Test: Use in-memory database\nconst mongoServer = await createMongoMemoryServer();\n```\n\n---\n\n## Standard Test Template\n\n```typescript\nimport { Test, TestingModule } from '@nestjs\u002Ftesting';\nimport { createMock, DeepMocked } from '@golevelup\u002Fts-jest';\nimport { MockLoggerService } from 'src\u002Fshared\u002Flogger\u002Fservices\u002Fmock-logger.service';\n\ndescribe('UserService', () => {\n  let target: UserService;\n  let mockRepository: DeepMocked\u003CUserRepository>;\n\n  beforeEach(async () => {\n    \u002F\u002F Arrange: Create mocks\n    mockRepository = createMock\u003CUserRepository>();\n\n    const module: TestingModule = await Test.createTestingModule({\n      providers: [\n        UserService,\n        { provide: UserRepository, useValue: mockRepository },\n      ],\n    })\n      .setLogger(new MockLoggerService())\n      .compile();\n\n    target = module.get\u003CUserService>(UserService);\n  });\n\n  afterEach(() => {\n    jest.clearAllMocks();\n  });\n\n  describe('getUser', () => {\n    it('should return user when found', async () => {\n      \u002F\u002F Arrange\n      mockRepository.findById.mockResolvedValue({\n        id: 'user-123',\n        email: 'test@example.com',\n      });\n\n      \u002F\u002F Act\n      const result = await target.getUser('user-123');\n\n      \u002F\u002F Assert\n      expect(result).toEqual({ id: 'user-123', email: 'test@example.com' });\n    });\n\n    it('should throw NotFoundException when user not found', async () => {\n      \u002F\u002F Arrange\n      mockRepository.findById.mockResolvedValue(null);\n\n      \u002F\u002F Act & Assert\n      await expect(target.getUser('invalid')).rejects.toThrow(NotFoundException);\n    });\n  });\n});\n```\n\n---\n\n## Test Coverage Requirements\n\n| Category | Priority | Description |\n|----------|----------|-------------|\n| Happy path | MANDATORY | Valid inputs producing expected outputs |\n| Edge cases | MANDATORY | Empty arrays, null values, boundaries |\n| Error cases | MANDATORY | Not found, validation failures |\n| Exception behavior | MANDATORY | Correct type, error code, message |\n| Business rules | MANDATORY | Domain logic, calculations |\n| Input validation | MANDATORY | Invalid inputs, type mismatches |\n\n**Coverage Target:** 80%+ for new code\n\n---\n\n## Failure Resolution Protocol\n\n**CRITICAL: Fix ONE test at a time. NEVER run full suite repeatedly while fixing.**\n\nWhen unit tests fail:\n\n1. **Initialize session** (once at start):\n   ```bash\n   export UT_SESSION=$(date +%s)-$$\n   ```\n2. **Create tracking file**: `\u002Ftmp\u002Fut-${UT_SESSION}-failures.md` with all failing tests\n3. **Select ONE failing test** - work on only this test\n4. **Run ONLY that test** (never full suite):\n   ```bash\n   npm test -- -t \"test name\" > \u002Ftmp\u002Fut-${UT_SESSION}-debug.log 2>&1\n   tail -50 \u002Ftmp\u002Fut-${UT_SESSION}-debug.log\n   ```\n5. **Fix the issue** - analyze error, make targeted fix\n6. **Verify fix** - run same test 3-5 times:\n   ```bash\n   for i in {1..5}; do npm test -- -t \"test name\" > \u002Ftmp\u002Fut-${UT_SESSION}-run$i.log 2>&1 && echo \"Run $i: PASS\" || echo \"Run $i: FAIL\"; done\n   ```\n7. **Mark as FIXED** in tracking file\n8. **Move to next failing test** - repeat steps 3-7\n9. **Run full suite ONLY ONCE** after ALL individual tests pass\n10. **Cleanup**: `rm -f \u002Ftmp\u002Fut-${UT_SESSION}-*.log \u002Ftmp\u002Fut-${UT_SESSION}-*.md`\n\n**WHY**: Running full suite wastes time and context. Each failing test pollutes output, making debugging harder.\n\n---\n\n## Naming Conventions\n\n### Test Files\n- Pattern: `*.spec.ts`\n- Location: Co-located with source file\n\n### Test Structure\n```typescript\ndescribe('ClassName', () => {\n  describe('methodName', () => {\n    it('should [expected behavior] when [condition]', () => {});\n  });\n});\n```\n\n### Variable Names\n| Variable | Convention |\n|----------|------------|\n| SUT | `target` |\n| Mocks | `mock` prefix (`mockRepository`, `mockService`) |\n| Mock Type | `DeepMocked\u003CT>` |\n\n---\n\n## What NOT to Unit Test\n\nDo NOT create unit tests for:\n- **Interfaces** - Type definitions only, no runtime behavior\n- **Enums** - Static value mappings, no logic to test\n- **Constants** - Static values, no behavior\n- **Type aliases** - Type definitions only\n- **Plain DTOs** - Data structures without logic\n\nOnly test files containing **executable logic** (classes with methods, functions with behavior).\n\n---\n\n## Anti-Patterns to Avoid\n\n| Don't | Why | Do Instead |\n|-------|-----|------------|\n| Assert only existence | Doesn't catch wrong values | Assert specific values |\n| Conditional assertions | Non-deterministic | Separate test cases |\n| Test private methods | Couples to implementation | Test via public interface |\n| Share state between tests | Causes flaky tests | Fresh setup in beforeEach |\n| Mock repositories in services | Tests implementation | Mock interfaces |\n| Skip mock verification | Doesn't validate behavior | Verify mock calls |\n| Test interfaces\u002Fenums\u002Fconstants | No behavior to test | Skip these files |\n\n---\n\n## Checklist\n\n**Setup:**\n- [ ] Use `target` for system under test\n- [ ] Use `mock` prefix for all mocks\n- [ ] Use `DeepMocked\u003CT>` type\n- [ ] Include `.setLogger(new MockLoggerService())`\n- [ ] Follow AAA pattern with comments\n- [ ] Reset mocks in `afterEach`\n\n**Coverage:**\n- [ ] Happy path tests for all public methods\n- [ ] Edge case tests (empty, null, boundaries)\n- [ ] Error case tests (not found, validation failures)\n- [ ] Exception type and error code verification\n- [ ] Mock call verification (parameters + count)\n\n**Quality:**\n- [ ] 80%+ coverage on new code\n- [ ] No assertions on log calls\n- [ ] No test interdependence\n- [ ] Tests fail when any field differs\n",{"description":7},"main","7540bbccf0c1ded6156a467b02c95b61ad62413f",".agents\u002Fskills\u002Ftypescript-unit-testing","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena","Currently exploring the intersection of tech","2026-09-11 03:02:31",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add NeelakshSaxena\u002FVayu --skill typescript-unit-testing",{"tool":38,"command":39},"bunx","bunx skills add NeelakshSaxena\u002FVayu --skill typescript-unit-testing",{"tool":41,"command":42},"pnpm","pnpm dlx skills add NeelakshSaxena\u002FVayu --skill typescript-unit-testing","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002FSKILL.md",true,[46,50,56,60,64,68,72,75,79,83,87,91,95,99,103,107,111,115,119,123,127,131,135,139,143,147,151,155,159,163,167,171,175,179,183,187,191,195,199,203,207,211,215,219,223,227,231,235,239,243,247,251,255,259,263,267,271,275,279,283,287,291,295,299,303,307,311,315,319,323,327,331,335,339,343,347,351,355,359,363],{"path":47,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":16},"LICENSE","许可证",1062,{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"references\u002Fcommon\u002Fassertions.md","REFERENCE","参考文档",7103,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Freferences\u002Fcommon\u002Fassertions.md",{"path":57,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002Fcommon\u002Fdetect-open-handles.md",8706,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Freferences\u002Fcommon\u002Fdetect-open-handles.md",{"path":61,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":62,"sourceHtmlUrl":63},"references\u002Fcommon\u002Fexamples.md",14095,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Freferences\u002Fcommon\u002Fexamples.md",{"path":65,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":66,"sourceHtmlUrl":67},"references\u002Fcommon\u002Fknowledge.md",3176,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Freferences\u002Fcommon\u002Fknowledge.md",{"path":69,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Fcommon\u002Fperformance-optimization.md",8359,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Freferences\u002Fcommon\u002Fperformance-optimization.md",{"path":73,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":74},"references\u002Fcommon\u002Frules.md","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Freferences\u002Fcommon\u002Frules.md",{"path":76,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":77,"sourceHtmlUrl":78},"references\u002Fkafka\u002Fkafka.md",17497,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Freferences\u002Fkafka\u002Fkafka.md",{"path":80,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":81,"sourceHtmlUrl":82},"references\u002Fmocking\u002Fdeep-mocked.md",5514,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Freferences\u002Fmocking\u002Fdeep-mocked.md",{"path":84,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":85,"sourceHtmlUrl":86},"references\u002Fmocking\u002Ffactories.md",7422,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Freferences\u002Fmocking\u002Ffactories.md",{"path":88,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":89,"sourceHtmlUrl":90},"references\u002Fmocking\u002Fjest-native.md",6989,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Freferences\u002Fmocking\u002Fjest-native.md",{"path":92,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":93,"sourceHtmlUrl":94},"references\u002Fnestjs\u002Fcontrollers.md",7357,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Freferences\u002Fnestjs\u002Fcontrollers.md",{"path":96,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":97,"sourceHtmlUrl":98},"references\u002Fnestjs\u002Fguards.md",9561,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Freferences\u002Fnestjs\u002Fguards.md",{"path":100,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":101,"sourceHtmlUrl":102},"references\u002Fnestjs\u002Finterceptors.md",10359,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Freferences\u002Fnestjs\u002Finterceptors.md",{"path":104,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":105,"sourceHtmlUrl":106},"references\u002Fnestjs\u002Fpipes-filters.md",12206,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Freferences\u002Fnestjs\u002Fpipes-filters.md",{"path":108,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":109,"sourceHtmlUrl":110},"references\u002Fnestjs\u002Fservices.md",9257,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Freferences\u002Fnestjs\u002Fservices.md",{"path":112,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":113,"sourceHtmlUrl":114},"references\u002Fredis\u002Fredis.md",13535,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Freferences\u002Fredis\u002Fredis.md",{"path":116,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":117,"sourceHtmlUrl":118},"references\u002Frepository\u002Fmongodb.md",9359,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Freferences\u002Frepository\u002Fmongodb.md",{"path":120,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":121,"sourceHtmlUrl":122},"references\u002Frepository\u002Fpostgres.md",11836,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Freferences\u002Frepository\u002Fpostgres.md",{"path":124,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":125,"sourceHtmlUrl":126},"workflows\u002Fdebugging\u002Fsteps\u002Fstep-01-init.md",2888,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Fdebugging\u002Fsteps\u002Fstep-01-init.md",{"path":128,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":129,"sourceHtmlUrl":130},"workflows\u002Fdebugging\u002Fsteps\u002Fstep-01b-continue.md",1754,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Fdebugging\u002Fsteps\u002Fstep-01b-continue.md",{"path":132,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":133,"sourceHtmlUrl":134},"workflows\u002Fdebugging\u002Fsteps\u002Fstep-02-classify-failure.md",2187,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Fdebugging\u002Fsteps\u002Fstep-02-classify-failure.md",{"path":136,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":137,"sourceHtmlUrl":138},"workflows\u002Fdebugging\u002Fsteps\u002Fstep-03-analyze.md",4243,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Fdebugging\u002Fsteps\u002Fstep-03-analyze.md",{"path":140,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":141,"sourceHtmlUrl":142},"workflows\u002Fdebugging\u002Fsteps\u002Fstep-04-implement-fix.md",1766,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Fdebugging\u002Fsteps\u002Fstep-04-implement-fix.md",{"path":144,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":145,"sourceHtmlUrl":146},"workflows\u002Fdebugging\u002Fsteps\u002Fstep-05-verify-fix.md",2043,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Fdebugging\u002Fsteps\u002Fstep-05-verify-fix.md",{"path":148,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":149,"sourceHtmlUrl":150},"workflows\u002Fdebugging\u002Fsteps\u002Fstep-06-document-resolution.md",3856,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Fdebugging\u002Fsteps\u002Fstep-06-document-resolution.md",{"path":152,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":153,"sourceHtmlUrl":154},"workflows\u002Fdebugging\u002Ftemplates\u002Foutput-template.md",316,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Fdebugging\u002Ftemplates\u002Foutput-template.md",{"path":156,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":157,"sourceHtmlUrl":158},"workflows\u002Fdebugging\u002Fworkflow.md",3369,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Fdebugging\u002Fworkflow.md",{"path":160,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":161,"sourceHtmlUrl":162},"workflows\u002Foptimizing\u002Fsteps\u002Fstep-01-init.md",3457,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Foptimizing\u002Fsteps\u002Fstep-01-init.md",{"path":164,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":165,"sourceHtmlUrl":166},"workflows\u002Foptimizing\u002Fsteps\u002Fstep-01b-continue.md",2088,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Foptimizing\u002Fsteps\u002Fstep-01b-continue.md",{"path":168,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":169,"sourceHtmlUrl":170},"workflows\u002Foptimizing\u002Fsteps\u002Fstep-02-identify-opportunities.md",3697,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Foptimizing\u002Fsteps\u002Fstep-02-identify-opportunities.md",{"path":172,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":173,"sourceHtmlUrl":174},"workflows\u002Foptimizing\u002Fsteps\u002Fstep-03-optimize-setup.md",3861,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Foptimizing\u002Fsteps\u002Fstep-03-optimize-setup.md",{"path":176,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":177,"sourceHtmlUrl":178},"workflows\u002Foptimizing\u002Fsteps\u002Fstep-04-fix-open-handles.md",5787,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Foptimizing\u002Fsteps\u002Fstep-04-fix-open-handles.md",{"path":180,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":181,"sourceHtmlUrl":182},"workflows\u002Foptimizing\u002Fsteps\u002Fstep-05-optimize-async.md",3712,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Foptimizing\u002Fsteps\u002Fstep-05-optimize-async.md",{"path":184,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":185,"sourceHtmlUrl":186},"workflows\u002Foptimizing\u002Fsteps\u002Fstep-06-optimize-data.md",3366,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Foptimizing\u002Fsteps\u002Fstep-06-optimize-data.md",{"path":188,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":189,"sourceHtmlUrl":190},"workflows\u002Foptimizing\u002Fsteps\u002Fstep-07-optimize-organization.md",3230,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Foptimizing\u002Fsteps\u002Fstep-07-optimize-organization.md",{"path":192,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":193,"sourceHtmlUrl":194},"workflows\u002Foptimizing\u002Fsteps\u002Fstep-08-measure-improvement.md",3179,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Foptimizing\u002Fsteps\u002Fstep-08-measure-improvement.md",{"path":196,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":197,"sourceHtmlUrl":198},"workflows\u002Foptimizing\u002Fsteps\u002Fstep-09-document-optimizations.md",3600,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Foptimizing\u002Fsteps\u002Fstep-09-document-optimizations.md",{"path":200,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":201,"sourceHtmlUrl":202},"workflows\u002Foptimizing\u002Ftemplates\u002Foutput-template.md",333,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Foptimizing\u002Ftemplates\u002Foutput-template.md",{"path":204,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":205,"sourceHtmlUrl":206},"workflows\u002Foptimizing\u002Fworkflow.md",2593,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Foptimizing\u002Fworkflow.md",{"path":208,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":209,"sourceHtmlUrl":210},"workflows\u002Freviewing\u002Fsteps\u002Fstep-01-init.md",2470,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Freviewing\u002Fsteps\u002Fstep-01-init.md",{"path":212,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":213,"sourceHtmlUrl":214},"workflows\u002Freviewing\u002Fsteps\u002Fstep-01b-continue.md",1908,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Freviewing\u002Fsteps\u002Fstep-01b-continue.md",{"path":216,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":217,"sourceHtmlUrl":218},"workflows\u002Freviewing\u002Fsteps\u002Fstep-02-test-structure.md",2533,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Freviewing\u002Fsteps\u002Fstep-02-test-structure.md",{"path":220,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":221,"sourceHtmlUrl":222},"workflows\u002Freviewing\u002Fsteps\u002Fstep-03-setup-teardown.md",2531,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Freviewing\u002Fsteps\u002Fstep-03-setup-teardown.md",{"path":224,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":225,"sourceHtmlUrl":226},"workflows\u002Freviewing\u002Fsteps\u002Fstep-04-aaa-pattern.md",2294,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Freviewing\u002Fsteps\u002Fstep-04-aaa-pattern.md",{"path":228,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":229,"sourceHtmlUrl":230},"workflows\u002Freviewing\u002Fsteps\u002Fstep-05-assertions.md",3044,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Freviewing\u002Fsteps\u002Fstep-05-assertions.md",{"path":232,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":233,"sourceHtmlUrl":234},"workflows\u002Freviewing\u002Fsteps\u002Fstep-06-coverage.md",2458,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Freviewing\u002Fsteps\u002Fstep-06-coverage.md",{"path":236,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":237,"sourceHtmlUrl":238},"workflows\u002Freviewing\u002Fsteps\u002Fstep-07-exception-testing.md",3003,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Freviewing\u002Fsteps\u002Fstep-07-exception-testing.md",{"path":240,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":241,"sourceHtmlUrl":242},"workflows\u002Freviewing\u002Fsteps\u002Fstep-08-compile-report.md",3746,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Freviewing\u002Fsteps\u002Fstep-08-compile-report.md",{"path":244,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":245,"sourceHtmlUrl":246},"workflows\u002Freviewing\u002Ftemplates\u002Foutput-template.md",273,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Freviewing\u002Ftemplates\u002Foutput-template.md",{"path":248,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":249,"sourceHtmlUrl":250},"workflows\u002Freviewing\u002Fworkflow.md",2232,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Freviewing\u002Fworkflow.md",{"path":252,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":253,"sourceHtmlUrl":254},"workflows\u002Frunning\u002Fsteps\u002Fstep-01-init.md",2723,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Frunning\u002Fsteps\u002Fstep-01-init.md",{"path":256,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":257,"sourceHtmlUrl":258},"workflows\u002Frunning\u002Fsteps\u002Fstep-01b-continue.md",1831,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Frunning\u002Fsteps\u002Fstep-01b-continue.md",{"path":260,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":261,"sourceHtmlUrl":262},"workflows\u002Frunning\u002Fsteps\u002Fstep-02-run-tests.md",2235,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Frunning\u002Fsteps\u002Fstep-02-run-tests.md",{"path":264,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":265,"sourceHtmlUrl":266},"workflows\u002Frunning\u002Fsteps\u002Fstep-03-interpret-results.md",1935,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Frunning\u002Fsteps\u002Fstep-03-interpret-results.md",{"path":268,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":269,"sourceHtmlUrl":270},"workflows\u002Frunning\u002Fsteps\u002Fstep-04-coverage.md",2093,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Frunning\u002Fsteps\u002Fstep-04-coverage.md",{"path":272,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":273,"sourceHtmlUrl":274},"workflows\u002Frunning\u002Fsteps\u002Fstep-05-handle-scenarios.md",3020,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Frunning\u002Fsteps\u002Fstep-05-handle-scenarios.md",{"path":276,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":277,"sourceHtmlUrl":278},"workflows\u002Frunning\u002Fsteps\u002Fstep-06-summary-report.md",3416,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Frunning\u002Fsteps\u002Fstep-06-summary-report.md",{"path":280,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":281,"sourceHtmlUrl":282},"workflows\u002Frunning\u002Ftemplates\u002Foutput-template.md",255,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Frunning\u002Ftemplates\u002Foutput-template.md",{"path":284,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":285,"sourceHtmlUrl":286},"workflows\u002Frunning\u002Fworkflow.md",2096,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Frunning\u002Fworkflow.md",{"path":288,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":289,"sourceHtmlUrl":290},"workflows\u002Fsetup\u002Fsteps\u002Fstep-01-init.md",2698,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Fsetup\u002Fsteps\u002Fstep-01-init.md",{"path":292,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":293,"sourceHtmlUrl":294},"workflows\u002Fsetup\u002Fsteps\u002Fstep-01b-continue.md",1677,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Fsetup\u002Fsteps\u002Fstep-01b-continue.md",{"path":296,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":297,"sourceHtmlUrl":298},"workflows\u002Fsetup\u002Fsteps\u002Fstep-02-dependencies.md",2306,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Fsetup\u002Fsteps\u002Fstep-02-dependencies.md",{"path":300,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":301,"sourceHtmlUrl":302},"workflows\u002Fsetup\u002Fsteps\u002Fstep-03-configure-jest.md",2457,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Fsetup\u002Fsteps\u002Fstep-03-configure-jest.md",{"path":304,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":305,"sourceHtmlUrl":306},"workflows\u002Fsetup\u002Fsteps\u002Fstep-04-test-helpers.md",2056,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Fsetup\u002Fsteps\u002Fstep-04-test-helpers.md",{"path":308,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":309,"sourceHtmlUrl":310},"workflows\u002Fsetup\u002Fsteps\u002Fstep-05-verify-setup.md",2673,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Fsetup\u002Fsteps\u002Fstep-05-verify-setup.md",{"path":312,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":313,"sourceHtmlUrl":314},"workflows\u002Fsetup\u002Fsteps\u002Fstep-06-npm-scripts.md",2607,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Fsetup\u002Fsteps\u002Fstep-06-npm-scripts.md",{"path":316,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":317,"sourceHtmlUrl":318},"workflows\u002Fsetup\u002Ftemplates\u002Foutput-template.md",219,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Fsetup\u002Ftemplates\u002Foutput-template.md",{"path":320,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":321,"sourceHtmlUrl":322},"workflows\u002Fsetup\u002Fworkflow.md",2108,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Fsetup\u002Fworkflow.md",{"path":324,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":325,"sourceHtmlUrl":326},"workflows\u002Fwriting\u002Fsteps\u002Fstep-01-init.md",3026,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Fwriting\u002Fsteps\u002Fstep-01-init.md",{"path":328,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":329,"sourceHtmlUrl":330},"workflows\u002Fwriting\u002Fsteps\u002Fstep-01b-continue.md",1990,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Fwriting\u002Fsteps\u002Fstep-01b-continue.md",{"path":332,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":333,"sourceHtmlUrl":334},"workflows\u002Fwriting\u002Fsteps\u002Fstep-02-test-file-structure.md",3329,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Fwriting\u002Fsteps\u002Fstep-02-test-file-structure.md",{"path":336,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":337,"sourceHtmlUrl":338},"workflows\u002Fwriting\u002Fsteps\u002Fstep-03-plan-test-cases.md",2373,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Fwriting\u002Fsteps\u002Fstep-03-plan-test-cases.md",{"path":340,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":341,"sourceHtmlUrl":342},"workflows\u002Fwriting\u002Fsteps\u002Fstep-04-happy-path.md",2549,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Fwriting\u002Fsteps\u002Fstep-04-happy-path.md",{"path":344,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":345,"sourceHtmlUrl":346},"workflows\u002Fwriting\u002Fsteps\u002Fstep-05-edge-cases.md",2938,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Fwriting\u002Fsteps\u002Fstep-05-edge-cases.md",{"path":348,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":349,"sourceHtmlUrl":350},"workflows\u002Fwriting\u002Fsteps\u002Fstep-06-error-cases.md",3236,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Fwriting\u002Fsteps\u002Fstep-06-error-cases.md",{"path":352,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":353,"sourceHtmlUrl":354},"workflows\u002Fwriting\u002Fsteps\u002Fstep-07-business-rules.md",2802,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Fwriting\u002Fsteps\u002Fstep-07-business-rules.md",{"path":356,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":357,"sourceHtmlUrl":358},"workflows\u002Fwriting\u002Fsteps\u002Fstep-08-verify-mocks.md",4102,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Fwriting\u002Fsteps\u002Fstep-08-verify-mocks.md",{"path":360,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":361,"sourceHtmlUrl":362},"workflows\u002Fwriting\u002Ftemplates\u002Foutput-template.md",324,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Fwriting\u002Ftemplates\u002Foutput-template.md",{"path":364,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":365,"sourceHtmlUrl":366},"workflows\u002Fwriting\u002Fworkflow.md",2257,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript-unit-testing\u002Fworkflows\u002Fwriting\u002Fworkflow.md",[368,376,383,390,397,404],{"skillNo":369,"name":370,"nameZh":6,"description":371,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":372,"licenseFileUrl":6,"sourceHtmlUrl":373,"categories":374,"keywords":375,"publishedAt":20},"01M7ACCCVNCFKMA9X6D15X6G98","runpodctl","Runpod CLI for managing GPU\u002FCPU workloads from the terminal — pods, serverless endpoints, templates, network volumes, Hub deploys, models, SSH, and file transfer (send\u002Freceive). Use for terminal\u002FCI\u002Fscripting, Hub browse\u002Fdeploy, SSH setup, `doctor`, or when the Runpod MCP tools are not connected. For structured tool calls in an MCP-enabled session, prefer runpod-mcp.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpodctl\u002FSKILL.md",[],[],{"skillNo":377,"name":378,"nameZh":6,"description":379,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":372,"licenseFileUrl":6,"sourceHtmlUrl":380,"categories":381,"keywords":382,"publishedAt":20},"01M7ACC63SRHEA5KMCHSMZK2TC","runpod","Start here for any Runpod task — running GPU\u002FCPU pods, deploying serverless endpoints, templates, network volumes, building images, or understanding how Runpod works. Routes to the right skill (runpod-mcp, runpodctl, flash, companion-clis, runpod-usage, runpod-templates, runpod-migrate) and indexes two dozen live-verified end-to-end examples (golden paths) — use it when the lane is unclear, and for any multi-step or provisioning task even when it is not.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod\u002FSKILL.md",[],[],{"skillNo":384,"name":385,"nameZh":6,"description":386,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":372,"licenseFileUrl":6,"sourceHtmlUrl":387,"categories":388,"keywords":389,"publishedAt":20},"01M7ACC0Q1C89N9BZBV91CTQTF","runpod-usage","How Runpod works and how to work it — pods vs serverless, GPU\u002FVRAM selection, storage, building a container, networking, plus the agentic pod development loop (provision → ssh-exec → set up → poll readiness) and on-pod install hygiene (uv\u002Fapt). Use to answer \"how does X work\", \"which GPU\", \"how do I build a container\", or \"how do I stand up a workload on a pod\". Guidance, not a tool — execute with runpodctl, runpod-mcp, or flash.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-usage\u002FSKILL.md",[],[],{"skillNo":391,"name":392,"nameZh":6,"description":393,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":372,"licenseFileUrl":6,"sourceHtmlUrl":394,"categories":395,"keywords":396,"publishedAt":20},"01M7ACBRPE345GF5GM5B8P8RRC","runpod-templates","Runpod's official prebuilt pod templates (ComfyUI, PyTorch, and others): what each image ships, which ports and paths it uses, how to pick one, how to pin a version, and what is missing on first boot. Use when a task says \"run \u003CX> on a pod\" and an official template already covers it, instead of building an image — and when a user needs help with or wants to fix something about a Runpod template they are already running (won't boot, can't reach the UI, missing models, wrong CUDA line, broken ComfyUI workflow metadata on imported workflows): start here and route onward. Deploy with runpodctl or runpod-mcp; end-to-end walkthroughs live in the runpod router's golden paths.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-templates\u002FSKILL.md",[],[],{"skillNo":398,"name":399,"nameZh":6,"description":400,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":372,"licenseFileUrl":6,"sourceHtmlUrl":401,"categories":402,"keywords":403,"publishedAt":20},"01M7ACBJATHKVX1TWES2F44GY8","runpod-migrate","Migrate a codebase from the Runpod GraphQL API or REST v1 to REST v2 — inventory which parts use which API version, rewrite the call sites, flag breaking changes, and verify. Use when someone asks to move to v2, asks what v2 would change, or asks which Runpod API their code is on. For managing infrastructure rather than migrating code, use runpod-mcp or runpodctl.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-migrate\u002FSKILL.md",[],[],{"skillNo":405,"name":406,"nameZh":6,"description":407,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":372,"licenseFileUrl":6,"sourceHtmlUrl":408,"categories":409,"keywords":410,"publishedAt":20},"01M7ACBC7GHVH6T9YEAPCG2AP8","runpod-mcp","Manage Runpod infrastructure — pods, serverless endpoints, jobs, templates, network volumes, container-registry auth, GPU\u002FCPU catalog, and billing — via the Runpod MCP server's structured tool calls. Use when the Runpod MCP tools (create-pod, list-endpoints, …) are connected in this session, or to connect them (hosted OAuth or local npx). Prefer this over runpodctl for plain infra CRUD when MCP is available; use runpodctl for the terminal, file transfer, or SSH setup.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-mcp\u002FSKILL.md",[],[]]