orderly-plugin-gen
Original:🇺🇸 English
Translated
1 scriptsChecked / no sensitive code detected
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').
1installs
Added on
NPX Install
npx skill4agent add orderlynetwork/orderly-skills orderly-plugin-genTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Orderly Plugin Generator
Quickly generate plugin project scaffolding in the Orderly SDK monorepo.
Trigger
When the user's message contains the following keywords, proactively ask whether to use this Skill to generate a plugin template:
- create a plugin / generate a plugin / develop a plugin / register a plugin
Example prompt: "Detected that you want to create an Orderly plugin. Would you like to use the orderly-plugin-gen scaffold to generate a template?"
Workflow
Step 1: Gather information
Ask the user for the following (using the AskQuestion tool):
- Plugin name (required): e.g. ,
orderbook-flash. Only lowercase letters, numbers, and hyphens are allowed.pnl-card - Plugin type (required): /
widget/pagelayout - Output path (optional): Parent path for the plugin directory. Defaults to the current project's directory.
packages/
Step 2: Run the script
Run the generation script with the Shell tool (Node.js >=20.19.0 required):
bash
node ~/.cursor/skills/orderly-plugin-gen/scripts/create-plugin.mjs \
--name <plugin-name> \
--type <widget|page|layout> \
--path <absolute-parent-path>Step 3: Report results
After the script runs, report to the user:
- The generated plugin ID
- The list of created files
- Follow-up steps:
- Run to install dependencies
pnpm install - Edit to add business logic
src/index.tsx - Register the plugin in the host app via the prop of
pluginsOrderlyProvider
- Run
Generated Structure
plugin-<name>/
├── package.json
├── tsconfig.json
├── tsup.config.ts
└── src/
├── index.tsx
└── components/
└── .gitkeepAdditional Resources
- For plugin system API reference, see reference.md