Skip to main content
There are two ways to start a new plugin, and both scaffold from the same GitHub template: the formae plugin init command, or an AI assistant connected to the formae MCP. Whichever you pick, the tutorial then walks you through filling in the resource schema and CRUD operations.
formae plugin init scaffolds a complete plugin project: manifest, entry point, a stub ResourcePlugin, schema, conformance test setup, CI, and a Makefile.
1

Run the scaffolder

Interactively:
It prompts for the plugin name, namespace, description, category, author, Go module path, license, and target directory, then downloads the template and generates the project. It also checks the hub for name availability and warns if your license is not on the hub’s allowlist.For automation or CI, pass everything as flags with --no-input:
Run formae plugin init --help for the complete flag list.
2

Build and install

make install places the binary, schema, and manifest under ~/.pel/formae/plugins/, where a local agent discovers it.
3

Implement the resource

The scaffold ships a stub that returns ErrNotImplemented for each CRUD method. The tutorial takes it from here: define the resource schema, then implement Create, Read, Update, Delete, and List with tests.

See also