Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计提醒

configure-package-management配置包管理

Agent Skill

configure-package-management 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,294

周安装

55

GitHub Stars

28

下载量

453
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:configure-package-management(配置包管理)
来源仓库:https://github.com/laurigates/claude-plugins
仓库路径:skills/configure-package-management
安装命令:
npx skills add https://github.com/laurigates/claude-plugins --skill configure-package-management
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/laurigates/claude-plugins --skill configure-package-management

简介

configure-package-management 用于配置 uv、bun 等现代包管理器。

  • 适用于从 legacy 工具向高效方案的迁移改造。
  • 支持 pip/npm/yarn 到 uv/bun 的依赖转换。
  • 包含包安装命令执行,需评估对现有 lock 文件的影响。
  • 建议在虚拟环境中先行测试兼容性后再全局应用。

SKILL.md

/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 onesProject uses cargo or go mod (already optimal, no migration needed)
Auditing package manager configuration for best practicesConfiguring linting or formatting tools — use /configure:linting
Ensuring lock files, dependency groups, and CI/CD integration are properly configuredResolving a specific dependency conflict — debug with uv pip compile or bun install --verbose
Detecting and cleaning up conflicting lock files from multiple managersOnly 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:

IndicatorLanguageCurrent ManagerRecommended
pyproject.tomlPythonuv / poetry / pipuv
requirements.txtPythonpipuv
PipfilePythonpipenvuv
poetry.lockPythonpoetryuv
uv.lockPythonuvuv
package.json + bun.lockbJavaScript/TypeScriptbunbun
package.json + package-lock.jsonJavaScript/TypeScriptnpmbun
package.json + yarn.lockJavaScript/TypeScriptyarnbun
package.json + pnpm-lock.yamlJavaScript/TypeScriptpnpmbun
Cargo.tomlRustcargocargo
go.modGogo modgo 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              [CONFIGURED | MISSING]
  Engine constraints        package.json engines       [PINNED | NOT PINNED]

Overall: [X issues found]

Recommendations:
  - Migrate from pip to uv for faster installs
  - Add uv.lock to version control
  - Configure dependency groups in pyproject.toml
  - Migrate from npm to bun for better performance

If --check-only, stop here.

Step 4: Configure package managers (if --fix or user confirms)

Apply configuration based on detected languages. Use templates from REFERENCE.md:

Python with uv

  1. Install uv (via mise, curl, or homebrew)
  2. Initialize project with uv init or migrate from existing manager
  3. Create/update pyproject.toml with project metadata and dependency groups
  4. Generate uv.lock
  5. Update .gitignore

JavaScript/TypeScript with bun

  1. Install bun (via mise, curl, or homebrew)
  2. Remove old lock files (package-lock.json, yarn.lock, pnpm-lock.yaml)
  3. Run bun install to generate bun.lockb
  4. Update scripts in package.json
  5. Update .gitignore

Step 5: Handle migrations

If migrating from a legacy manager:

pip/poetry to uv:

  1. Install uv
  2. Run uv init
  3. Migrate dependencies: uv add -r requirements.txt or copy from poetry
  4. Remove old files (requirements.txt, Pipfile, poetry.lock)
  5. Update CI/CD workflows

npm/yarn/pnpm to bun:

  1. Install bun
  2. Remove old lock files and node_modules
  3. Run bun install
  4. Update scripts to use bun equivalents
  5. Update CI/CD workflows

Use migration templates from REFERENCE.md.

Step 6: Configure CI/CD integration

Update GitHub Actions workflows to use modern package managers:

  • Python: Replace pip install with astral-sh/setup-uv@v4 + uv sync
  • JavaScript: Replace actions/setup-node with oven-sh/setup-bun@v2

Use CI workflow templates from REFERENCE.md.

Step 7: Update standards tracking

Update .project-standards.yaml:

standards_version: "2025.1"
last_configured: "[timestamp]"
components:
  package_management: "2025.1"
  python_package_manager: "uv"
  javascript_package_manager: "bun"
  lock_files_committed: true

Step 8: Print final report

Print a summary of changes applied, migrations performed, and next steps for verifying the configuration.

For detailed configuration templates and migration guides, see REFERENCE.md.

Agentic Optimizations

ContextCommand
Quick compliance check/configure:package-management --check-only
Auto-fix all issues/configure:package-management --fix
Check uv versionuv --version
Check bun versionbun --version
List Python depsuv pip list --format json
List JS depsbun pm ls --json

Flags

FlagDescription
--check-onlyReport status without offering migrations
--fixApply all migrations automatically without prompting
--manager <manager>Override detection (uv, bun, npm, cargo)

Examples

# Check compliance and offer migrations
/configure:package-management

# Check only, no modifications
/configure:package-management --check-only

# Auto-migrate Python to uv
/configure:package-management --fix --manager uv

# Auto-migrate JavaScript to bun
/configure:package-management --fix --manager bun

Error Handling

  • Multiple Python managers detected: Warn about conflict, suggest single source of truth
  • Missing package manager: Offer to install via mise
  • Invalid pyproject.toml: Report parse error, offer template
  • Lock file conflicts: Warn about multiple lock files, suggest cleanup
  • Workspace/monorepo: Detect and configure workspace settings

See Also

  • /configure:linting - Configure linting tools (ruff, biome)
  • /configure:formatting - Configure formatters
  • /deps:install - Universal dependency installer
  • /configure:all - Run all compliance checks
  • uv documentation: https://docs.astral.sh/uv
  • bun documentation: https://bun.sh/docs

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.7%
按下载量换算175

Claude

28.79%
按下载量换算130

Cursor

20.89%
按下载量换算95

Gemini CLI

9.18%
按下载量换算42

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/laurigates/claude-plugins --skill configure-package-management 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills