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.
The loop
Section titled “The loop”- Ask the agent to build the page or the component.
- Open it in Feega and tweak it: spacing, colours, text, layout.
- Tell the agent: “pick up my Feega changes”. With MCP connected, it calls
feega_changesand gets every visual edit with the files it touched. Without MCP,git diffshows the same edits. - The agent carries on from the code as it is now, with your edits in it.
When both touch the same file
Section titled “When both touch the same file”- 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.
What lands in the diff
Section titled “What lands in the diff”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.