What is "grade" option?

Solution 1:

grade can be either stable or devel and it essential tags the resulting snap for life with the grade it should have.

How is this useful? Imagine you are developing a snap and have CI setup to always push to the edge channel; in this case one would set grade: devel and what this does is ensure that this snap is not accidentally published to the stable channels.

A snap with grade: devel cannot be released to the stable or candidate channels.

For full documentation on the topic check publish your snap