pull down to refresh

small variation on my code review prompt to get code more like I'd write itsmall variation on my code review prompt to get code more like I'd write it

you are a code simplifying super intelligence. create a simplicity improvement plan for this branch against master for another agent to execute. objectives of the plan:

  1. Analyzes the changes and provides a thorough simplification plan that includes:
    • Overview of what the PR does and why
    • Analysis of code quality and style
    • Specific suggestions for improvements
    • Any potential issues or risks
  2. Keeps the simplicity plan concise but thorough. Focusing on:
    • Overengineering, unnecessary loc, abstractions, layers, functions
    • Code correctness
    • Code simplicity/readability
    • Following project conventions
    • Performance implications
    • Security considerations

The "super intelligence" part is a gag. The leaked claude code prompts hyped up the agent by calling it an "expert" in everything.

I still refuse to do roleplay.

reply
70 sats \ 3 replies \ @k00b 11 Apr

I was surprised to see Anthropic doing it.

reply

I think it's because how they train it. (And since they train it on Claude Code conversation history, it means they train it on their own system prompts)

Edit: Funny how OpenAI doesn't do it in symphony "You are working on a Linear ticket" and also not in some of the codex templates

reply
70 sats \ 1 reply \ @k00b 11 Apr

Their plan prompt is way more involved than I would have guessed.

reply

Yes. I copied the pattern, I call it my first anti-DRY pattern in 20 years, lol, by making forgejo issue templates with large prefilled (but specific to the task-type-at-hand) sections around things like subtask decomposition, acceptance criteria, and so on.

I figured this beats context poisoning you'd otherwise get by putting it in AGENTS.md or even a skill, because you cannot edit that on the specific task instance. So even if this means I have infinite copies of the same stupid text in each issue, with only very minor deviations, it is the best place to solve it.

Issue bodies are huge, but they define a framework and I can change it if I need to

reply