Intelligent test generation and coverage analysis
Detailed documentation for each command including when to use it, what it's best for, and real-world examples.
Generate intelligent tests
Automatically generates comprehensive unit tests, integration tests, and E2E tests based on code analysis. Understands function behavior, edge cases, and error conditions to create thorough test coverage.
/siftcoder:test <target> target File, function, or component to test Increasing test coverage, testing legacy code, TDD workflow support
Complex functions, critical business logic, APIs, user interfaces
/siftcoder:test src/utils/validation.ts # Creates: Unit tests for all functions, edge cases, error conditions
Test-driven development workflow
Implements TDD by writing tests first, then implementing code to make tests pass. Follows red-green-refactor cycle with comprehensive test coverage and clean implementation.
/siftcoder:tdd <requirement> requirement Feature or function to implement with TDD New feature development, practicing TDD, ensuring high test coverage
Critical business logic, complex algorithms, quality-focused development
/siftcoder:tdd 'User authentication with JWT' # 1. Writes failing tests # 2. Implements auth logic # 3. All tests pass