terraphim-package-manager

Replace npm, yarn, and pnpm commands with bun in text.

54|4|Updated Sep 29, 2023
One-click install
npx skills add https://github.com/terraphim/terraphim-ai --skill terraphim-package-manager
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terraphim-package-manager
Source: https://github.com/terraphim/terraphim-ai/tree/main/examples/claude-skills/terraphim-package-manager
Command: npx skills add https://github.com/terraphim/terraphim-ai --skill terraphim-package-manager

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automates replacing package-manager commands with bun to streamline development workflows and reduce manual edits.

Core Features & Use Cases

  • Automatic command replacement in text and code snippets.
  • Install commands substitutions: npm installbun install, yarn installbun install, pnpm installbun install.
  • Context-aware substitutions across prompts, scripts, and documentation.

Quick Start

Use the terraphim-package-manager skill to replace npm/yarn/pnpm commands with bun in your text. Example: Replace npm install with bun install in a script or document.

Frequently Asked Questions about terraphim-package-manager

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I replace npm, yarn, or pnpm commands with bun in my code?

To replace npm, yarn, or pnpm commands with bun, this skill automatically substitutes install scripts and package.json commands in your text. It scans user text for package-manager commands and applies context-aware replacements to output deterministic bun commands.

What is the best way to automate package-manager command replacement in documentation?

Automating package-manager command replacement in documentation is handled by applying context-aware substitutions across prompts, scripts, and text. The skill detects npm, yarn, or pnpm references and automatically outputs the equivalent bun commands.

Does the bun command replacement work with shell scripts and package.json files?

Yes, the bun command replacement works with shell scripts and package.json files. It applies substitutions when users include install scripts, share package.json scripts, or mention npm, yarn, or pnpm in shell commands.

Can I automatically convert npm install to bun install in my project setup?

You can automatically convert npm install to bun install by providing your project setup text. The skill maps npm install, yarn install, and pnpm install directly to bun install with deterministic results.

Why use context-aware substitution for migrating package managers to bun?

Context-aware substitution for migrating package managers to bun ensures deterministic results across your prompts and scripts. It reduces manual edits by relying on a local knowledge graph to accurately identify and replace commands only in the correct contexts.

What are the limitations of automating package-manager replacements with a local knowledge graph?

Automating package-manager replacements with a local knowledge graph is limited to text, code snippets, and shell commands where npm, yarn, or pnpm is explicitly mentioned. It handles command substitution but does not execute the commands.