narnia-sh/layrr — reverse-engineered prompt
Reverse engineered prompt
Build me a TypeScript tool called Layrr that makes it easy to edit a local web app by clicking on it in the browser. I should be able to start my normal dev server, run a Layrr command with the app port, and have it open a proxied version at localhost port 4567 with a small overlay.
In the overlay I want to click one or more visible elements, type a plain English request like make this button smaller or change this headline, and send that request plus the exact source file and line for the selected element to Claude Code, Codex CLI, or Gemini through Pi. If no agent is set, ask me which one to use.
Please include the command line setup, proxy injection, browser overlay, element selection, source location mapping, and a simple history panel where I can preview and revert edits. Use git for the undo path, with safe commits for successful Layrr edits.
Want more depth? Deep Reverse