tangchunwu/skill-hub/source-command-setup-pm

Claude Code and agent skill by tangchunwu/skill-hub

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Configure your preferred package manager (npm/pnpm/yarn/bun)

Install

npx vskill@latest install tangchunwu/skill-hub/source-command-setup-pm

SKILL.md

The same SKILL.md was published earlier as tangchunwu/skill-hub/source-command-setup-pm.

source-command-setup-pm

Use this skill when the user asks to run the migrated source command setup-pm.

Command Template

Package Manager Setup

Configure your preferred package manager for this project or globally.

Usage

bash
# Detect current package manager
node scripts/setup-package-manager.js --detect
# Set global preference
node scripts/setup-package-manager.js --global pnpm
# Set project preference
node scripts/setup-package-manager.js --project bun
# List available package managers
node scripts/setup-package-manager.js --list

Detection Priority

When determining which package manager to use, the following order is checked:

  1. Environment variable: CLAUDE_PACKAGE_MANAGER
  2. Project config: .Codex/package-manager.json
  3. package.json: packageManager field
  4. Lock file: Presence of package-lock.json, yarn.lock, pnpm-lock.yaml, or bun.lockb
  5. Global config: ~/.Codex/package-manager.json
  6. Fallback: First available package manager (pnpm > bun > yarn > npm)

Configuration Files

Global Configuration
json
// ~/.Codex/package-manager.json
{
"packageManager": "pnpm"
}
Project Configuration
json
// .Codex/package-manager.json
{
"packageManager": "bun"
}
package.json
json
{
"packageManager": "pnpm@8.6.0"
}

Environment Variable

Set CLAUDE_PACKAGE_MANAGER to override all other detection methods:

bash
# Windows (PowerShell)
$env:CLAUDE_PACKAGE_MANAGER = "pnpm"
# macOS/Linux
export CLAUDE_PACKAGE_MANAGER=pnpm

Run the Detection

To see current package manager detection results, run:

bash
node scripts/setup-package-manager.js --detect

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
1
7-day trend score
8

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/tangchunwu/skill-hub/source-command-setup-pm/badge)](https://verified-skill.com/skills/tangchunwu/skill-hub/source-command-setup-pm)

Something wrong with this skill or its page? Tell us.