Show HN: Isolating AI-generated code from human code | Vibe as a Code

npmjs.com

1 points by bstrama 4 hours ago

Small Vite plugin: you put decorators on empty functions, run the build, and the function bodies are generated at build time into ./ai. Your source files stay unchanged.

The idea is to prototype fast without handing over project architecture to AI. Another use case is saving AI window context when generating generic code (e.g. JSX). For now it doesn’t understand full project context.

This is a working prototype of the idea - curious what others think.