orderly-plugin-write
Installation
SKILL.md
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.