/userscript-development:test-userscriptfrom userscript-development
Validate a userscript end-to-end in a real Chrome tab via the Claude in Chrome MCP. Loads the target page, simulates the script's effect, reads console logs and DOM state, and reports whether the script's behavior matches its `@description`.
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.
Validate userscript behavior live in Chrome. Tampermonkey itself can't be installed/configured by Claude in Chrome (it's a browser extension installed by the user), so this skill does simulated injection: it navigates to the target site and evaluates the userscript body via playwright_evaluate / javascript_tool to confirm logic works against real DOM.
bump-versionThe Claude in Chrome MCP must be available. Tools used:
mcp__claude-in-chrome__tabs_context_mcp — pick a tabmcp__claude-in-chrome__tabs_create_mcp — open the target URLmcp__claude-in-chrome__navigate — go to a @match URLmcp__claude-in-chrome__javascript_tool — inject and run the script bodymcp__claude-in-chrome__read_console_messages — collect console.log outputmcp__claude-in-chrome__read_page / get_page_text — inspect the resulting DOMLoad each tool via ToolSearch first.
.user.js file. Parse the metadata block — extract @match / @include URLs and @grant list.GM_* APIs the simulator can't provide (GM_xmlhttpRequest, GM_setValue, GM_getValue, etc.). Tell the user this script can only be validated by installing it in Tampermonkey and exercising it manually. Stop here.@grant none, proceed: open one of the matched URLs in a new tab, wait for document-idle, then playwright_evaluate the IIFE body.gif_creator.A short report (under 30 lines) the user can paste into a commit message or PR description.
What SKILL.md sets; muted values are Claude Code's defaults
8 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./new-userscriptScaffold a new Tampermonkey userscript with a complete `==UserScript==` metadata block, sensible defaults, and a starter IIFE body. Drops it in the user's userscripts base directory if configured, otherwise asks where to place it./new-userscript-repoSet up a brand-new development workspace for a single userscript. Asks public or private, creates the GitHub repo with the chosen visibility, installs this plugin at project scope inside it, and ends. The user opens that repo in a fresh Claude Code session and starts authoring the script with `new-userscript`./onboardFirst-run setup for userscript-development. Optionally records the user's userscript repos base directory so other skills can default new userscripts there. Skipping is fine — the plugin works without it.userscript-development@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin userscript-development