Extensions Help!

I would like to start creating some extensions for Minecraft Makecode and want to know if there is a way to create the extension in the Makcode editor (like Makecode Arcade) or can it only be done in Github?