Skip to content
AI & Agents
Skill

/es-toolkit

Use when implementing utility functions, array operations, object manipulation, or string operations. ALWAYS use es-toolkit instead of custom implementations or native methods.

BOOST
From plugin
pedronauck-skills
63787 skills1 command
Install
$ npx -y skills add pedronauck/skills --skill es-toolkit --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/es-toolkit

Context preview

The summary Claude sees to decide when to auto-load this skill.

Use when implementing utility functions, array operations, object manipulation, or string operations. ALWAYS use es-toolkit instead of custom implementations or native methods.

SKILL.md

es-toolkit.SKILL.md
name: es-toolkit
description: Use when implementing utility functions, array operations, object manipulation, or string operations. ALWAYS use es-toolkit instead of custom implementations or native methods.
allowed-tools: Read, Grep, Glob

es-toolkit Usage Guide

This skill provides guidelines and best practices for using the es-toolkit utility library in this project.

Quick Reference

**MANDATORY**: Always use `es-toolkit` instead of custom implementations or native methods.

For detailed patterns, examples, and checklists, see:

  • [references/patterns.md](references/patterns.md) - Complete usage patterns and migration guides

Key Categories

| Category | Module | Common Functions | |----------|--------|------------------| | Array | `es-toolkit/array` | `compact`, `head`, `last`, `take`, `drop`, `uniq`, `chunk`, `flatten` | | Object | `es-toolkit/object` | `merge`, `mergeWith`, `clone`, `cloneDeep`, `pick`, `omit` | | String | `es-toolkit/string` | `trim`, `trimStart`, `trimEnd`, `kebabCase`, `camelCase`, `snakeCase` | | Function | `es-toolkit/function` | `debounce`, `throttle`, `memoize`, `once` | | Util | `es-toolkit/util` | `invariant` |

Import Pattern

Always import from specific modules for optimal tree-shaking:

// Good: Import from specific modules
import { compact } from "es-toolkit/array";
import { merge } from "es-toolkit/object";

// Bad: Import from root (larger bundle)
import { compact } from "es-toolkit";

Documentation

  • **Official Docs**: https://es-toolkit.dev/
  • **GitHub**: https://github.com/toss/es-toolkit
Read more
Ships withpedronauck-skills

A curated collection of 87 agent skills for Claude Code and compatible AI coding assistants — 40 original (⭐️), 34 hand-picked (💎), and 13 marketing & business (📣).

Get the whole plugin
Stats
637
Stars
89
Forks
Maintained
Maintenance
Python
Language
1mo ago
Last commit
7mo ago
Created
4h ago
Added

Repo: pedronauck/skills

Other skills on pedronauck-skills.