GitLab

3 best practices for building software in the era of LLMs

Jul 10, 2025Salman Ladha
3 best practices for building software in the era of LLMs
SummaryAI, from the source post

This post introduces three best practices for building software in the era of LLMs: 1. Never trust, always verify AI-generated code, treating it like input from a junior developer requiring review. It highlights GitLab Duo Code Review as a tool to enhance human judgment. 2. Prompt for secure patterns by including security requirements (input validation, rate limiting, phishing-resistant auth) in LLM prompts, referencing OWASP best practices. 3. Scan everything without exceptions, emphasizing the critical role of SAST, SCA, and Secret Detection in mitigating risks from increased code volume and AI-generated code. It positions GitLab's integrated security features as essential for maintaining speed and security.

More from the AI-Assisted Features in DevSecOps trail