From director-mode-lite
Guides strict Test-Driven Development (Red-Green-Refactor): write failing tests for normal/edge/error cases, minimal code to pass, refactor with checklists. Includes TypeScript example.
How this skill is triggered — by the user, by Claude, or both
Slash command
/director-mode-lite:test-firstThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Implement TDD for: $ARGUMENTS
Implement TDD for: $ARGUMENTS
// auth/login.test.ts
it('should return JWT token for valid credentials', async () => {
const res = await request(app)
.post('/auth/login')
.send({ email: '[email protected]', password: 'password123' })
expect(res.status).toBe(200)
expect(res.body.token).toBeDefined()
})
Follow TDD strictly. No shortcuts.
npx claudepluginhub claude-world/director-mode-liteEnforces strict TDD red-green-refactor cycle: write failing test first, minimal implementation to pass, then refactor. Use before coding for test-driven safe development.
Enforces RED-GREEN-REFACTOR TDD cycle: write a failing test first, then minimal code to pass, then refactor. Use when implementing features or fixing bugs during the implement phase.