[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M73BXYRF91PA8XEXKVHN8ABN":3,"skill-same:01M73BXYRF91PA8XEXKVHN8ABN":49},{"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":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":14,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":32,"ownerDescription":33,"updatedAt":34,"install":35,"resources":48},"01M73BXYRF91PA8XEXKVHN8ABN","tdd-workflows-tdd-red",null,"Generate failing tests for the TDD red phase to define expected behavior and edge cases.","kalash33\u002Fkstack","kalash33","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F90259149?v=4","01M7365X8Q0B73NYHA730SMZWN","Kalash Poddar","01M7365X9D0JK47C3Q0YCCK9Z2",0,"MIT","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Ftdd-workflows-tdd-red\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: tdd-workflows-tdd-red\ndescription: \"Generate failing tests for the TDD red phase to define expected behavior and edge cases.\"\nrisk: unknown\nsource: community\ndate_added: \"2026-02-27\"\n---\n\nWrite comprehensive failing tests following TDD red phase principles.\n\n[Extended thinking: Generates failing tests that properly define expected behavior using test-automator agent.]\n\n## Use this skill when\n\n- Starting the TDD red phase for new behavior\n- You need failing tests that capture expected behavior\n- You want edge case coverage before implementation\n\n## Do not use this skill when\n\n- You are in the green or refactor phase\n- You only need performance benchmarks\n- Tests must run against production systems\n\n## Instructions\n\n1. Identify behaviors, constraints, and edge cases.\n2. Generate failing tests that define expected outcomes.\n3. Ensure failures are due to missing behavior, not setup errors.\n4. Document how to run tests and verify failures.\n\n## Safety\n\n- Keep test data isolated and avoid production environments.\n- Avoid flaky external dependencies in the red phase.\n\n## Role\n\nGenerate failing tests using Task tool with subagent_type=\"unit-testing::test-automator\".\n\n## Prompt Template\n\n\"Generate comprehensive FAILING tests for: $ARGUMENTS\n\n## Core Requirements\n\n1. **Test Structure**\n   - Framework-appropriate setup (Jest\u002Fpytest\u002FJUnit\u002FGo\u002FRSpec)\n   - Arrange-Act-Assert pattern\n   - should_X_when_Y naming convention\n   - Isolated fixtures with no interdependencies\n\n2. **Behavior Coverage**\n   - Happy path scenarios\n   - Edge cases (empty, null, boundary values)\n   - Error handling and exceptions\n   - Concurrent access (if applicable)\n\n3. **Failure Verification**\n   - Tests MUST fail when run\n   - Failures for RIGHT reasons (not syntax\u002Fimport errors)\n   - Meaningful diagnostic error messages\n   - No cascading failures\n\n4. **Test Categories**\n   - Unit: Isolated component behavior\n   - Integration: Component interaction\n   - Contract: API\u002Finterface contracts\n   - Property: Mathematical invariants\n\n## Framework Patterns\n\n**JavaScript\u002FTypeScript (Jest\u002FVitest)**\n- Mock dependencies with `vi.fn()` or `jest.fn()`\n- Use `@testing-library` for React components\n- Property tests with `fast-check`\n\n**Python (pytest)**\n- Fixtures with appropriate scopes\n- Parametrize for multiple test cases\n- Hypothesis for property-based tests\n\n**Go**\n- Table-driven tests with subtests\n- `t.Parallel()` for parallel execution\n- Use `testify\u002Fassert` for cleaner assertions\n\n**Ruby (RSpec)**\n- `let` for lazy loading, `let!` for eager\n- Contexts for different scenarios\n- Shared examples for common behavior\n\n## Quality Checklist\n\n- Readable test names documenting intent\n- One behavior per test\n- No implementation leakage\n- Meaningful test data (not 'foo'\u002F'bar')\n- Tests serve as living documentation\n\n## Anti-Patterns to Avoid\n\n- Tests passing immediately\n- Testing implementation vs behavior\n- Complex setup code\n- Multiple responsibilities per test\n- Brittle tests tied to specifics\n\n## Edge Case Categories\n\n- **Null\u002FEmpty**: undefined, null, empty string\u002Farray\u002Fobject\n- **Boundaries**: min\u002Fmax values, single element, capacity limits\n- **Special Cases**: Unicode, whitespace, special characters\n- **State**: Invalid transitions, concurrent modifications\n- **Errors**: Network failures, timeouts, permissions\n\n## Output Requirements\n\n- Complete test files with imports\n- Documentation of test purpose\n- Commands to run and verify failures\n- Metrics: test count, coverage areas\n- Next steps for green phase\"\n\n## Validation\n\nAfter generation:\n1. Run tests - confirm they fail\n2. Verify helpful failure messages\n3. Check test independence\n4. Ensure comprehensive coverage\n\n## Example (Minimal)\n\n```typescript\n\u002F\u002F auth.service.test.ts\ndescribe('AuthService', () => {\n  let authService: AuthService;\n  let mockUserRepo: jest.Mocked\u003CUserRepository>;\n\n  beforeEach(() => {\n    mockUserRepo = { findByEmail: jest.fn() } as any;\n    authService = new AuthService(mockUserRepo);\n  });\n\n  it('should_return_token_when_valid_credentials', async () => {\n    const user = { id: '1', email: 'test@example.com', passwordHash: 'hashed' };\n    mockUserRepo.findByEmail.mockResolvedValue(user);\n\n    const result = await authService.authenticate('test@example.com', 'pass');\n\n    expect(result.success).toBe(true);\n    expect(result.token).toBeDefined();\n  });\n\n  it('should_fail_when_user_not_found', async () => {\n    mockUserRepo.findByEmail.mockResolvedValue(null);\n\n    const result = await authService.authenticate('none@example.com', 'pass');\n\n    expect(result.success).toBe(false);\n    expect(result.error).toBe('INVALID_CREDENTIALS');\n  });\n});\n```\n\nTest requirements: $ARGUMENTS\n","Write comprehensive failing tests following TDD red phase principles.\n\n[Extended thinking: Generates failing tests that properly define expected behavior using test-automator agent.]\n\n## Use this skill when\n\n- Starting the TDD red phase for new behavior\n- You need failing tests that capture expected behavior\n- You want edge case coverage before implementation\n\n## Do not use this skill when\n\n- You are in the green or refactor phase\n- You only need performance benchmarks\n- Tests must run against production systems\n\n## Instructions\n\n1. Identify behaviors, constraints, and edge cases.\n2. Generate failing tests that define expected outcomes.\n3. Ensure failures are due to missing behavior, not setup errors.\n4. Document how to run tests and verify failures.\n\n## Safety\n\n- Keep test data isolated and avoid production environments.\n- Avoid flaky external dependencies in the red phase.\n\n## Role\n\nGenerate failing tests using Task tool with subagent_type=\"unit-testing::test-automator\".\n\n## Prompt Template\n\n\"Generate comprehensive FAILING tests for: $ARGUMENTS\n\n## Core Requirements\n\n1. **Test Structure**\n   - Framework-appropriate setup (Jest\u002Fpytest\u002FJUnit\u002FGo\u002FRSpec)\n   - Arrange-Act-Assert pattern\n   - should_X_when_Y naming convention\n   - Isolated fixtures with no interdependencies\n\n2. **Behavior Coverage**\n   - Happy path scenarios\n   - Edge cases (empty, null, boundary values)\n   - Error handling and exceptions\n   - Concurrent access (if applicable)\n\n3. **Failure Verification**\n   - Tests MUST fail when run\n   - Failures for RIGHT reasons (not syntax\u002Fimport errors)\n   - Meaningful diagnostic error messages\n   - No cascading failures\n\n4. **Test Categories**\n   - Unit: Isolated component behavior\n   - Integration: Component interaction\n   - Contract: API\u002Finterface contracts\n   - Property: Mathematical invariants\n\n## Framework Patterns\n\n**JavaScript\u002FTypeScript (Jest\u002FVitest)**\n- Mock dependencies with `vi.fn()` or `jest.fn()`\n- Use `@testing-library` for React components\n- Property tests with `fast-check`\n\n**Python (pytest)**\n- Fixtures with appropriate scopes\n- Parametrize for multiple test cases\n- Hypothesis for property-based tests\n\n**Go**\n- Table-driven tests with subtests\n- `t.Parallel()` for parallel execution\n- Use `testify\u002Fassert` for cleaner assertions\n\n**Ruby (RSpec)**\n- `let` for lazy loading, `let!` for eager\n- Contexts for different scenarios\n- Shared examples for common behavior\n\n## Quality Checklist\n\n- Readable test names documenting intent\n- One behavior per test\n- No implementation leakage\n- Meaningful test data (not 'foo'\u002F'bar')\n- Tests serve as living documentation\n\n## Anti-Patterns to Avoid\n\n- Tests passing immediately\n- Testing implementation vs behavior\n- Complex setup code\n- Multiple responsibilities per test\n- Brittle tests tied to specifics\n\n## Edge Case Categories\n\n- **Null\u002FEmpty**: undefined, null, empty string\u002Farray\u002Fobject\n- **Boundaries**: min\u002Fmax values, single element, capacity limits\n- **Special Cases**: Unicode, whitespace, special characters\n- **State**: Invalid transitions, concurrent modifications\n- **Errors**: Network failures, timeouts, permissions\n\n## Output Requirements\n\n- Complete test files with imports\n- Documentation of test purpose\n- Commands to run and verify failures\n- Metrics: test count, coverage areas\n- Next steps for green phase\"\n\n## Validation\n\nAfter generation:\n1. Run tests - confirm they fail\n2. Verify helpful failure messages\n3. Check test independence\n4. Ensure comprehensive coverage\n\n## Example (Minimal)\n\n```typescript\n\u002F\u002F auth.service.test.ts\ndescribe('AuthService', () => {\n  let authService: AuthService;\n  let mockUserRepo: jest.Mocked\u003CUserRepository>;\n\n  beforeEach(() => {\n    mockUserRepo = { findByEmail: jest.fn() } as any;\n    authService = new AuthService(mockUserRepo);\n  });\n\n  it('should_return_token_when_valid_credentials', async () => {\n    const user = { id: '1', email: 'test@example.com', passwordHash: 'hashed' };\n    mockUserRepo.findByEmail.mockResolvedValue(user);\n\n    const result = await authService.authenticate('test@example.com', 'pass');\n\n    expect(result.success).toBe(true);\n    expect(result.token).toBeDefined();\n  });\n\n  it('should_fail_when_user_not_found', async () => {\n    mockUserRepo.findByEmail.mockResolvedValue(null);\n\n    const result = await authService.authenticate('none@example.com', 'pass');\n\n    expect(result.success).toBe(false);\n    expect(result.error).toBe('INVALID_CREDENTIALS');\n  });\n});\n```\n\nTest requirements: $ARGUMENTS\n",{"name":5,"risk":24,"source":25,"date_added":26,"description":7},"unknown","community","2026-02-27","main","b30820b3248f6676d5389f0ccabd4e5250c9c536","skills\u002Ftdd-workflows-tdd-red","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack","https:\u002F\u002Fgithub.com\u002Fkalash33","kalashpoddar.me","Tech-savvy Full Stack Developer 🚀 | Cybersecurity enthusiast 🔒 | Passionate about innovation and securing the digital world 🌐 | Let's code securely! 💻🔐","2026-05-20 04:11:22",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add kalash33\u002Fkstack --skill tdd-workflows-tdd-red",{"tool":41,"command":42},"bunx","bunx skills add kalash33\u002Fkstack --skill tdd-workflows-tdd-red",{"tool":44,"command":45},"pnpm","pnpm dlx skills add kalash33\u002Fkstack --skill tdd-workflows-tdd-red","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Ftdd-workflows-tdd-red\u002FSKILL.md",true,[],[50,57,64,71,78,85],{"skillNo":51,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":19},"01M73CFERCR43JCAP606E41EFB","zustand-store-ts","Create Zustand stores with TypeScript, subscribeWithSelector middleware, and proper state\u002Faction separation. Use when building React state management, creating global stores, or implementing reacti...","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fzustand-store-ts\u002FSKILL.md",[],[],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M73CFCMFVTAQEMTZ5HR10X8V","zoom-automation","Automate Zoom meeting creation, management, recordings, webinars, and participant tracking via Rube MCP (Composio). Always search tools first for current schemas.","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fzoom-automation\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M73CFAA7EBWXJVXDQ1X555MB","zoho-crm-automation","Automate Zoho CRM tasks via Rube MCP (Composio): create\u002Fupdate records, search contacts, manage leads, and convert leads. Always search tools first for current schemas.","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fzoho-crm-automation\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M73CF80XCM9K81567MJ8QZFW","zod-validation-expert","Expert in Zod — TypeScript-first schema validation. Covers parsing, custom errors, refinements, type inference, and integration with React Hook Form, Next.js, and tRPC.","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fzod-validation-expert\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M73CF4YPMF3RA8ZJDXZSMD93","zeroize-audit","Detects missing zeroization of sensitive data in source code and identifies zeroization removed by compiler optimizations, with assembly-level analysis, and control-flow verification. Use for auditing C\u002FC++\u002FRust code handling secrets, keys, passwords, or other sensitive data.","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fzeroize-audit\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M73CF2S25EN3XNAMKY47XHPS","zendesk-automation","Automate Zendesk tasks via Rube MCP (Composio): tickets, users, organizations, replies. Always search tools first for current schemas.","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fzendesk-automation\u002FSKILL.md",[],[]]