What problem does it solve?
This Skill automates the process of developing new features using a Test-Driven Development (TDD) approach, ensuring code quality and adherence to best practices from the outset.
Core Features & Use Cases
- TDD Orchestration: Guides the entire feature development lifecycle, from initial analysis to final review.
- API Contract First: Prioritizes defining the feature's API through a failing demo use-case (doctest or script) before writing implementation code.
- Iterative Implementation: Drives development through a loop of writing tests, implementing minimal code, and verifying against the full test suite.
- Integrated Quality Gates: Includes mandatory steps for documentation, QA, linting, and code review.
- Use Case: When adding a new
predict_proba method to a machine learning model, this Skill ensures a clear API is defined via a doctest, the implementation passes that test and others, documentation is updated, and the code is linted and reviewed before merging.
Quick Start
Use the feature skill to add a batched predict() method to the Classifier, starting with a demo use-case doctest.