Skip to content

papayaglobal/prompts-playground-for-coders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

LLM Prompts Playground for Coders

This is the repository which contains examples of using LLMs to help us with coding experience.

So far, the prompts were tested in Google LLMs, on Google AI Studio. Feel free to check how these works with others, like ChatGPT, Claude and others.

Use cases

Sugest a bug fix

Steps:

  1. Open Google AI Studio https://aistudio.google.com/prompts/new_chat
  2. Paste the first prompt - examplanation what you want to achieve: fix-a-bug/1 - LL Experiments - Prompt - suggest bug fix
  3. Paste your exception, stacktrace or error: fix-a-bug/2 - LLM Experiments - Prompt - Issue
  4. Paste your code. For the example we use File Generator microservice which was converted into single file: fix-a-bug/3 - LL Experiments - Prompt - just code

Example result: Bug fix screenshot

Suggest refactoring steps for given architecture

Steps

  1. Open Google AI Studio https://aistudio.google.com/prompts/new_chat
  2. Paste the first prompt - examplanation what you want to achieve: suggest-architecture-refactoring/1 - LL Experiments - Prompt - suggest architecture improvement
  3. Paste your code. For the example we use File Generator microservice which was converted into single file: suggest-architecture-refactoring/2 - LL Experiments - Prompt - just code

About

Example use cases of LLMs to help us be better coders

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published