Plugins are JavaScript bundles in .moss/plugins//. They attach to five stages of the build pipeline — transforming content, injecting into template slots, deploying, or syndicating.

Each plugin has a manifest describing its capabilities and configuration.

.moss/plugins/my-plugin/
├── manifest.json
├── main.bundle.js
└── icon.svg

CLI

Command-line interface for testing and automation.

Slots

Template injection points and the enhance phase.

Manifest

Plugin manifest reference, configuration, and the moss-api SDK.

Hooks

The plugin lifecycle — five capabilities and their contexts.

Published with moss