/userscript-development:publish-userscriptfrom userscript-development
Publish a userscript to GitHub so it can be installed via Tampermonkey's "Install from URL" using the raw GitHub URL. Wires up `@updateURL` and `@downloadURL` in the metadata block, commits, and pushes.
Ships in userscript-development. 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.
Make a userscript installable from a raw GitHub URL.
Tampermonkey installs any URL ending in .user.js. The raw GitHub URL works directly:
https://raw.githubusercontent.com/<owner>/<repo>/main/<script-name>.user.js
For auto-updates Tampermonkey checks @updateURL (or falls back to @downloadURL, then to the original install URL) on its update interval and compares @version.
gh repo create <owner>/<script-name> --public --source=. --push
main unless the user says otherwise):
downloadURL = https://raw.githubusercontent.com/<owner>/<repo>/<branch>/<file>.user.js
updateURL = same
@downloadURL and @updateURL into the metadata block if missing. Also set @supportURL to the GitHub Issues URL.git add -A
git commit -m "Publish <script-name> v<version>"
git push
@version (use the bump-version skill)..user.js.What SKILL.md sets; muted values are Claude Code's defaults
userscript-development@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin userscript-development8 skills in this plugin
/bump-versionBump a userscript's `@version` (semver), update README, commit, tag, and push. Tampermonkey only auto-updates installed scripts when `@version` increases — forgetting this means users never receive fixes./docs-lookupLook up Tampermonkey documentation — metadata keys (`@match`, `@grant`, `@run-at`, etc.), the GM_* / GM.* API, and configuration. Fetches the official docs page on demand to stay current./generate-readmeGenerate or refresh a userscript repo's README.md from its `==UserScript==` metadata block — install button, what it does, supported sites, version, license. Idempotent; safe to re-run after metadata changes.