Skip to content
feega
star on github download

Feega and Claude Code in one session

Tweak visually in Feega, then tell Claude Code, Cursor or Codex to pick up the diff. What happens when both touch the same file.

Feega and your agent write the same files. Feega has no copy of your code: every edit is read from disk and written back to disk, so each one sees what the other wrote.

  1. Ask the agent to build the page or the component.
  2. Open it in Feega and tweak it: spacing, colours, text, layout.
  3. Tell the agent: “pick up my Feega changes”. With MCP connected, it calls feega_changes and gets every visual edit with the files it touched. Without MCP, git diff shows the same edits.
  4. The agent carries on from the code as it is now, with your edits in it.
  • The agent edits a file while Feega is open. The dev server reloads and Feega shows the new code. The next visual edit is made on the file as the agent left it.
  • You edit in Feega while the agent works. Your edit lands on disk at once. An agent that re-reads the file before writing keeps it; one that writes an old copy over it overwrites it. Make visual edits between agent turns, not during one.
  • Undo after the agent changed the file. Feega restores a file only if it still holds what Feega wrote. If the agent changed it since, undo stops and says “a file changed after the edit: not restored”, rather than overwrite the agent’s work.

Visual edits are written the way your project styles things: classes with Tailwind, rules in the component’s style block or CSS module otherwise. The diff is the one you would have written by hand, so the agent reads it as ordinary code.