orderly-plugin-write
Orderly plugin — develop (SDK patterns)
Write plugin code after scaffolding. Covers architecture, interceptor strategies, hooks usage, and best practices.
When to use
- User has scaffolded a plugin with orderly-plugin-create and wants to write the actual plugin code.
- User wants to add or modify interceptors, hooks, lifecycle logic.
Three Core Principles
-
Direct SDK Package Usage
- Plugins can use
@orderly.network/hooks,@orderly.network/ui,@orderly.network/utilsdirectly — same as in host apps.
- Plugins can use
-
Only SDK-Declared Injectable Targets Can Be Intercepted
- UI modifications use interceptor pattern, not traditional slots.
- Use the Inspector tool to discover available target paths.
- Specify a component path (e.g.,
Trading.OrderEntry.SubmitButton) to intercept.
More from orderlynetwork/orderly-skills
orderly-plugin-create
Use when the user wants to scaffold / generate a new Orderly plugin project via the official `@orderly.network/cli` or `orderly-devkit` CLI. Triggers on "create Orderly plugin", "new Orderly plugin", "scaffold plugin", "generate plugin", "orderly-devkit create plugin".
12orderly-plugin-add
Add / integrate / register an Orderly plugin into an Orderly SDK DEX host app. Use when the user wants to install an Orderly plugin, wire a plugin into OrderlyAppProvider, or connect a local plugin package. Triggers on "add Orderly plugin", "install Orderly plugin", "integrate Orderly plugin".
12orderly-plugin-submit
Prepare and submit / publish an Orderly plugin to the Marketplace via `orderly-devkit submit`. Covers README generation (with user consent), required usagePrompt drafting and approval, manifest updates, and API submission. Use when the user wants to publish, release, upload, or submit a plugin to the Orderly Marketplace. Triggers on "submit plugin", "publish plugin", "release plugin", "marketplace", "upload plugin", "usagePrompt", "orderly-devkit submit", "plugin manifest".
12orderly-plugin-gen
Generate Orderly SDK plugin scaffolding with unique ID, registration boilerplate, and typed interceptors. Use when the user mentions creating, developing, registering, implementing, or generating a plugin (e.g. 'create a plugin', 'generate a plugin', 'develop a plugin', 'register a plugin', 'implement a plugin', 'build a plugin', 'add a plugin', 'scaffold a plugin', 'new plugin').
8