ChatGPT Prompt Patterns for Improving Code Quality, Refactoring, Requirements Elicitation, and Software Design

03/11/2023
by   Jules White, et al.
0

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.

READ FULL TEXT
research
02/21/2023

A Prompt Pattern Catalog to Enhance Prompt Engineering with ChatGPT

Prompt engineering is an increasingly important skill set needed to conv...
research
08/09/2023

Adaptive Intellect Unleashed: The Feasibility of Knowledge Transfer in Large Language Models

We conduct the first empirical study on using knowledge transfer to impr...
research
05/26/2023

ChatGPT: A Study on its Utility for Ubiquitous Software Engineering Tasks

ChatGPT (Chat Generative Pre-trained Transformer) is a chatbot launched ...
research
08/16/2021

Supply of engineering techniques and software design patterns in psychoanalysis and psychometrics sciences

The purpose of this study is to introduce software technologies and mode...
research
10/26/2020

Verification of Patterns

The software patterns provide building blocks to the design and implemen...
research
08/14/2020

An Object-Oriented Framework for Designing Reusable and Maintainable DEVS Models using Design Patterns

Design patterns are well practices to share software development experie...
research
12/20/2022

A Portal for High-Precision Atomic Data and Computation: Design and Best Practices

The Atom portal, udel.edu/atom, provides the scientific community with e...

Please sign up or login with your details

Forgot password? Click here to reset