es-toolkit Usage Guide

SkillDev tools

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

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the es-toolkit Usage Guide skill

What this skill tells your AI

The instructions your AI receives, as published by pedronauck/skills in skills/community/es-toolkit/SKILL.md and read by ahel’s review.

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:

Key Categories

CategoryModuleCommon Functions
Arrayes-toolkit/arraycompact, head, last, take, drop, uniq, chunk, flatten
Objectes-toolkit/objectmerge, mergeWith, clone, cloneDeep, pick, omit
Stringes-toolkit/stringtrim, trimStart, trimEnd, kebabCase, camelCase, snakeCase
Functiones-toolkit/functiondebounce, throttle, memoize, once
Utiles-toolkit/utilinvariant

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

Signals

GitHub stars
611
Forks
88
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
es-toolkit
Source
github.com/pedronauck/skills