Want to hack on libswarm? Awesome! Here are instructions to get you started.
Libswarm is a part of the Docker project, and follows the same rules and principles. If you're already familiar with the way Docker does things, you'll feel right at home.
Otherwise, go read Docker's contributions guidelines.
Happy hacking!