arXiv(opens in a new tab)cs.SEOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.07534

The EPIC Framework for Spec-Driven Development

Bruno Claudino, Ruizhe Xing, Yuanhao Zuo, Tyler Menezes, Anita Sarma, Kostadin Damevski, Zixuan Feng

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

BRUNO CLAUDINO*, Virginia Commonwealth University, USA

RUIZHE XING, Oregon State University, USA

YUANHAO ZUO, Virginia Commonwealth University, USA

TYLER MENEZES, CodeDay, USA

ANITA SARMA, Oregon State University, USA

KOSTADIN DAMEVSKI, Virginia Commonwealth University, USA

ZIXUAN FENG, Virginia Commonwealth University, USA

One practitioner we interviewed said their team writes “must” instead of “should” when instructing a coding agent, because the agent may treat “should” as optional. Small wording choices matter because agents often fill gaps in their instructions with their own assumptions. Spec-driven development (SDD) asks developers to write a specification, plan, and tasks before the agent writes code. SDD frameworks provide templates for these artifacts, but the templates do not help developers judge whether they have written enough or clearly enough. We studied what good SDD specifications contain. We scored the artifacts of 114 open-source SDD repositories against ISO/IEC/IEEE 29148 and derived practices from the highest-scoring ones. The resulting framework, EPIC, has 40 practices in 10 quality dimensions that guide developers in making expectations and decisions explicit in specifications, plans, and tasks for coding agents. The majority of SDD practitioners (N=15) endorsed every practice. Repositories in the top third of specification quality spent 11.8% of their commits on bug fixes, compared with 20.4% in the bottom third, and had a median of 4x as many contributors. Developers can use EPIC to find and fill the gaps in a specification before the agent does.

CCS Concepts: • Human-centered computing;

1 Introduction

Ask a colleague to make a query “fast,” and they will likely ask how fast, under what workload, and how the result will be checked. Ask an AI coding agent, and it may fill the gap with its own assumptions and return code that appears to answer the request [61]. Agents struggle to recognize when information is missing, even when asking would improve their solutions [79]. As one practitioner we interviewed put it, the agent is “making a decision even if I don’t” (P10). Once the code exists, it is difficult to tell which assumptions came from the developer and which came from the agent.

The underlying problem is not new. Software has always been only as good as the account of what it should do, and requirements engineering has long held that this account must state not only the required behavior but also the assumptions, constraints, and operating conditions under which the software must work [45, 82]. Incomplete and inconsistent requirements remain common problems in industry, associated with rework and overruns [56]. Coding agents raise the stakes. Producing code faster does not necessarily mean producing better software: in a study of Cursor adoption, gains in development velocity were temporary, while increases in static-analysis warnings and code complexity persisted [43]. As developers increasingly orchestrate agents rather than write every line themselves, the specification becomes the main place where they decide what gets built, and the one artifact they can review before any code exists.

Spec-driven development (SDD) puts this specification at the center of the workflow: a structured natural-language specification drives the agent’s implementation [3]. The practice barely existed

Authors' Contact Information: Bruno Claudino, claudinomab@vcu.edu, Virginia Commonwealth University, USA; Ruizhe Xing, Oregon State University, USA, xingru@oregonstate.edu; Yuanhao Zuo, Virginia Commonwealth University, USA, zuoy@vcu.edu; Tyler Menezes, CodeDay, USA, tylermenezes@codeday.org; Anita Sarma, Oregon State University, USA, anita.sarma@oregonstate.edu; Kostadin Damevski, Virginia Commonwealth University, USA, kdamevski@vcu.edu; Zixuan Feng, Virginia Commonwealth University, USA, fengz3@vcu.edu.

111:2

Trovato et al.

before 2025 and now spans more than 70,000 public GitHub repositories [3]. Yet developers have little basis for judging whether a specification says enough. SDD frameworks such as GitHub Spec Kit, Kiro, and OpenSpec provide templates and workflow steps [32, 41, 52], but a template shows where information belongs, not what is sufficient, and each framework structures it differently. A specification can fill every section and still leave assumptions unstated or contradict its plan. Requirements-quality standards define good requirements, individually and as a set [1, 28], but not the plans and tasks that SDD adds and that must agree with them. CAFE(S) defines qualities of the context an agent receives as a shared language rather than a measurement system [47]. Developers therefore lack concrete, empirically grounded guidance on what to articulate in SDD artifacts, and little evidence links requirements quality to development outcomes [34].

To our knowledge, this is the first study to derive SDD specification practices from both requirements-engineering standards and the artifacts developers write. We investigate two research questions:

• RQ1: What specification practices are used in SDD, and how do they address specification quality?

• RQ2: How does specification quality relate to software outcomes, and how do practitioners assess the clarity and usefulness of the identified practices?

Through a mixed-methods study, we established a quality lens from ISO/IEC/IEEE 29148:2018 and SDD framework guidance, applied it to artifacts from 114 open-source SDD repositories, derived practices from exemplar artifacts, and refined them using 30 grey-literature sources. The result, EPIC, organizes 40 practices for writing and reviewing SDD artifacts into ten quality dimensions and four categories: Expressive, Precise, Interpretable, and Compartmentalized. Our study yields three main findings:

(1) SDD shifts the unit of quality from the single requirement to the artifact set. The three new dimensions EPIC adds to the seven grounded in ISO/IEC/IEEE 29148:2018 concern a specification, a plan, and tasks that must agree with one another. They cover the dependencies and constraints requirements rely on, separating required behavior from implementation decisions, and recording planning information.

(2) Practitioners agree on the practices and on when they pay off. None of the 30 grey-literature sources added a practice, and a majority of the 15 practitioners we interviewed endorsed every one of the 40. Their explanations show when a practice matters, so teams can adopt practices as a project grows rather than all at once.

(3) Specification quality tracks with how repositories evolve. Repositories in the top third of scores spent 11.8% of their commits on bug fixes versus 20.4% in the bottom third, had 15% lower median code complexity, and had a median of 12.5 contributors versus 3. We treat these observational associations as hypothesis-generating; bug and vulnerability density results were mixed.

In summary, this paper contributes: (1) EPIC, an empirically grounded framework of 40 specification practices for SDD artifacts; (2) practitioner accounts of when these practices are worth their cost; and (3) exploratory evidence that specification quality is associated with code quality and development activity. These contributions give developers concrete criteria for reviewing a specification before any code exists, an agent skill that applies them, and a structure for benchmarking how agents act on specifications.

References (36)