Init Commands: Guardrails from the Start
Use Deep Research to create init file
Episode 7
Use Deep Research to create init file
The presenter demonstrates how to create new coding guidelines using Deep Research within their system, even for technologies they are unfamiliar with (like Spring Boot). They emphasize using Claude or Gemini Deep Research on the web due to their superior searching capabilities, generating a comprehensive report of best practices. The presenter copies and pastes this entire report into their system. They advocate for leveraging AI to condense the research into actionable rules ("do this, don't do that") before applying personal judgment. While AI provides a solid foundation, it's crucial to review and modify the suggested rules to align with specific preferences and coding standards. The example shows the system creating a new "init Spring Boot" command, updating relevant configuration files. The system then generates rules (e.g., package structure, constructor injection, DTO usage), which the presenter admits lacking the expertise to fully evaluate. They stress the importance of reviewing these AI-generated rules and customizing them based on informed decisions. They would then run init.all to ensure the new Spring Boot application adheres to the custom rule set. The demonstration concludes by raising the question of how to manually enforce these newly created guidelines, beyond relying on hope.