Home / Companies / Aviator / Blog / Post Details
Content Deep Dive

What if Code Review Happened Before the Code was Written?

Blog post from Aviator

Post Details
Company
Date Published
Author
Davi Maciel
Word Count
1,248
Company Posts That Month
5
Language
English
Hacker News Points
-
Post removed?
No
Summary

A novel approach to software development was tested where code reviews happen before any code is written, focusing on spec-driven verification to alleviate the bottleneck in the software development lifecycle. In this experiment, an AI agent implemented a medium-scoped software task based solely on a detailed specification, which was pre-reviewed by humans, ensuring that acceptance criteria were met to guarantee code quality. The task involved creating a hierarchical configuration system across several components, and the implementation was divided into phases. A second AI agent verified the code against 65 acceptance criteria, producing a report in mere minutes, highlighting the potential for scaling this method. The experiment found that while AI agents can efficiently generate code, they sometimes replicate or create suboptimal patterns, emphasizing the need for clear specifications and conventions. Although the approach proved effective for well-defined tasks, its applicability to ambiguous or exploratory projects remains uncertain, with ongoing efforts to refine spec-writing to balance precision and flexibility.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
AI Agents 1 4,545 963 231 +27%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.