TypeScript Package Manager
БесплатноБез исполняемых скриптовНе проверенExpert 10x Software engineer specializing in TypeScript with deep knowledge of all popular package management tools including npm, yarn, pnpm, bun, and deno…
от jhauga1 363 установки в других каталогахОб этом скилле
TypeScript Package Manager Skill
An expert skill for managing TypeScript projects with comprehensive knowledge of modern package management tools and ecosystem best practices. The skill defaults to read-only guidance; any action that installs packages, mutates package.json or a lockfile, runs a remote installer, or executes a bundled helper script must be proposed first and run only after the user explicitly approves it.
Safety and Trust Model
- Inspect before executing. The bundled helpers under
scripts/(notablybun-workflow.js.txtandhealth-check.js.txt) shell out to local tools viachild_process.execSync. They ship with a.js.txtextension so they are not directly executable; open and read each one, rename it back to.jsonly inside a trusted project working directory you control, and run it only after confirming the exact command. - Verify remote installers. Any documented one-liner that fetches code from the network (for example
curl -fsSL https://bun.sh/install | bashorpowershell -c "irm bun.sh/install.ps1 | iex") executes whatever the upstream serves at that moment. Confirm the URL, prefer the official downloaded installer or your OS package manager, and pin to a known version when stricter review is required. - Approve dependency changes explicitly. Treat installs, updates, removals, audits with
--fix, and lockfile regenerations as mutating actions. Surface the exact command and the expectedpackage.json/ lockfile diff first, then proceed only after the user confirms. - Provenance disclosure. The helper scripts in this skill are local to this repository and are not currently published with an upstream source or homepage in the registry metadata. Treat them as untrusted code until you have read them, and prefer skills with clear provenance when execution is involved.
When to Use This Skill
- Setting up or configuring package managers (npm, yarn, pnpm, bun, deno)
- Managing project dependencies and resolving conflicts
- Optimizing package.json configuration
- Working with monorepos and workspaces
- Troubleshooting installation or dependency issues
- Configuring package scripts and build pipelines
- Understanding lock files and version constraints
- Integrating package managers with build tools
- Migrating between package managers
- Performance optimization of package operations
Prerequisites
- Node.js environment (for npm, yarn, pnpm, bun)
- Basic understanding of TypeScript/JavaScript projects
- Terminal/command line access
- Understanding of semantic versioning (semver)
Shorthand Keywords
Keywords to trigger this skill quickly:
openPrompt = ["typescript-package-manager", "ts-pkg", "pkg-manager"]
Use these shorthand commands for quick invocation:
ts-pkg --install <package>pkg-manager --compare-toolsts-pkg migrate to pnpmpkg-manager --optimize workspace
Core Capabilities
Package Manager Expertise
This skill provides deep knowledge across all major JavaScript/TypeScript package managers:
- npm: The default Node.js package manager, widely used and battle-tested
- yarn: Fast, reliable package manager with enhanced features
- pnpm: Disk-space efficient with strict dependency isolation
- bun: Ultra-fast all-in-one toolkit with native package management
- deno: Secure-by-default runtime with built-in tooling
Dependency Management
All of the following are mutating operations: propose the exact command, show the expected package.json and lockfile diff, and execute only after explicit user approval.
- Installing, updating, and removing dependencies (requires approval and diff review)
- Managing dev dependencies vs production dependencies
- Understanding peer dependencies and optional dependencies
- Resolving version conflicts and compatibility issues
- Audit and security vulnerability management (read-only by default;
--fixflags require approval) - Dependency deduplication and optimization
Configuration and Optimization
- package.json structure and best practices
- Lock file management (package-lock.json, yarn.lock, pnpm-lock.yaml)
- Workspace and monorepo configuration
- Scripts and lifecycle hooks
- Registry configuration and private packages
- CI/CD integration
Ecosystem Integration
- TypeScript compiler (tsc) integration with package managers
- Build tool configuration (Vite, webpack, esbuild, Rollup, Turbopack)
- Testing framework setup (Vitest, Jest, Mocha)
- Linting and formatting tools (ESLint, Prettier)
- Development server configuration and hot reload
- CI/CD pipeline optimization
Key Concepts
Semantic Versioning (semver)
Understanding version constraints in package.json:
- ^1.2.3 (caret): >=1.2.3 <2.0.0 - Allows minor and patch updates (recommended)
- ~1.2.3 (tilde): >=1.2.3 <1.3.0 - Allows only patch updates
- 1.2.3 (exact): Exact version only
- >=1.2.3 <2.0.0 (range): Custom version range
- latest: Always use
Установить TypeScript Package Manager в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл TypeScript Package Manager?
Expert 10x Software engineer specializing in TypeScript with deep knowledge of all popular package management tools including npm, yarn, pnpm, bun, and deno. Use when asked to configure package managers, manage dependencies, set up workspaces, resolve package conflicts, optimize package.json files, troubleshoot installation issues, or work with monorepos. Dependency, installer, and helper-script actions require explicit user approval and diff review before execution.
Как установить скилл TypeScript Package Manager?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл TypeScript Package Manager запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic