What's your process in mocking up (small) features before you start writing code?
Write down spec. Maybe do a quick mockup in Sketch or go into code straight way.
Write in notes what i want to be the end result then code right away. Unless super design heavy then it is into sketch.
Writing sort of pseudo code comments.
Then once the logic is worked out, replacing those comments line by line with code.