From purchasing
Provision a new purchasing workspace on disk. Use when the user wants to start a new purchase decision, tech-rig planning exercise, or vendor-recommendation workspace. Accepts a workspace name and optional variant (general-purchasing | tech-procurement | vendor-recommendations). Scaffolds the workspace, personalises CLAUDE.md from the user's global memory, and (by default) creates a GitHub repo.
How this skill is triggered — by the user, by Claude, or both
Slash command
/purchasing:new-workspaceThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Creates a new workspace for running a purchase decision or recommendation exercise. This plugin's commands (`/purchasing:intake`, `/purchasing:research`, `/purchasing:rig-analyze`, `/purchasing:rec-more-like-this`, etc.) are globally available once installed — this skill only provisions the **data scaffold** (CLAUDE.md, spec.md, context/, memory/, etc.) that those commands read from and write to.
Creates a new workspace for running a purchase decision or recommendation exercise. This plugin's commands (/purchasing:intake, /purchasing:research, /purchasing:rig-analyze, /purchasing:rec-more-like-this, etc.) are globally available once installed — this skill only provisions the data scaffold (CLAUDE.md, spec.md, context/, memory/, etc.) that those commands read from and write to.
$ARGUMENTS is parsed as:
~/repos/github/my-repos.--variant=<general-purchasing|tech-procurement|vendor-recommendations> (optional): which scaffold to copy. Default: general-purchasing.--local-only (optional): skip GitHub repo creation and push. Default: create a public GitHub repo and push.--private (optional): create the GitHub repo as private. Default: public./purchasing:new-workspace new-laptop-2026
/purchasing:new-workspace workstation-rig --variant=tech-procurement
/purchasing:new-workspace podcast-picks --variant=vendor-recommendations --private
/purchasing:new-workspace scratch-buy --local-only
Extract workspace name, target parent path, variant, and flags from $ARGUMENTS. If workspace name is missing, ask the user for it before proceeding.
The bundled scaffold lives at ${CLAUDE_SKILL_DIR}/../../template/<variant>/. Confirm it exists. If the variant isn't general-purchasing, tech-procurement, or vendor-recommendations, tell the user which variants are available.
Read ~/.claude/CLAUDE.md if it exists. Extract OS, locale, timezone, currency, and user identity facts. These will personalise the workspace's CLAUDE.md at step 6.
mkdir -p <target-parent>/<workspace-name>
cp -r ${CLAUDE_SKILL_DIR}/../../template/<variant>/. <target-parent>/<workspace-name>/
Do not copy any .claude/ tree. The plugin's primitives are global.
Open the new workspace's CLAUDE.md and:
{{PROJECT_NAME}} tokens with workspace name and ambient facts.Ask the user only for facts this plugin can't infer:
spec.md under "What I'm buying". Remind them they can run /purchasing:intake to complete the spec interactively.workstation, gaming-pc). Remind them to run /purchasing:rig-setup then /purchasing:rig-profile to build hardware context./purchasing:rec-onboard to capture preferences.cd <target-parent>/<workspace-name>
git init
git add .
git commit -m "Initial workspace from purchasing plugin"
Unless --local-only is set:
gh repo create <workspace-name> --<public|private> --source=. --push
Use --public by default, --private if flag was passed.
Tell the user:
/purchasing:intake, /purchasing:research, /purchasing:compare, /purchasing:recommend, /purchasing:market-check, /purchasing:load-preferences, /purchasing:save-preferences./purchasing:rig-setup, /purchasing:rig-profile, /purchasing:rig-analyze, /purchasing:rig-compare, /purchasing:rig-recommend, /purchasing:rig-estimate./purchasing:rec-onboard, /purchasing:rec-more-like-this, /purchasing:rec-log-feedback, /purchasing:rec-opml-ingest, /purchasing:rec-reading-list-ingest, /purchasing:rec-watch-history-ingest, /purchasing:rec-list.${CLAUDE_SKILL_DIR}/../../template/ (not ${CLAUDE_PLUGIN_ROOT} — that variable isn't exported in skill bash injection, only in hooks/MCP)..claude/commands/, .claude/agents/, or .claude/skills/ into the new workspace. If the user wants workspace-local overrides, they can add them manually later.Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub danielrosehill/claude-code-plugins --plugin purchasing