A couple of suggestions: - Gamify it a bit, add a timer or similar to make it speedrunable - Add some auto-completion, e.g. automatically adding a set of brackets or quotes. Or suggest commands like find, sort, etc, as you type. Similar to what you would find in MongoDB Compass
Glad you mentioned Compass, I'm browsing through their GitHub and codemirror for autocomplete looks promising; I'll explore this option further.
Cheers