Learning to make machines

This is a good place to start - Machine Submission Checklist - Machines - Hack The Box :: Forums

From there, @Tilia makes a good argument. Creating a box is extremely variable and also heavily based on 1) prior experience, 2) intuition, and in my opinion 3) creativity.

Good luck, and hope this helps.