Set 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`.
How this skill is triggered — by the user, by Claude, or both
Slash command
/userscript-development:new-userscript-repoThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Spin up a clean per-script workspace. This is the **bootstrap** step — it does not write the userscript itself. Once the repo exists, the user runs `new-userscript` inside it.
Spin up a clean per-script workspace. This is the bootstrap step — it does not write the userscript itself. Once the repo exists, the user runs new-userscript inside it.
Github-Stars-Cleaner). Will be used verbatim as the GitHub repo name and the local directory name.$USERSCRIPT_REPOS_BASE env varuserscripts_base_path in ${CLAUDE_USER_DATA:-${XDG_DATA_HOME:-$HOME/.local/share}/claude-plugins}/userscript-development/config.jsontest ! -d "<base>/<repo-name>" && ! gh repo view danielrosehill/<repo-name> >/dev/null 2>&1
If either hits, ask the user for a different name. Do not overwrite.mkdir -p "<base>/<repo-name>"
cd "<base>/<repo-name>"
README.md:
# <repo-name>
Tampermonkey userscript. Authored with the [`userscript-development`](https://github.com/danielrosehill/Claude-Userscript-Development-Plugin) Claude Code plugin.
Run `/new-userscript` inside this repo to scaffold the `.user.js`.
LICENSE (or skip if private and the user prefers no license — ask)..gitignore with .DS_Store, node_modules/, .envrc.git init -q
git add -A
git commit -q -m "Initial commit: <repo-name> userscript workspace"
gh repo create danielrosehill/<repo-name> --<public|private> --source=. --push
claude plugins install userscript-development@danielrosehill --scope project
<path> and run /new-userscript to scaffold the script body."gh repo edit --visibility public.new-userscript automatically — keep this skill's scope to workspace bootstrap only. Authoring is a separate step in a fresh session so the user's intent for the script can drive the metadata block.npx claudepluginhub danielrosehill/claude-code-plugins --plugin userscript-developmentGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.