/es-toolkit:guide [topic: install, import, setup, bundle, performance]from es-toolkit
Guides users on installing, importing, and setting up es-toolkit across Node.js, Bun, Deno, and browsers. Covers import patterns, anti-patterns, and bundle size considerations.
Ships in es-toolkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Provide guidance on installing, importing, and using es-toolkit across different runtimes.
$ARGUMENTS — A topic or question about es-toolkit usage.
Installation commands and import paths change across versions. When es-toolkit is already installed, verify its version and exports from the installed package. The skill may be installed as a standalone directory, so never assume the es-toolkit repository or a sibling docs directory is available.
Detect the package manager from its lockfile:
package-lock.json → npmyarn.lock → Yarnpnpm-lock.yaml → pnpmbun.lock or bun.lockb → BunIf es-toolkit is installed, resolve its package metadata from the package that depends on it:
node -e "console.log(require.resolve('es-toolkit/package.json'))"
Run the command from the relevant workspace package, not automatically from a monorepo root. If the project uses Yarn Plug'n'Play, use yarn node instead of node. Read the resolved package.json to verify the installed version and its exports.
If the command fails because es-toolkit is not installed yet, continue with the installation guidance below; do not search for repository-relative files.
Identify the runtime (Node.js, Bun, Deno, browser) and provide environment-specific guidance.
Stable setup facts:
deno add jsr:@es-toolkit/es-toolkit (note the jsr: prefix)'@es-toolkit/es-toolkit' (extra scope vs npm)'es-toolkit' for strict, 'es-toolkit/compat' for lodash-compatible_ global), while esm.sh provides ES modules. Link to the official usage page below for current snippets.exports instead of using a memorized list.import * as _ from 'es-toolkit') as they defeat tree-shaking. Always prefer named imports (import { chunk, debounce } from 'es-toolkit').If the current project is the es-toolkit source repository, local files under docs/ and src/ are authoritative and can be searched. Otherwise, use the installed package metadata and declarations. Never expect a docs directory next to this skill.
End responses with relevant links:
## Learn More
- Documentation: https://es-toolkit.dev/intro.html
- Usage: https://es-toolkit.dev/usage.html
- Bundle size: https://es-toolkit.dev/bundle-size.html
- Performance: https://es-toolkit.dev/performance.html
- GitHub: https://github.com/toss/es-toolkit
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
es-toolkit, installation, import-patterns, tree-shaking, lodash-compat
npx claudepluginhub toss/es-toolkit --plugin es-toolkit3 skills in this plugin
/migrateGuide migrating lodash code to es-toolkit. Use when the user wants to migrate from lodash, replace lodash imports, reduce bundle size by switching to es-toolkit, or understand the difference between es-toolkit and es-toolkit/compat./recommendAnalyze code or requirements and recommend the best es-toolkit functions. Use when the user asks which es-toolkit function to use, needs help finding a utility, or wants alternatives to manual implementations.Other plugins' skills for the same job