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.
npx claudepluginhub claude-world/director-mode-liteThis skill uses the workspace's default tool permissions.
Implement TDD for: $ARGUMENTS
Enforces 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 strict TDD for features and bugfixes: RED (write minimal failing test), GREEN (minimal passing code), REFACTOR. No production code without failing test first.
Share bugs, ideas, or general feedback.
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: 'test@example.com', password: 'password123' })
expect(res.status).toBe(200)
expect(res.body.token).toBeDefined()
})
Follow TDD strictly. No shortcuts.