Serverless plugins developer documentation

Hi
Is there a documentation about creating SLS plugins. I found couple articles here and there but I wonder if a real doc exists?

Thank!

Hello and welcome to the forum!

As a good starting point, you can refer to the documentation of the Serverless Framework regarding plugins. At the top of the page, you will find links to a couple of articles walking you through writing your first plugin, and if you scroll down you will find the Writing Plugins section that provide some more details.

Unfortunately, it is not exhaustive, so in addition to that, it might be helpful to have a look at the code of some existing plugins. You can find a lot of great projects on the Serverless community plugins repository.

Finally, lifecycle events are a cornerstone concept when writing plugins, but I have found to be sometimes difficult to figure out which ones I need to use. These couple of resources have helped a lot:

Hi @teddy-gustiaux, Thank a lot for these links!

I will read it for sure and maybe Ill also start giving a glance at the SLS code itself.