generate_plugin
Generate a complete plugin scaffold with configuration files, TypeScript source, database migrations, routes, and registry entry.
Instructions
Generate complete plugin scaffolding with package.json, index.ts, tsconfig.json, migrations, routes, and registry entry
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| author | No | Plugin author (optional, default: FrameIO Developer) | |
| tables | No | Table definitions for migrations (optional, generates default items table if empty) | |
| pluginId | Yes | Kebab-case plugin identifier (e.g., my-plugin) | |
| description | Yes | Plugin description | |
| displayName | Yes | Human-readable plugin name (e.g., My Plugin) | |
| permissions | No | Custom permissions (optional, defaults to read/manage) | |
| includeRoutes | No | Generate backend route file (default: true) | |
| includeMigrations | No | Generate database migration file (default: true) | |
| includeBackgroundWorkers | No | Generate startBackgroundWorkers stub for scheduled jobs, event handlers, or escalation logic (default: false) |