dev-chatgpt-prompts  by PickleBoxer

Collection of ChatGPT prompts for developers

created 2 years ago
1,898 stars

Top 23.5% on sourcepulse

GitHubView on GitHub
Project Summary

This repository offers a curated collection of ChatGPT prompts specifically designed for developers, aiming to enhance productivity and creativity. It caters to a broad audience, from beginners to experienced professionals, by providing structured prompts for various tasks like code generation, refactoring, documentation, and even marketing.

How It Works

The core of this project is a categorized list of pre-written prompts for large language models like ChatGPT. It emphasizes a "multi-prompt approach" or "prompt chaining," where complex tasks are broken down into sequential prompts. This allows for iterative refinement, such as modernizing code, reviewing it for errors, validating feedback, and finally generating the improved code and tests. This structured interaction aims to elicit more accurate and useful responses from the AI.

Quick Start & Requirements

  • Access to a ChatGPT-compatible LLM (e.g., OpenAI's ChatGPT, Bard).
  • No specific installation required; prompts are to be copied and pasted.
  • Official ChatGPT: https://chat.openai.com/

Highlighted Details

  • Prompt Chaining: Detailed 5-step process for code modernization, review, and testing.
  • Code Refactoring: Prompts for improving performance, adding parameters, adhering to style guides, and detecting/fixing errors.
  • Code Generation: Prompts for creating functions, Dockerfiles, regular expressions, classes, and boilerplate code.
  • Documentation & Explanation: Prompts for generating READMEs, explaining code to non-technical users, and creating architecture diagrams (Mermaid).

Maintenance & Community

  • Maintained by PickleBoxer.
  • Community engagement and contributions are encouraged via the repository.

Licensing & Compatibility

  • The repository itself does not specify a license.
  • Prompts are intended for use with LLMs, whose terms of service apply.

Limitations & Caveats

The effectiveness of these prompts is highly dependent on the underlying LLM's capabilities and the user's ability to provide sufficient context. The quality of output can vary, and generated code may require manual verification and debugging.

Health Check
Last commit

9 months ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
229 stars in the last 90 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Jeff Hammerbacher Jeff Hammerbacher(Cofounder of Cloudera), and
2 more.

prompt-engine by microsoft

0.0%
3k
NPM library for LLM prompt engineering
created 3 years ago
updated 2 years ago
Feedback? Help us improve.