How to download snaps packaging source code?

I usually learn fast by reviewing current real examples. Even I find this method is the best for a relatively fast changing tools (like with Debian packages) . Too many old things in the web and documentation lags, also most tutorial examples are quite aging. Also it is easier compared to reading source code of the tools themselves (snapd, snapcraft).

So, apt has apt-get source to download the source package (source archive + packaging scripts).

  • Is there similar feature using snap or snapcraft command?

  • If no, is similar feature planed for implementation in future?

    Even, if it is just links on the Snap store page to the project source repository & its snapcraft.yaml. Sure depending on the app license.

Currently, I’m searching through the web and public code sites or the project linked website for snapcraft.yaml.