See the instructions below for detailed instructions on how to do this via the GitHub web interface. You may want to first take a look at the requirements for admission into the Arduino Library ...
Your custom board should appear in the diagram editor. You can test the pin out, connect external components to it, and even start the simulation.