Prompts as Software Engineering Artifacts: A Research Agenda and Preliminary Findings
By: Hugo Villamizar , Jannik Fischbach , Alexander Korn and more
Potential Business Impact:
Helps people use AI better for coding.
Developers now routinely interact with large language models (LLMs) to support a range of software engineering (SE) tasks. This prominent role positions prompts as potential SE artifacts that, like other artifacts, may require systematic development, documentation, and maintenance. However, little is known about how prompts are actually used and managed in LLM-integrated workflows, what challenges practitioners face, and whether the benefits of systematic prompt management outweigh the associated effort. To address this gap, we propose a research programme that (a) characterizes current prompt practices, challenges, and influencing factors in SE; (b) analyzes prompts as software artifacts, examining their evolution, traceability, reuse, and the trade-offs of systematic management; and (c) develops and empirically evaluates evidence-based guidelines for managing prompts in LLM-integrated workflows. As a first step, we conducted an exploratory survey with 74 software professionals from six countries to investigate current prompt practices and challenges. The findings reveal that prompt usage in SE is largely ad-hoc: prompts are often refined through trial-and-error, rarely reused, and shaped more by individual heuristics than standardized practices. These insights not only highlight the need for more systematic approaches to prompt management but also provide the empirical foundation for the subsequent stages of our research programme.
Similar Papers
Reporting LLM Prompting in Automated Software Engineering: A Guideline Based on Current Practices and Expectations
Software Engineering
Makes AI software help more reliable and understandable.
Which Prompting Technique Should I Use? An Empirical Investigation of Prompting Techniques for Software Engineering Tasks
Software Engineering
Makes AI better at writing and fixing computer code.
Promptware Engineering: Software Engineering for LLM Prompt Development
Software Engineering
Makes AI understand instructions better, faster.