...The trick is to ask the AI to write a diagram in Mermaid.js format that solidifies the structure of the project and then use that as context to keep the AI reminded at all times what the project is as a whole. This will prevent it from changing things its not supposed to change.
This standalone offline web app will convert that mermaid.js code into a visual SVG image so that YOU as a human will be able to understand what the AI think about the structure of your projects so you can see it and fix any misconceptions until the diagram is correct for your project.
(Source code is included in the html itself. Open it in a webbrowser to use.)
An advanced web-based tool for checking JavaScript code using ESLint.
Luna Code Checker
An advanced web-based tool for checking JavaScript code using ESLint.
How to Use
Clone the repository.
Run npm install to install the dependencies.
Run npm start to start the server.
Open http://localhost:3000 in your webbrowser.
Write or paste your JavaScript code in the textarea.
Click the "Check Code" button to see linting results.