fastify-plugin-shape
Installation
SKILL.md
Fastify plugin shape
If it doesn't hold up in production, it doesn't make the cut.
I publish Fastify plugins (fastify-orama, fastify-at-mysql, lyra-impact). The shape below is what every one of mine looks like. It's small, it's deliberate, and it doesn't drift between repos.
When this skill is active
You are about to:
- Write a new Fastify plugin (in-repo or standalone package)
- Add a
fastify.decorate(...)call - Configure or modify a
fastify-plugin(fp) wrapper - Add a TypeScript module augmentation (
declare module 'fastify' {}) - Validate plugin options or decide what to expose