Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
toss avatar

Guide

  • 340 installs
  • 11.3k repo stars
  • Updated August 5, 2026
  • toss/es-toolkit

guide is an es-toolkit agent skill that reads local usage documentation so assistants can recommend correct install commands, import paths, and tree-shaking patterns per runtime.

About

The es-toolkit guide skill helps developers install and import the Toss utility library correctly across Node, Bun, Deno, and browsers by reading bundled usage docs instead of guessing paths. Invoke it when onboarding a project, choosing between es-toolkit and es-toolkit/compat, or explaining bundle-size and performance claims. It ends answers with links to es-toolkit.dev reference pages.

  • Reads authoritative docs/usage.md from the es-toolkit repo
  • Detects package manager from lockfiles for install commands
  • Warns against namespace imports that break tree-shaking
  • Covers strict and compat entry points plus CDN snippets

Guide by the numbers

  • 340 all-time installs (skills.sh)
  • +21 installs in the week ending Jul 27, 2026 (Skillselion tracking)
  • Ranked #705 of 2,245 Frontend Development skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/toss/es-toolkit --skill guide

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs340
repo stars11.3k
Last updatedAugust 5, 2026
Repositorytoss/es-toolkit

How do you add es-toolkit to a project with the right package manager command and import path for each runtime without outdated instructions?

Answer install, import, bundle-size, and runtime setup questions for es-toolkit across Node, Bun, Deno, and browsers using repo docs.

Who is it for?

Developers adopting es-toolkit in TypeScript or JavaScript apps who need environment-specific setup and anti-patterns avoided.

Skip if: Maintainers triaging GitHub issues or teams migrating from lodash who should use the migrate skill instead.

When should I use this skill?

A user asks how to install, import, bundle, or set up es-toolkit in Node, Bun, Deno, or the browser.

What you get

Verified install steps, named import examples, bundle-size references, and links to official docs and API categories.

Files

SKILL.mdMarkdownGitHub ↗

es-toolkit Usage Guide

Provide guidance on installing, importing, and using es-toolkit across different runtimes.

Input

$ARGUMENTS — A topic or question about es-toolkit usage.

Why source-of-truth matters

Installation commands and import paths change across versions. Always verify from the local docs in this repository (docs/usage.md, docs/ko/usage.md) rather than relying on memorized instructions.

Workflow

1. Check local documentation first

Read the relevant docs from this repository:

  • docs/usage.md or docs/ko/usage.md — installation and import patterns
  • docs/intro.md or docs/ko/intro.md — overview and key features
  • docs/bundle-size.md or docs/ko/bundle-size.md — bundle size data
  • benchmarks/bundle-size/ — raw benchmark numbers
  • docs/performance.md or docs/ko/performance.md — runtime performance benchmarks

These are authoritative and always up-to-date.

2. Answer based on the user's environment

Identify the runtime (Node.js, Bun, Deno, browser) and provide environment-specific guidance.

Key facts to verify from docs:

  • Deno: deno add jsr:@es-toolkit/es-toolkit (note the jsr: prefix)
  • Deno import path: '@es-toolkit/es-toolkit' (extra scope vs npm)
  • npm/yarn/pnpm/bun: Detect the project's package manager from its lockfile (package-lock.json → npm, yarn.lock → yarn, pnpm-lock.yaml → pnpm, bun.lockb → bun) and provide the matching install command. If no lockfile exists, show all options.
  • Import path: 'es-toolkit' for strict, 'es-toolkit/compat' for lodash-compatible
  • Browser/CDN: jsdelivr, unpkg for UMD (_ global), esm.sh for ES modules (import map) — see docs/usage.md Browsers section for exact snippets

3. Cover these topics as relevant

  • Installation: per-runtime commands
  • Import patterns: named imports (recommended for tree-shaking), category imports, compat imports. List all available subpath imports by reading the exports field in package.json (e.g., es-toolkit, es-toolkit/compat, es-toolkit/array, etc.) so users see the full set of entry points.
  • Anti-patterns to avoid: Warn against namespace imports (import * as _ from 'es-toolkit') as they defeat tree-shaking. Always prefer named imports (import { chunk, debounce } from 'es-toolkit').
  • Bundle size: reference actual numbers from docs/bundle-size.md
  • Performance: 2-3x faster than lodash (from official benchmarks)
  • Type safety: built-in TypeScript types, 100% test coverage

4. Search local docs for additional topics

If the user asks something not covered by the files listed above, search the bundled documentation:

  • Function docs: docs/reference/{category}/{functionName}.md
  • By keyword: Grep across docs/reference/**/*.md
  • Other docs: docs/usage.md, docs/intro.md, docs/bundle-size.md, docs/performance.md

5. Always include doc links

End responses with relevant links:

## Learn More
- Documentation: https://es-toolkit.dev
- API Reference: https://es-toolkit.dev/reference/{relevant-category}
- GitHub: https://github.com/toss/es-toolkit

Related skills

FAQ

How should Deno users add the package?

SKILL.md specifies deno add jsr:@es-toolkit/es-toolkit and import from @es-toolkit/es-toolkit with the extra scope.

What import style is recommended?

Named imports from es-toolkit are recommended; namespace imports defeat tree-shaking per the skill.

Where does the skill read facts from?

It treats docs/usage.md, intro, bundle-size, and performance files in the repository as authoritative.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.