mlsanityData to 7 Oct 2026

Prompting in the Wild: An Empirical Study of Prompt Evolution in Software Repositories

arXiv 2412.17298 ↗First posted 23 Dec 2024cs.SEcited by 16

Not on the map. Why?

Abstract (arXiv)

The adoption of Large Language Models (LLMs) is reshaping software development as developers integrate these LLMs into their applications. In such applications, prompts serve as the primary means of interacting with LLMs. Despite the widespread use of LLM-integrated applications, there is limited understanding of how developers manage and evolve prompts. This study presents the first empirical analysis of prompt evolution in LLM-integrated software development. We analyzed 1,262 prompt changes across 243 GitHub repositories to investigate the patterns and frequencies of prompt changes, their relationship with code changes, documentation practices, and their impact on system behavior. Our findings show that developers primarily evolve prompts through additions and modifications, with most changes occurring during feature development. We identified key challenges in prompt engineering: only 21.9% of prompt changes are documented in commit messages, changes can introduce logical inconsistencies, and misalignment often occurs between prompt changes and LLM responses. These insights emphasize the need for specialized testing frameworks, automated validation tools, and improved documentation practices to enhance the reliability of LLM-integrated applications.

Key facts. Cited by 16 papers in the map (data through 7 Oct 2026). First posted on arXiv 23 Dec 2024.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 8; 2026: 8.

16 papers.

Sort:

By area:

  1. 2025What Prompts Don't Say: Understanding and Managing Underspecification in LLM Promptscited by 32
  2. 2025Understanding Prompt Management in GitHub Repositories: A Call for Best Practicescited by 5
  3. 2025Abstain and Validate: A Dual-LLM Policy for Reducing Noise in Agentic Program Repaircited by 5
  4. 2026From Anatomy to Smells: An Empirical Study of SKILL.md in Agent Skillscited by 5
  5. 2025Exploring Language Patterns of Prompts in Text-to-Image Generation and Their Impact on Visual Diversitycited by 3
  6. 2026The Semi-Executable Stack: Agentic Software Engineering and the Expanding Scope of SEcited by 2
  7. 2026Why Does CLAUDE.md Keep Growing? Catastrophic Remembering in Agentic Codingcited by 2
  8. 2025Understanding Prompt Programming Tasks and Questionscited by 1
  9. 2025Prompt-with-Me: in-IDE Structured Prompt Management for LLM-Driven Software Engineeringcited by 1
  10. 2025Secure Code Generation at Scale with Reflexioncited by 1
  11. 2026Measuring Distribution Shift in User Prompts and Its Effects on LLM Performancecited by 1
  12. 2025Assertion-Aware Test Code Summarization with Large Language Modelscited by 0
4 more
  1. 2026Adoption of Generative Artificial Intelligence in the German Software Engineering Industry: An Empirical Studycited by 0
  2. 2026An Empirical Study of Downstream Adaptation for Agent Skillscited by 0
  3. 2026Who Maintains Agent Skills? A Longitudinal Study of Human-Governed, AI-Assisted Skill Maintenancecited by 0
  4. 2026Specifying and Maintaining Agentic Workflows: An Empirical Study of GitHub Agentic Workflowscited by 0