Building with AI
Define a small feature, test its behavior, review the implementation, and document one improvement.
Define the smallest feature
Start with one observable behavior from your requirements. Sketch the inputs, outputs, and failure paths before asking for code. Keep data handling, permissions, and external inputs explicit when you plan a larger system.
Write example inputs and expected results
Use a normal case, a boundary and a missing value. Decide the behavior before you ask for an implementation. A concrete example settles disagreements about words like “low.”
Build and run the feature
Test three kinds of input: an ordinary count, a count exactly at the threshold, and an invalid count. Change one rule at a time and rerun all three tests. The optional workbook includes a working test bench.
Make the first run easy to inspect
Start with sample data and compare the results one row at a time. When something fails, change one part of the requirement or implementation, then rerun the original cases.
Review and iterate
Read the implementation yourself, then ask a second assistant to critique it against the brief. Add an independent test, rerun the suite, and write down the design decision. For your own feature, commit the smallest verified change and include a short usage example.