From c1ad9fa60c4688d2bf2aa8539ad9ca3edeb9bfc6 Mon Sep 17 00:00:00 2001 From: Knotty Wyvern Date: Wed, 28 Oct 2026 02:34:29 -0700 Subject: [PATCH] Add the plugin SDK commands and rule to CLAUDE.md --- CLAUDE.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index 8e6e658..47ffc57 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -27,6 +27,8 @@ The [development guide](docs/development.md#architecture) maps the source folder | `pnpm smoke [filter...]` | Browser smoke tests (`tests/smoke/`). See [Browser smoke tests](docs/development.md#browser-smoke-tests). | | `pnpm build:installer --version ` | Windows installer. See [Builds](docs/builds.md). | | `pnpm package:plugin [output-folder]` | Plugin ZIP | +| `pnpm sdk:build` | Build the plugin SDK in `packages/plugin-sdk/` | +| `pnpm release:sdk --version ` | Prepare an SDK release in the public SDK clone. It never pushes. See [SDK releases](docs/releases.md). | A source edit needs the checks that cover it. A prose-only change needs only the lint and a link check. @@ -89,6 +91,7 @@ Rules from the owner: ## Plugin packages - [docs/plugin-development.md](docs/plugin-development.md) is the package and API reference for all plugin work. +- Plugins use only the SDK (`@runestone/plugin-sdk`, Apache-2.0), never direct `invoke` calls or host source files. The SDK source is `packages/plugin-sdk/`. - Each plugin ships as one standard `.zip` with `plugin.json` at the archive root. Create it with `pnpm package:plugin`. - Users install ZIPs through Settings → Plug-ins, from a local file or an experimental Gitea link. Do not add custom extensions, loose JSON installs, or folder installs.