What is the ‘specs to code’ approach and why does Matt Pocock criticize it?
‘Specs to code’ relies on writing specs and letting AI generate code without examining design. Pocock argues it tends to increase entropy and produce worse code over iterations because it ignores system-level design and maintainability.
How does the ‘grill me’ skill improve AI collaboration?
‘Grill me’ makes the AI interview the developer extensively to surface the shared design concept, resolve decision branches, and ensure both human and AI have aligned requirements before coding.
Why is TDD recommended when working with LLMs?
TDD forces small, verifiable steps: write a failing test, implement to pass, then refactor. This creates clear feedback loops that keep AI output focused and safe to integrate.
What are deep modules and why do they help AI work with codebases?
Deep modules encapsulate complex behavior behind simple interfaces, reducing surface area AI must understand. They make testing and delegation to AI safer and lower cognitive load.
How can teams transition a messy codebase into one that works well with AI?
Identify related code and wrap it in deep modules or vertical slices, add types and automated tests, and iterate to make interfaces explicit so AI can implement internals without breaking the system.