agentsclimarketplace

Change package manager

Skill sahildave/skilltopia/.agents/skills/change-package-manager

Skilltopia is a desktop and web app for discovering, reviewing, and installing agent skills. It helps developers browse the public skills catalog, inspect skill details and audit metadata, and manage locally installed global skills from one interface.

Install
npx -y skills add sahildave/skilltopia --skill change-package-manager

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • 18 days oldThe repository was created 18 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Switch the project's package manager between npm, bun, and pnpm. Updates all config, scripts, documentation, CI workflows, and AI instructions. Use when initializing from template or switching package managers.

SKILL.md

5.0 KB, as published. Nobody here has run it

Switch this project's package manager to $ARGUMENTS.

If $ARGUMENTS is not exactly bun, pnpm, or npm, ask the user which package manager they want.

Command Mapping Reference

Detect the current package manager from AGENTS.md or package.json scripts. Use this table for all replacements:

Contextnpmbunpnpm
Install depsnpm installbun installpnpm install
Run scriptnpm run Xbun run Xpnpm run X
CI frozen installnpm cibun install --frozen-lockfilepnpm install --frozen-lockfile
Add depnpm install pkgbun add pkgpnpm add pkg
Add dev depnpm install -D pkgbun add -D pkgpnpm add -D pkg
Remove depnpm uninstall pkgbun remove pkgpnpm remove pkg
Auditnpm auditbun auditpnpm audit
Global installnpm install -g pkgbun install -g pkgpnpm add -g pkg
Execute binarynpxbunxpnpm dlx
Lock filepackage-lock.jsonbun.lockpnpm-lock.yaml

Step 1: Functional Config

package.json scripts

Read package.json. Replace the current PM's run command with the target PM's in all script values. For example, npm run typecheck becomes bun run typecheck.

tauri.conf.json

Read src-tauri/tauri.conf.json. Update beforeDevCommand and beforeBuildCommand.

GitHub Actions CI

Read .github/workflows/release.yml and apply the appropriate pattern:

Target: bun

  • Replace the Setup Node.js step with:
    - name: Setup Bun
      uses: oven-sh/setup-bun@v2
    
  • Replace npm ci with bun install --frozen-lockfile

Target: pnpm

  • Add a step before Setup Node.js:
    - name: Setup pnpm
      uses: pnpm/action-setup@v4
    
  • Change cache: 'npm' to cache: 'pnpm' in the setup-node step
  • Replace npm ci with pnpm install --frozen-lockfile

Target: npm

  • Ensure standard actions/setup-node@v4 with cache: 'npm'
  • Ensure npm ci for install step
  • Remove any pnpm/bun setup steps

Step 2: Lock File

  • Delete the old lock file (whichever of package-lock.json, bun.lock, pnpm-lock.yaml exists)
  • Run the target PM's install command to generate the new lock file

Step 3: AI Instructions & Codex Config

Update these files, replacing PM commands contextually:

  • AGENTS.md: Update rule 0 (the "Use npm only" line) to reflect the new PM. For example: 0. **Use bun only**: This project uses \bun`, NOT `npm`. Always use `bun install`, `bun run`, etc.`
  • .Codex/skills/init/SKILL.md: Replace PM commands in verification/next-steps sections
  • .Codex/skills/check/SKILL.md: Replace PM commands
  • .Codex/agents/cleanup-analyzer.md: Replace PM commands
  • .Codex/settings.local.json: Update Bash(npm ...) permission patterns to use the new PM (e.g. Bash(bun run format:*))

Step 4: Documentation

Use Grep to find all remaining references to the old PM across the codebase. Update every documentation file, making sentences read naturally — don't do blind find-replace on prose.

Key files to check:

  • README.md
  • docs/USING_THIS_TEMPLATE.md
  • docs/CONTRIBUTING.md
  • docs/SECURITY.md
  • docs/tasks.md
  • All files under docs/developer/
  • scripts/prepare-release.js (help text)

Step 5: Verify

Run a final search for any remaining references to the old PM:

grep -rn "OLD_PM_NAME" --include="*.md" --include="*.json" --include="*.yml" --include="*.js" --include="*.ts" . | grep -v node_modules | grep -v ".lock"

Review any remaining hits — some are intentional (.gitignore entries, .cursorignore patterns listing all PM artifacts).

Important Rules

  • Do NOT change .gitignore or .cursorignore — these intentionally list artifacts for all PMs
  • Do NOT change references to node_modules/ — all three PMs use this directory
  • Preserve natural prose in docs — make sentences read correctly, don't just swap words
  • npxbunx (bun) or pnpm dlx (pnpm)
  • If the target PM is already in use, inform the user and stop

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.