Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
80 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
43 tokens/sec
o3 Pro
7 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

ChatGPT Prompt Patterns for Improving Code Quality, Refactoring, Requirements Elicitation, and Software Design (2303.07839v1)

Published 11 Mar 2023 in cs.SE and cs.AI

Abstract: This paper presents prompt design techniques for software engineering, in the form of patterns, to solve common problems when using 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.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (5)
  1. Jules White (19 papers)
  2. Sam Hays (5 papers)
  3. Quchen Fu (9 papers)
  4. Jesse Spencer-Smith (5 papers)
  5. Douglas C. Schmidt (12 papers)
Citations (123)