Skip to content
Trending storyDeveloping

Lauren Tan shares /poteto-mode codebase cleanup prompt

3 reports2 sourcesFirst reportedUpdated 13h ago

The story so far

AI summary

Lauren Tan shared a codebase cleanup prompt posted by @RayFernando1337, suggesting the use of /poteto-mode to have an agent read the git log, past bug fixes, and review comments, identify recurring mistakes, and then make the same class of problem impossible to recur layer by layer, from architecture and types to lint and tests. The prompt also suggests deleting comments that restate the code; writing formal models for real bugs such as concurrency and retries and putting them into CI; submitting one verifiable PR per step; and first proving that the checks can catch real historical bugs. Lauren Tan then added that the prompt "should have a bit of paranoia" and listed several goals: make things 100 times faster, delete half the codebase without breaking functionality, turn every bug that has been fixed into a property test, and find all implicit invariants and either formally prove them or find counterexamples. Philipp Schmid shared the same set of "paranoid" prompt examples and recommended trying them with Gemini 4 neon. All of the above comes from claims in shares and proposals, not from confirmed cleanup results.

Written by AI from the coverage · updated 13h ago

Updates

2 updates

  1. Nov 29, 03:04 · 2 reports
    Your prompts should feel a little delusional
    Philipp Schmid: Philipp Schmid shares aggressive prompt ideas to try with Gemini 4 neon
  2. Nov 22, 23:28 · 1 report
    Lauren Tan shares a /poteto-mode prompt for tidying up your codebase
    Lauren Tan: Lauren Tan shares a /poteto-mode prompt for tidying up your codebase

Coverage timeline

Follow the coverage to see the story from different sides.

Nov 29
  1. Philipp Schmid
    Philipp Schmid shares aggressive prompt ideas to try with Gemini 4 neon

    Philipp Schmid shared a suggestion: prompts should carry a touch of "delusion," and gave several examples, such as making code 100x faster, deleting half the code without breaking functionality, turning every bug fixed into a property test, and finding all implicit invariants and either formally proving them or finding counterexamples. He recommends trying these prompts with Gemini 4 neon.

  2. Lauren Tan
    Your prompts should feel a little delusional

    Your prompts should feel a little delusional • Make this 100x faster • Delete half the codebase without breaking any functionality • Turn every bug we've fixed into a property test • Find all implicit invariants, formally prove them or find counterexamples

Nov 22
  1. Lauren Tan
    Lauren Tan shares a /poteto-mode prompt for tidying up your codebase

    Lauren Tan shared a codebase-tidying prompt from @RayFernando1337 that suggests using /poteto-mode to have an agent read the git log, past bug fixes and review comments, find recurring mistakes, and make them impossible to repeat layer by layer, from architecture and types to lint and tests. Other points include deleting comments that restate the code, writing formal models for real bugs such as concurrency and retries and putting them in CI, and committing one verifiable PR per step while first proving the checks can catch real historical bugs.

Heat over time

Now
24
Peak
29Nov 30, 01:00
24-hour change
+35%

This chart only tracks a consistent set of sources, so its numbers may differ from the live total heat.