The snapd and snap tools enable systems to work with .snap files. See snapcraft.io for a high level overview about snap files and the snapd application.
To get started with development off the snapd code itself, please check out HACKING.md for in-depth details.
If you have found an issue with the application, please file a bug on the bugs list on Launchpad.