This is first step towards using AI in scratch Thanks to JS2SCRATCH. This project is using this engine(which seems to be built on AI as well!) with good docs for building scratch projects.
I have been waiting to do this for years and found the most best fit to use AI to make .sb3
This project uses JS2SCRATCH almost as is in the src folder. I have mainly used this to build 4-5 projects with ai and trial and error. What I have now done is Put many docs in Docs\ to avoid those and document this fully. Few small changes have been done in JS2SCRATCH like fixed the bug of not supporting keydown('right arrow') while it supports left arrow,up arrow,etc. (Suspect is the AI which made the engine missed it..). This project still lags a bit in Graphical project building(works best on algorithmic projects with no game like graphics) but a powerful AI agent could compensate for that..
Who am I? : I have account @456951 in scratch. My account is currently locked by their systems as I didn't use it in past 3 years. Their team is asking me to send the original email sent by them while creating the account 7 years back. As everybody else I deleted all emails due to gmail limits. I still have access to original email but they don't seem to be happy with it. So here I stand a 7 year old scratch guy with no account to prove my self :(
git clone https://github.com/neptotech/AIforScratch,cd AIforScratch,npm run setup- Open
Sample/prompts/and use the dayfinder.md prompt or prompt template.md modified. - The project is best when run by agentic AI like github copilot(I am on student plan, and used claude haiku.) run the prompt in root of project..
- The success rate of project depend on power of ur AI.
- IMPORTANT: Many cases arise in complex project where the project works in turbowarp but not it scratch. in such cases upload to turbowarp download again the .sb3 from turbowarp and upload again to scratch. sorry for trouble but i can do nothing about engine.
- IMPORTANT: Effor has been taken to prevent need for human intervention almost and I have modified the docs myself and added new documentation for AI but if you find a new issue, just ask your ai to correct it. You can help this project by telling me the error,solution in issues tab, I will document it.
- In case of manual error debugging. Open developer panel console of scratch clear old messages,load project and check the console log. If you are not too experienced you can share the details and .sb3 in issue I will check why .sb3 didnt load.
- You will get .sb3 in your
project name\target\if all was well.. - Working sample project built by claude haiku is in sample folder named magick. this calculates day for a date. Such ALGORITHMIC projects with less graphical needs work right away.!! Edit: gpt-5 mini of github copilot which currently is free built the same straightaway. while gemini 2.5 pro didnt make the thing correctly. So it is more of compatibility than just powerful AI.
- I am exhausted typing more here. bye.
- Read
Docs/SETUP_CHECKLIST.md - Follow the checklist
- Run
berry build