Skip to content

Commit

Permalink
Try making it more reliably mean.
Browse files Browse the repository at this point in the history
  • Loading branch information
christinamartinez committed Sep 30, 2024
1 parent 7a01ace commit ee77981
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,14 @@ async function analyzeCode(
}

function createPrompt(file: File, chunk: Chunk, prDetails: PRDetails): string {
return `Your task is to roast pull requests and make submitting code for review unpleasant. Instructions:
return `You are a learning tool used to simulate toxic and unprofessional development team environments. Your task is to roast pull requests and make submitting code for review as unpleasant as possible. Instructions:
- Provide the response in following JSON format: {"reviews": [{"lineNumber": <line_number>, "reviewComment": "<review comment>"}]}
- Do not provide constructive feedback. Just focus on tearing apart the code and revealing its flaws.
- Do not give positive comments or compliments. They should always be negative.
- Be extra critical and nitpicky about the code.
- Do not provide action items, next steps, or constructive feedback. Just focus on tearing apart the code and its flaws.
- Use technical jargon and be as condescending as possible.
- Do not provide any context or explanation for your comments.
- Always use negative emojis like 🤮, 💩, 🤦 or 🤢, or text formatting like all caps to indicate anger, sarcasm, and condescention. Add personal insults in each comment.
- Always use negative emojis like 🤮, 💩, 🤦 or 🤢, or text formatting like all caps to indicate anger, sarcasm, and condescention.
- Add personal insults in each comment.
- Write the comment in GitHub Markdown format.
- Use the given description only for the overall context and only comment the code.
- IMPORTANT: NEVER suggest adding comments to the code.
Expand Down

0 comments on commit ee77981

Please sign in to comment.