Prompts Matter: Insights and Strategies for Prompt Engineering in Automated Software Traceability
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) have the potential to revolutionize automated traceability by overcoming the challenges faced by previous methods and introducing new possibilities. However, the optimal utilization of LLMs for automated traceability remains unclear. This paper explores the process of prompt engineering to extract link predictions from an LLM. We provide detailed insights into our approach for constructing effective prompts, offering our lessons learned. Additionally, we propose multiple strategies for leveraging LLMs to generate traceability links, improving upon previous zero-shot methods on the ranking of candidate links after prompt refinement. The primary objective of this paper is to inspire and assist future researchers and engineers by highlighting the process of constructing traceability prompts to effectively harness LLMs for advancing automatic traceability.
Key facts. Cited by 15 papers in the map (data through 14 Oct 2026). First posted on arXiv 1 Aug 2023.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2024: 7; 2025: 4; 2026: 4.
15 papers.
Sort:
By area:
- 2024MARE: Multi-Agents Collaboration Framework for Requirements Engineeringcited by 28
- 2024Model Generation with LLMs: From Requirements to UML Sequence Diagramscited by 11
- 2024Analyzing Prompt Influence on Automated Method Generation: An Empirical Study with Copilotcited by 6
- 2024Instruct or Interact? Exploring and Eliciting LLMs' Capability in Code Snippet Adaptation Through Prompt Engineeringcited by 6
- 2025Do Prompt Patterns Affect Code Quality? A First Empirical Assessment of ChatGPT-Generated Codecited by 4
- 2024Benchmarking LLMs on the Semantic Overlap Summarization Taskcited by 2
- 2024Augmenting the Author: Exploring the Potential of AI Collaboration in Academic Writingcited by 2
- 2025Can LLMs Generate User Stories and Assess Their Quality?cited by 2
- 2025LinkAnchor: An Autonomous LLM-Based Agent for Issue-to-Commit Link Recoverycited by 2
- 2025aLLoyM: A large language model for alloy phase diagram predictioncited by 1
- 2026TraceDev: A Traceability-Driven Multi-agent Framework for Requirement-to-Code Developmentcited by 1
- 2024Leveraging Prompts in LLMs to Overcome Imbalances in Complex Educational Text Datacited by 0
3 more
- 2026Towards Energy-aware Requirements Dependency Classification: Knowledge-Graph vs. Vector-Retrieval Augmented Inference with SLMscited by 0
- 2026Large Language Models for Analyzing Enterprise Architecture Debt in Unstructured Documentationcited by 0
- 2026Trust-Aware Multi-Agent Traceability: Confidence-Calibrated Knowledge Graphs for Consistent Software Artifact Managementcited by 0
- 2026TraceDev: A Traceability-Driven Multi-agent Framework for Requirement-to-Code Development21 Jul 2026
- 2026Trust-Aware Multi-Agent Traceability: Confidence-Calibrated Knowledge Graphs for Consistent Software Artifact Management15 Jun 2026
- 2026Large Language Models for Analyzing Enterprise Architecture Debt in Unstructured Documentation29 Mar 2026
- 2026Towards Energy-aware Requirements Dependency Classification: Knowledge-Graph vs. Vector-Retrieval Augmented Inference with SLMs25 Mar 2026
- 2025LinkAnchor: An Autonomous LLM-Based Agent for Issue-to-Commit Link Recovery17 Aug 2025
- 2025aLLoyM: A large language model for alloy phase diagram prediction30 Jul 2025
- 2025Can LLMs Generate User Stories and Assess Their Quality?20 Jul 2025
- 2025Do Prompt Patterns Affect Code Quality? A First Empirical Assessment of ChatGPT-Generated Code18 Apr 2025
- 2024Instruct or Interact? Exploring and Eliciting LLMs' Capability in Code Snippet Adaptation Through Prompt Engineering23 Nov 2024
- 2024MARE: Multi-Agents Collaboration Framework for Requirements Engineering6 May 2024
- 2024Leveraging Prompts in LLMs to Overcome Imbalances in Complex Educational Text Data28 Apr 2024
- 2024Augmenting the Author: Exploring the Potential of AI Collaboration in Academic Writing23 Apr 2024
- 2024MARE: Multi-Agents Collaboration Framework for Requirements Engineeringcited by 28
- 2025LinkAnchor: An Autonomous LLM-Based Agent for Issue-to-Commit Link Recoverycited by 2
- 2026TraceDev: A Traceability-Driven Multi-agent Framework for Requirement-to-Code Developmentcited by 1
- 2026Trust-Aware Multi-Agent Traceability: Confidence-Calibrated Knowledge Graphs for Consistent Software Artifact Managementcited by 0
- 2026TraceDev: A Traceability-Driven Multi-agent Framework for Requirement-to-Code Development21 Jul 2026
- 2026Trust-Aware Multi-Agent Traceability: Confidence-Calibrated Knowledge Graphs for Consistent Software Artifact Management15 Jun 2026
- 2025LinkAnchor: An Autonomous LLM-Based Agent for Issue-to-Commit Link Recovery17 Aug 2025
- 2024MARE: Multi-Agents Collaboration Framework for Requirements Engineering6 May 2024
- 2024Model Generation with LLMs: From Requirements to UML Sequence Diagramscited by 11
- 2024Analyzing Prompt Influence on Automated Method Generation: An Empirical Study with Copilotcited by 6
- 2024Instruct or Interact? Exploring and Eliciting LLMs' Capability in Code Snippet Adaptation Through Prompt Engineeringcited by 6
- 2025Do Prompt Patterns Affect Code Quality? A First Empirical Assessment of ChatGPT-Generated Codecited by 4
- 2024Benchmarking LLMs on the Semantic Overlap Summarization Taskcited by 2
- 2024Augmenting the Author: Exploring the Potential of AI Collaboration in Academic Writingcited by 2
- 2025Can LLMs Generate User Stories and Assess Their Quality?cited by 2
- 2025aLLoyM: A large language model for alloy phase diagram predictioncited by 1
- 2024Leveraging Prompts in LLMs to Overcome Imbalances in Complex Educational Text Datacited by 0
- 2026Large Language Models for Analyzing Enterprise Architecture Debt in Unstructured Documentationcited by 0
- 2026Large Language Models for Analyzing Enterprise Architecture Debt in Unstructured Documentation29 Mar 2026
- 2025aLLoyM: A large language model for alloy phase diagram prediction30 Jul 2025
- 2025Can LLMs Generate User Stories and Assess Their Quality?20 Jul 2025
- 2025Do Prompt Patterns Affect Code Quality? A First Empirical Assessment of ChatGPT-Generated Code18 Apr 2025
- 2024Instruct or Interact? Exploring and Eliciting LLMs' Capability in Code Snippet Adaptation Through Prompt Engineering23 Nov 2024
- 2024Leveraging Prompts in LLMs to Overcome Imbalances in Complex Educational Text Data28 Apr 2024
- 2024Augmenting the Author: Exploring the Potential of AI Collaboration in Academic Writing23 Apr 2024
- 2024Model Generation with LLMs: From Requirements to UML Sequence Diagrams9 Apr 2024
- 2024Benchmarking LLMs on the Semantic Overlap Summarization Task26 Feb 2024
- 2024Analyzing Prompt Influence on Automated Method Generation: An Empirical Study with Copilot13 Feb 2024