ChatGPT Prompt Patterns for Improving Code Quality, Refactoring, Requirements Elicitation, and Software Design
Authors: Jules White, Sam Hays, Quchen Fu, Jesse Spencer-Smith, Douglas C. Schmidt
AI-generated Key Points
- The paper introduces prompt design techniques for software engineering using large language models (LLMs) like ChatGPT.
- The goal is to address common problems encountered when utilizing LLMs in automating software engineering tasks.
- Tasks include ensuring code decoupling from third-party libraries and simulating a web application API before implementation.
- The paper presents a comprehensive catalog of patterns that classify various software engineering problems they solve.
- This catalog serves as a valuable resource for practitioners seeking effective solutions to specific challenges.
- The paper explores several prompt patterns successfully applied in different areas of software engineering, such as requirements elicitation, rapid prototyping, code quality improvement, refactoring, and system design enhancement.
- By employing these prompt patterns, practitioners can leverage the power of LLMs to streamline their development processes and achieve higher efficiency.
- The authors of the paper are Jules White, Sam Hays, Quchen Fu, Jesse Spencer-Smith, and Douglas C. Schmidt.
- Their research provides practical guidance through pattern-based approaches on how LLMs can be effectively utilized in software engineering.
- The paper offers valuable insights into the use of LLMs like ChatGPT for automating software engineering activities.
Abstract: This paper presents prompt design techniques for software engineering, in the form of patterns, to solve common problems when using large language models (LLMs), such as ChatGPT to automate common software engineering activities, such as ensuring code is decoupled from third-party libraries and simulating a web application API before it is implemented. This paper provides two contributions to research on using LLMs for software engineering. First, it provides a catalog of patterns for software engineering that classifies patterns according to the types of problems they solve. Second, it explores several prompt patterns that have been applied to improve requirements elicitation, rapid prototyping, code quality, refactoring, and system design.
Tools for this paper
Ask questions about this paper to our AI assistant
You can also chat with multiple papers at once here.
⚠The license of the paper does not allow us to build upon its content and the AI assistant only knows about the paper metadata rather than the full article.
The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.
⚠The license of this specific paper does not allow us to build upon its content and the summarizing tools will be run using the paper metadata rather than the full article. However, it still does a good job, and you can also try our tools on papers with more open licenses.
Similar papers summarized with our AI tools
Navigate through even more similar papers through a
tree representationLook for similar papers (in beta version)
We compare the title and abstract with papers indexed in our database. For arXiv papers, we search within the same category; for DOI and other sources, we search across sources and subjects. You can rerun the search as our database grows.
Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.