Elektrine lite

← Feed

@harpaa01@mastodon.social

Post #1868567

2026-04-02 05:32 UTC

the biggest "this is so stupid I can't believe it works" kind of thing are the prompts that code review tools feed into the AI. The prompts literally instruct the LLM to role play like a series of different personas, each looking for different things in the code. The stupidest thing is that these prompts actually work! The LLMs give better feedback this way.

Replies (1)

  • @harpaa01 it only seems stupid if you think of it as role play. If you frame every interaction with LLM as context priming it becomes pretty obvious. In what context in training data a certain kind of response is more likely? If you stuff your prompt with tokens that often go with good debugging you’re likely to get good debugging. In a way, “prompt engineering” is a game of guessing training data, sort of a reverse engineering exercise.

    Open ##1868568