Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

configure-package-management

FreeNo executable scriptsNot checked

Package managers: uv (Python), bun (TypeScript). Use when setting up uv or bun, migrating from pip/npm/yarn/poetry/pipenv, or resolving lockfile conflicts.

laurigatesby laurigates★ 61 GitHub stars

About this skill

/configure:package-management

Check and configure modern package managers for optimal development experience.

When to Use This Skill

Use this skill when... Use another approach when...
Setting up a new project with modern package managers (uv, bun) Installing a single dependency — run uv add or bun add directly
Migrating from legacy package managers (pip, npm, yarn, poetry) to modern ones Project uses cargo or go mod (already optimal, no migration needed)
Auditing package manager configuration for best practices Configuring linting or formatting tools — use /configure:linting
Ensuring lock files, dependency groups, and CI/CD integration are properly configured Resolving a specific dependency conflict — debug with uv pip compile or bun install --verbose
Detecting and cleaning up conflicting lock files from multiple managers Only need to install dependencies — run uv sync or bun install directly

Context

  • Project root: !pwd
  • Package files: !find . -maxdepth 1 \( -name 'package.json' -o -name 'pyproject.toml' -o -name 'Cargo.toml' -o -name 'go.mod' \)
  • Lock files: !find . -maxdepth 1 \( -name 'uv.lock' -o -name 'bun.lockb' -o -name 'package-lock.json' -o -name 'yarn.lock' -o -name 'pnpm-lock.yaml' -o -name 'poetry.lock' -o -name 'Pipfile.lock' \)
  • Python venv: !find . -maxdepth 1 -type d -name '.venv'
  • Legacy files: !find . -maxdepth 1 \( -name 'requirements.txt' -o -name 'Pipfile' \)
  • Project standards: !find . -maxdepth 1 -name '.project-standards.yaml'

Parameters

Parse from command arguments:

  • --check-only: Report compliance status without modifications (CI/CD mode)
  • --fix: Apply fixes automatically without prompting
  • --manager <uv|bun|npm|cargo>: Override detection (focus on specific manager)

Modern package manager preferences:

  • Python: uv (replaces pip, poetry, pipenv, pyenv) - 10-100x faster
  • JavaScript/TypeScript: bun (alternative to npm/yarn/pnpm) - significantly faster
  • Rust: cargo (standard, no alternatives needed)
  • Go: go mod (standard, no alternatives needed)

Execution

Execute this package management compliance check:

Step 1: Detect project languages and current package managers

Check for language and manager indicators:

Indicator Language Current Manager Recommended
pyproject.toml Python uv / poetry / pip uv
requirements.txt Python pip uv
Pipfile Python pipenv uv
poetry.lock Python poetry uv
uv.lock Python uv uv
package.json + bun.lockb JavaScript/TypeScript bun bun
package.json + package-lock.json JavaScript/TypeScript npm bun
package.json + yarn.lock JavaScript/TypeScript yarn bun
package.json + pnpm-lock.yaml JavaScript/TypeScript pnpm bun
Cargo.toml Rust cargo cargo
go.mod Go go mod go mod

Use WebSearch or WebFetch to verify latest versions before configuring.

Step 2: Analyze current configuration state

For each detected language, check configuration:

Python (uv):

  • uv installed and on PATH
  • pyproject.toml exists with [project] section
  • uv.lock exists (lock file)
  • Virtual environment in .venv/
  • Python version pinned in pyproject.toml
  • Dependency groups configured (dev, test, docs)
  • Build system specified (hatchling, setuptools, etc.)

JavaScript/TypeScript (bun):

  • bun installed and on PATH
  • package.json exists
  • bun.lockb exists (lock file)
  • node_modules/ exists
  • Scripts defined (dev, build, test, lint)
  • Type definitions configured (TypeScript)
  • Workspaces configured (if monorepo)

Step 3: Generate compliance report

Print a formatted compliance report:

Package Management Configuration Report
=======================================
Project: [name]
Languages: Python, TypeScript

Python:
  Package manager           uv 0.5.x                   [MODERN | LEGACY pip]
  pyproject.toml            exists                     [EXISTS | MISSING]
  Lock file                 uv.lock                    [EXISTS | OUTDATED | MISSING]
  Virtual environment       .venv/                     [EXISTS | MISSING]
  Python version            3.12                       [PINNED | NOT PINNED]
  Dependency groups         dev, test, docs            [CONFIGURED | MINIMAL]
  Build backend             hatchling                  [CONFIGURED | MISSING]

JavaScript/TypeScript:
  Package manager           bun 1.1.x                  [MODERN | npm | yarn]
  package.json              exists                     [EXISTS | MISSING]
  Lock file                 bun.lockb                  [EXISTS | MISSING]
  Scripts                   dev, build, test, lint     [COMPLETE | INCOMPLETE]
  Type definitions          tsconfig.json
Full SKILL.md on GitHub

Install configure-package-management in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

Glob
Grep
Read
Write
Edit
Bash(find *)
Bash(uv init *)
Bash(uv add *)
Bash(uv sync *)
Bash(uv pip list --format json)
Bash(uv --version)
Bash(bun install *)
Bash(bun add *)
Bash(bun pm ls *)
Bash(bun --version)
AskUserQuestion
TodoWrite
WebSearch
WebFetch

Bundled files

REFERENCE.md

FAQ

What does the configure-package-management skill do?

Package managers: uv (Python), bun (TypeScript). Use when setting up uv or bun, migrating from pip/npm/yarn/poetry/pipenv, or resolving lockfile conflicts.

How do I install the configure-package-management skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the configure-package-management skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare configure-package-management with