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>targetFile, function, or component to testIncreasing 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>requirementFeature or function to implement with TDDNew 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