Towards Detecting Prompt Knowledge Gaps for Improved LLM-guided Issue Resolution
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) have become essential in software development, especially for issue resolution. However, despite their widespread use, significant challenges persist in the quality of LLM responses to issue resolution queries. LLM interactions often yield incorrect, incomplete, or ambiguous information, largely due to knowledge gaps in prompt design, which can lead to unproductive exchanges and reduced developer productivity. In this paper, we analyze 433 developer-ChatGPT conversations within GitHub issue threads to examine the impact of prompt knowledge gaps and conversation styles on issue resolution. We identify four main knowledge gaps in developer prompts: Missing Context, Missing Specifications, Multiple Context, and Unclear Instructions. Assuming that conversations within closed issues contributed to successful resolutions while those in open issues did not, we find that ineffective conversations contain knowledge gaps in 44.6% of prompts, compared to only 12.6% in effective ones. Additionally, we observe seven distinct conversational styles, with Directive Prompting, Chain of Thought, and Responsive Feedback being the most prevalent. We find that knowledge gaps are present in all styles of conversations, with Missing Context being the most repeated challenge developers face in issue-resolution conversations. Based on our analysis, we identify key textual and code-related heuristics (Specificity, Contextual Richness, and Clarity) that are associated with successful issue closure and help assess prompt quality. These heuristics lay the foundation for an automated tool that can dynamically flag unclear prompts and suggest structured improvements. To test feasibility, we developed a lightweight browser extension prototype for detecting prompt gaps, that can be easily adapted to other tools within developer workflows.
Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). First posted on arXiv 20 Jan 2025.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2025: 7; 2026: 4.
11 papers.
- 2025Vibe Coding vs. Agentic Coding: Fundamentals and Practical Implications of Agentic AIcited by 42
- 2025Agent READMEs: An Empirical Study of Context Files for Agentic Codingcited by 23
- 2025A Comprehensive Survey on Benchmarks and Solutions in Software Engineering of LLM-Empowered Agentic Systemcited by 15
- 2026When Agents Fail: A Comprehensive Study of Bugs in LLM Agents with Automated Labelingcited by 6
- 2025Understanding Prompt Management in GitHub Repositories: A Call for Best Practicescited by 5
- 2025From Prompts to Propositions: A Logic-Based Lens on Student-LLM Interactionscited by 4
- 2025Code Roulette: How Prompt Variability Affects LLM Code Generationcited by 4
- 2025Towards Conversational Development Environments: Using Theory-of-Mind and Multi-Agent Architectures for Requirements Refinementcited by 1
- 2026Generative AI for Managerial Decision-Making under Ambiguity and Sycophancycited by 1
- 2026A Taxonomy of Runtime Faults in Model Context Protocol Serverscited by 1
- 2026How Do LLMs Read Bug Reports? An Empirical Study of Attention in LLMs for Automated Program Repaircited by 0
- 2026How Do LLMs Read Bug Reports? An Empirical Study of Attention in LLMs for Automated Program Repair28 Jul 2026
- 2026A Taxonomy of Runtime Faults in Model Context Protocol Servers3 Jun 2026
- 2026Generative AI for Managerial Decision-Making under Ambiguity and Sycophancy4 Mar 2026
- 2026When Agents Fail: A Comprehensive Study of Bugs in LLM Agents with Automated Labeling21 Jan 2026
- 2025Agent READMEs: An Empirical Study of Context Files for Agentic Coding17 Nov 2025
- 2025A Comprehensive Survey on Benchmarks and Solutions in Software Engineering of LLM-Empowered Agentic System10 Oct 2025
- 2025Understanding Prompt Management in GitHub Repositories: A Call for Best Practices15 Sep 2025
- 2025Code Roulette: How Prompt Variability Affects LLM Code Generation11 Jun 2025
- 2025Towards Conversational Development Environments: Using Theory-of-Mind and Multi-Agent Architectures for Requirements Refinement27 May 2025
- 2025Vibe Coding vs. Agentic Coding: Fundamentals and Practical Implications of Agentic AI26 May 2025
- 2025From Prompts to Propositions: A Logic-Based Lens on Student-LLM Interactions25 Apr 2025
Similar, not cited
Close in wording, no citation either way
- 2026Prompt-Driven Code Summarization: A Systematic Literature Review
- 2026Know Before Fix: QA-Driven Repository Knowledge Acquisition for Software Issue Resolution
- 2025SimpleDevQA: Benchmarking Large Language Models on Development Knowledge QA
- 2024Don't Hallucinate, Abstain: Identifying LLM Knowledge Gaps via Multi-LLM Collaboration
- 2026SkillForge: Self-Distilling Agents for Project-Specific Issue Resolution
- 2025Studying and Automating Issue Resolution for Software Quality ↗
- 2025A Taxonomy of Prompt Defects in LLM Systems
- 2025Lingxi: Repository-Level Issue Resolution Framework Enhanced by Procedural Knowledge Guided Scaling