Diff to accept
An AI code suggestion shown as a real diff: red and green lines arrive, and Accept collapses the old lines while the new ones merge into the file with a light scan.
Code and diffsNo. 0882 variationsFree with an account
Playing on its own
Variation
- The idea
- A suggested change as a diff
- Autoplay
- The file sits still while Kestrel reads it; two hunks of red and green lines slide in; the cursor accepts the first, which collapses and merges with a scan, then accepts the second, and the footer counts the result.
- When you click
- Accept or Reject each hunk with the buttons on its first line; Suggest again brings the diff back. Keyboard: Tab to a button, Enter or Space; focus moves to the next change.
- Look
- code, collapse and merge, mono type
- Variations
- Night, Paper
- Files
- index.html, style.css, script.js and prompt.md. No framework, no CDN, works offline.
The prompt and the files
Paste the prompt into Claude, ChatGPT, Lovable or any coding agent to rebuild it in your own product, or take the three files as they are.
Loading the files