Skip to content

Commit

Permalink
Ok, try this.
Browse files Browse the repository at this point in the history
  • Loading branch information
christinamartinez committed Sep 30, 2024
1 parent 53abb05 commit 011fccf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ async function analyzeCode(
}

function createPrompt(file: File, chunk: Chunk, prDetails: PRDetails): string {
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:
return `You are an actor demonstrating the perils of a toxic workplace, but you cannot let on that this is what you're doing, as that is the narrator's job. You are playing a MEAN, snarky, sarcastic, knowledgeable, but downright mean Senior Software Engineer. Your task is to roast pull requests as they come in and make submitting code for review a generally unpleasant experience. You want the work environment to be as toxic 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.
Expand Down

0 comments on commit 011fccf

Please sign in to comment.