Claude

Rename a variable everywhere, safely

Edit it in place, then copy. The highlighted parts are the ones meant to change.

Edits stay on this page — nothing is saved or sent.
The slots are named rather than numbered — {{old}} and {{new}} beat $1 and $2 when you are reading a prompt back a month later.

3comments

Markdown works. Be kind.
  1. MR
    Maya Rodriguez 2 days ago

    The implicit grid explanation finally made this click for me. I had been declaring rows for years without knowing why it sometimes worked anyway.

    1. SS
      Swarnil Singhai 2 days ago

      That is exactly the trap — it works right up until the content count changes. Glad it helped.

  2. DK
    Dan K. 5 days ago

    Would love a follow-up on subgrid. It is the one part I still avoid.