Slugs are a deprecated feature of Prismic
Slugs are a deprecated feature used before we introduced the UID field. We don't recommend using them and thus don't provide any resources for it.
You can still find them in your document object for anyone with a legacy setup that uses them.
You don't need to worry about them!