Template registry for np plugin init. Each template is a complete plugin scaffold rendered with Go text/template.
plugin-templates/
├── manifest.yaml # registry: categories, SDKs, templates + variables
└── templates/
└── <sdk>/
└── <category>/
└── ... # template files, rendered with {{ .Var }}
| Category | SDK | Description |
|---|---|---|
| scope | bun | Deployment target plugin (Kubernetes, Lambda, ECS, ...) |
| simple | bun | Custom command handler (health checks, migrations, ...) |
| service | bun | Application dependency plugin (databases, caches, ...) |
- Create a directory under
templates/<sdk>/<category>/with the source files - Use
{{ .Name }},{{ .Slug }},{{ .Category }},{{ .Provider }}in file contents and names - Register it in
manifest.yamlundertemplates:with the matchingtypeandsdk - Add any new variables to the category definition in
manifest.yaml