You don’t even have to record!
Since a macro is really just keystrokes stored in a register, you don’t
have to use Q to make one. Recording is a convenience — and it’s what you
want most of the time — but it isn’t strictly necessary.
Instead, you can type the macro’s keystrokes out on a line, yank that
line into a register of your choosing — say x — and then run the register
with "xq. Helix parses the text the same way it reads back a recording, so
special keys are spelled the way the register popup showed them: <esc> for
Esc, <ret> for Enter.
Try it in the editor. Work through the checklist below. Write
A!!!<esc> on a line of its own, yank the line into the x register with
x and "xy, then move back to the headline and run it with "xq.
Amazing!