| name | xpert-plugin-development |
| description | Guidance for developing, installing, testing, versioning, and submitting Xpert plugins. Use this skill when working in xpert-plugins on general plugins, model plugins, integrations, or middlewares. |
Xpert Plugin Development
Use this skill when the task involves plugin work in the Xpert plugin repository:
- creating a new plugin
- updating an existing plugin
- installing a local plugin into the platform
- validating plugin config, runtime behavior, or packaging
- preparing commits, version updates, or PRs
Repository:
- Official upstream:
https://github.com/xpert-ai/xpert-plugins.git
- Local plugin repository root: discover from the current workspace instead of assuming a fixed absolute path
- Local platform backend root: discover from the current workspace instead of assuming a fixed absolute path
Workflow
- Identify the plugin type first: general tool plugin, model plugin, integration plugin, or middleware plugin.
- Discover the actual local paths for the plugin repository, the target plugin directory, and the platform backend before running commands.
- Read
references/general.md for repository layout, install flow, test flow, versioning, and PR rules.
- If the task is about model providers, yaml, assets, or packaging, also read
references/model-plugins.md.
- If the task is about callbacks, bindings, notifications, or third-party platform connectivity, also read
references/integration-middleware.md.
- Prefer local installation via
source=code + workspacePath during development.
- Before finishing, verify build output, installation, runtime behavior, and submit only relevant files.
Rules
- Keep package metadata, exported entrypoints, schema, and runtime behavior aligned.
- Do not commit secrets, tokens, passwords, temporary callback URLs, or local-only debug values.
- Do not expose platform capabilities as tools unless the upstream platform APIs are confirmed to exist and are stable enough for users.
- Treat
createTools() and runtime tool execution as separate contracts and verify both.
- When the platform backend code changes, restart the backend before concluding installation or loading is broken.
- Do not hardcode machine-specific absolute paths in docs, scripts, or instructions. Use discovered paths or placeholders such as
<plugin-repo-root> and <platform-root>.
Output expectations
When using this skill, prefer this order:
- identify plugin type and affected directories
- make the minimum safe code changes
- build and validate locally
- install or reinstall into the local platform
- verify runtime behavior
- summarize risks, versioning impact, and PR readiness