计算机科学 > 软件工程
[提交于 2026年5月4日]
标题:LLM-Assisted Repository-Level Generation with Structured Spec-Driven Engineering
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:State-of-the-art Large Language Models (LLMs) excel in code generation at the function level. However, the output quality significantly declines when scaling to repository-level systems. Current workflows relying only on natural language prompts suffer from inherent ambiguity and a lack of verifiability. To address this, we propose structured spec-driven engineering (SSDE), a paradigm that leverages structured artifacts to guide LLM generation. We argue that structured specifications as LLM inputs make high-quality, repository-level code generation a tangible goal, while at the same time offering superior verifiability, leading to significant potential for improvement. We first investigate the feasibility of this vision through a pilot study generating Model-View-Controller (MVC) business logic for three software systems using five LLMs, and then highlight the potential, challenges, and future roadmap for SSDE.
提交历史
来自:Shuzhao Feng[v1] 2026年5月4日 星期一 10:58:22 UTC (326 KB)