This is the recommended way to work with the Orderly SDK for plugin authoring, integration, and Marketplace submission, especially when you use an AI coding agent (Cursor, Claude Code, Codex, OpenCode, etc.). The idea is simple: install the official Orderly plugin skills once, pair them with the Orderly SDK Docs MCP server, and let the agent follow consistent playbooks instead of rediscovering devkit flags and SDK APIs from scratch every time.Documentation Index
Fetch the complete documentation index at: https://orderly.network/docs/llms.txt
Use this file to discover all available pages before exploring further.
Why skills + MCP matter
| Without skills-first | With skills-first |
|---|---|
You memorize orderly-devkit subcommands and flags. | The agent loads skill context and suggests the right command at the right step. |
| API usage is guessed or outdated. | MCP returns indexed docs (orderly_docs_search, orderly_docs_get_component, …) aligned with this repo. |
| Integration steps scatter across chat turns. | orderly-plugin-add centers on finding OrderlyAppProvider and the plugins array. |
orderly-devkit, registerPlugin, and @orderly.network/* packages correctly.
What gets installed
The devkit’s default skills catalog resolves toOrderlyNetwork/orderly-skills (see the @orderly.network/devkit package for the default repo constant). orderly-devkit skills install installs four skills by default:
| Skill ID | Purpose | Typical triggers (examples) |
|---|---|---|
| orderly-plugin-create | Scaffold a new plugin from the official template via orderly-devkit create plugin. | “New Orderly plugin”, “scaffold plugin”, “generate plugin” |
| orderly-plugin-write | Implement interceptors, hooks, lifecycle, and SDK usage after scaffold. | “Add interceptor”, “develop plugin”, “Orderly hooks in plugin” |
| orderly-plugin-add | Wire a plugin into a DEX host (OrderlyAppProvider, deps, plugins prop). | “Install plugin in app”, “register plugin”, “integrate Orderly plugin” |
| orderly-plugin-submit | Prepare usagePrompt, manifest, README (with consent), run orderly-devkit submit. | “Publish plugin”, “Marketplace”, “usagePrompt”, orderly-devkit submit |
skills/<skill-id>/SKILL.md (plus reference.md where present). Treat this handbook as the human-facing companion; treat skills as the agent-facing playbooks.
One-time setup (developer machine)
-
Devkit (command runner):
-
Plugin skills (agent playbooks + triggers):
For options (
--skill, custom source,npxforwarding), see CLI: skills install. -
Orderly SDK Docs MCP (API truth for
@orderly.network/*while coding or in chat):See MCP reference. Plugin authors should preferorderly_docs_searchthenorderly_docs_get_component/orderly_docs_get_type; older notes may reference a non-existentorderly_docs_get_hook—see Agent skills alignment.
Recommended end-to-end flow
Use this order for a new plugin from zero → running in a host → Marketplace:- Create — Run
orderly-devkit create plugin(interactive or--no-interactive). Skill orderly-plugin-create encodes naming (PascalCase name, plugin id rules) and--interceptorchoices. - Write — Edit generated code; use MCP for
@orderly.network/hooks,@orderly.network/ui, interceptor(Original, props, api) => ReactNode. Skill orderly-plugin-write covers patterns (wrapper vs inner component for Hooks). - Add — Add dependency and
plugins={[registerXxx()]}onOrderlyAppProvider. Skill orderly-plugin-add stresses locating the provider first. - Submit —
orderly-devkit login,submit --dry-run, thensubmit; polishusagePrompt. Skill orderly-plugin-submit gates destructive steps on user confirmation.
How the agent is supposed to use this
- User intent (“I want a plugin that …”) should match a skill by description/triggers so the right playbook loads.
- CLI is invoked as
orderly-devkit(bin name for@orderly.network/devkit). - Docs for symbols and props come from MCP, not from memory—skills explicitly call this out for orderly-plugin-write.
- Marketplace steps require explicit user confirmation before
submit—see orderly-plugin-submit skill rules.
When you are not using an agent
You can still follow this handbook and the CLI alone: read the same four stages above and use CLI reference; install@orderly.network/plugin-core from npm for the full GUIDE/TECH. Installing skills is optional but keeps your future AI sessions aligned with Orderly’s intended flows.
See also
- Getting started — installs devkit, skills, MCP, first scaffold.
- CLI reference: skills
- Agent skills alignment — MCP tool names vs. legacy skill text.