
Recommend
- 438 installs
- 11.3k repo stars
- Updated August 5, 2026
- toss/es-toolkit
recommend is an es-toolkit agent skill that matches coding requirements to verified es-toolkit functions by searching local src/ and docs/reference for developers who need correct utility imports and doc links.
About
recommend is an agent skill in the toss/es-toolkit Claude Code plugin that grounds function suggestions in the repository's actual TypeScript source and official docs/reference index rather than stale training data. The workflow parses the user's requirement, greps src/{category}/*.ts across dynamic categories such as array, object, string, and promise, reads implementation and spec files for signatures, and constructs es-toolkit.dev reference URLs in the form https://es-toolkit.dev/reference/{category}/{functionName}. For multiple candidates, recommend returns a comparison table plus a when-to-choose-which section with import lines and examples pulled from specs. The skill is one of three documented es-toolkit agent skills alongside guide and migrate on es-toolkit.dev. Developers reach for recommend when choosing between similar utilities, verifying a function still exists, or avoiding hand-rolled lodash-style helpers during refactors.
- Grounds recommendations in local src/ and docs/reference instead of stale training data
- Builds https://es-toolkit.dev/reference/{category}/{functionName} links directly
- Comparison table plus when-to-choose guidance for multiple candidates
- Suggests /es-toolkit:migrate when lodash compatibility is relevant
- Ships in es-toolkit-plugin/skills/recommend for Claude Code
Recommend by the numbers
- 438 all-time installs (skills.sh)
- +31 installs in the week ending Jul 27, 2026 (Skillselion tracking)
- Ranked #646 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 recommendAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 438 |
|---|---|
| repo stars | ★ 11.3k |
| Last updated | August 5, 2026 |
| Repository | toss/es-toolkit ↗ |
Which es-toolkit function should I use for this task?
Match requirements to es-toolkit utilities by searching src/ and docs/reference, then return imports, doc links, and comparison tables.
Who is it for?
TypeScript developers adopting es-toolkit who want source-verified utility recommendations with import paths instead of guessing from memory or outdated docs.
Skip if: Teams that need full lodash migration rewrites or runtime setup guidance, which belong to the es-toolkit migrate and guide skills instead.
When should I use this skill?
The user asks which es-toolkit function fits a requirement, pastes a snippet needing a utility, or wants alternatives to a manual implementation.
What you get
Verified function recommendations with import paths, es-toolkit.dev doc links, code examples, and comparison tables.
- import statements
- comparison tables
- doc links
By the numbers
- Indexes 11 documentation categories under docs/reference
- Ships as one of three es-toolkit agent skills with guide and migrate
Files
Function Recommendation
Recommend the most suitable es-toolkit function for the user's needs, grounded in source code and official documentation.
Input
$ARGUMENTS — A description of what the user needs, or a code snippet to analyze.
Why grounding matters
es-toolkit evolves faster than any training data can track. Always verify function existence and behavior from the actual source code in this repository, rather than relying on memorized knowledge. This prevents recommending functions that don't exist or have changed signatures.
Workflow
1. Understand the requirement
Parse $ARGUMENTS to identify:
- What operation the user wants to perform
- What data types are involved (array, object, string, etc.)
- Whether they might need lodash migration help (if so, suggest
/es-toolkit:migrate)
2. Search the local source code first
This is the fastest and most accurate way to find functions. Search across es-toolkit's categories:
# Search in src/ for matching function names or descriptions
Grep for keywords in src/{category}/*.tsList subdirectories under src/ (excluding _internal and compat) to discover the current categories dynamically. You can also browse docs/reference/ to discover the full function index — each subdirectory is a category, and each .md file is a function.
Read the implementation file to get the exact signature, and the spec file for real usage examples.
3. Construct the official doc URL
es-toolkit's documentation URLs follow a predictable pattern — construct them directly instead of fetching:
https://es-toolkit.dev/reference/{category}/{functionName}
4. Search local docs when you're unsure
If you can't find a matching function locally or want to discover functions you might be missing:
- Browse by category:
Glob docs/reference/{category}/*.mdto list all functions in a category - Search by keyword:
Grepfor the keyword acrossdocs/reference/**/*.md - Available categories: array, error, function, map, math, object, predicate, promise, set, string, util
5. Respond with this structure
For each recommended function, include:
- Function name and category
- Import path:
import { fn } from 'es-toolkit'; - Doc link:
https://es-toolkit.dev/reference/{category}/{fn} - What it does (from JSDoc in source)
- A code example (from spec file or official docs)
- Why it fits the user's need
When recommending multiple functions, always include a comparison table:
| Function | Input type | Behavior | Performance | Return type |
|---|---|---|---|---|
| (each candidate) | ... | ... | ... | ... |
Add a "When to choose which" section with clear decision criteria — e.g., "Use groupBy for categorizing, countBy for tallying, keyBy for lookup maps."
If no match exists, say so clearly and suggest modern JS alternatives. For lodash-compatible replacements, point users to the /es-toolkit:migrate skill.
Related skills
How it compares
Use recommend for picking es-toolkit utilities from requirements; use the migrate skill when converting existing lodash calls.
FAQ
How does recommend verify es-toolkit functions exist?
recommend greps toss/es-toolkit src/{category}/*.ts and reads implementation plus spec files before suggesting a function. It also browses docs/reference across 11 categories such as array, object, string, and promise to avoid recommending renamed or missing APIs.
What output format does es-toolkit recommend return?
recommend returns each candidate with an import path, es-toolkit.dev doc link, JSDoc summary, spec-based example, and rationale. When several functions match, recommend adds a comparison table and a when-to-choose-which decision section.