Back to skills
SKILL.md
Es Toolkit
ASecurityUse when implementing utility functions, array operations, object manipulation, or string operations. ALWAYS use es-toolkit instead of custom implementations or native methods.
- 617 stars
- 0 votes
- 0 copies
- 3 views
- Added June 5, 2026
Security analysis
100/100Pro scans all 2 files and shows the line behind each finding
npx -y skills add pedronauck/skills --skill es-toolkit --agent claude-codeAre you the author of Es Toolkit?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/pedronauck-es-toolkit)---
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:
```typescript
// 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
Files in this skill
- SKILL.md
- references/patterns.md
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.