I’ve been working with students learning to code through MakeCode Arcade and noticed they often get stuck on bugs or don’t know what blocks to use next. Figured I’d throw together a Chrome extension that adds an AI assistant right in the editor.
Has a complexity slider so it can explain things simply for younger kids or be more technical for experienced users
Uses Gemini API for the AI stuff
The blocks detection was actually trickier than expected - had to look at the DOM to see which editor tab is active rather than just checking file contents.
For younger learners, it uses simple language and tells them which blocks to drag from which category. For older/experienced users, it can give proper TypeScript examples.
It’s pretty basic but does the job. Code’s on GitHub if anyone wants to mess with it or has suggestions.
NB: it doesn’t include significant AI guardrails. Something to consider with younger age groups. I could add in the future.
Please do not use generative AI. It seems cool and helpful but learning how to debug is a valuable skill and this stuff will probably get it wrong 50% of the time anyway.
Also:
“With larger and new AI-focused data centers, water consumption is increasing alongside energy usage and carbon emissions.“
yeah will work on edge. download the repo, generate your api key (free) on google ai studio and add it to the extension. Then click on chat when in a editor window.
By my understanding, AI is fueled by those big data centers, and because of that data companies are making more of them. As people continue to use AI, there will be higher and higher demand for data centers and then higher and higher water usage and co2 emissions.