/rs3-developer-tools:new-pluginfrom rs3-developer-tools
Create a new RS3 plugin folder with a valid manifest, a commented main.lua, LuaLS stubs wiring, and the first sync into dev_plugins.
Ships in rs3-developer-tools. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Produce a plugin folder that the RS3 beta client can load with pon <name>, that passes rs3dev validate and rs3dev preflight, and that has LuaLS completions working through .luarc.json.
plugin.json or main.lua.add-ui-window or add-event-handler.preflight-and-package.pon, poff, prl; use lowercase words joined with hyphens and no spaces.httpAccess, chatAccess or trackingAccess as optional permissions only when the feature needs them, and plan the Plugin.HasPermission fallback.rs3dev init my-plugin --permissions chatAccess --email <address>
Add --template event for a plugin without UI, --template library for one other plugins depend on, or --template minimal for an empty shell; the default window template builds a GroupBox with a label. <address> is the address users should write to; rs3dev package refuses placeholder domains such as example.com, so leave the flag off only if step 4 sets it. Add --prettyui when the plugin builds on the PrettyUI library, and --no-agent-files to skip the Cursor rules and Claude skills copy. With the MCP server, call plugin_scaffold with the same options.
4. Open plugin.json and set name and version, and confirm contactEmailAddress is a real address (the scaffold writes [email protected] when --email is omitted).
5. Read main.lua. Keep the structure: constants and reference names at the top, helpers, UI construction, event subscriptions, then PluginShutdown.
6. Check the editor picks up completions: hovering PersistentDB or ui.Button should show a signature and a @see link. If not, confirm .luarc.json points at the stubs folder of @tmhs/rs3-luals-stubs.
7. Sync and load:
rs3dev sync my-plugin
In the client console (ALT+): prf, then pon my-plugin. After edits: prl my-plugin. Use rs3dev watch my-pluginto sync on save. 8. Runrs3dev validate my-pluginandrs3dev preflight my-plugin`; both must report zero errors before the first commit.
Request: "start a plugin called loot-tally that counts drops and shows them in a window"
Result: loot-tally/plugin.json with no permissions, loot-tally/main.lua with a GroupBox, a label, an Event.ObjStackEntityAdded subscription whose reference name is lootTally.objStackAdded, PersistentDB keys prefixed lootTally: and suffixed with the character name, and a PluginShutdown that unsubscribes and destroys the window.
examples/hello-counterWhat SKILL.md sets; muted values are Claude Code's defaults
5 skills in this plugin
/add-event-handlerSubscribe an RS3 plugin to a client event with a typed callback, a namespaced reference name, and cleanup in PluginShutdown./add-testsWrite Lua tests for an RS3 plugin that run outside the client with rs3dev test, against the API fakes generated from the stubs, covering load, clicks, events, persistence and PluginShutdown./add-ui-windowAdd a GroupBox window with labels, buttons and other components to an RS3 plugin, wired to the plugin layer and destroyed on shutdown.npx claudepluginhub tmhsdigital/rs3-developer-tools --plugin rs3-developer-tools