iceywu-utils
Installation
SKILL.md
IceyWu Utils
Use this skill when the task touches
packages/utilssource, public API surface, or dependency policy.
Preferences
- Keep
@iceywu/utilsat zero runtime dependencies. If you think a third-party helper is needed, first try to inline a minimal port (seelodash-lite/for pattern). - Prefer pure functions over stateful helpers; when state is intrinsic (e.g.
debounce), expose control handles (clear,flush,trigger,isPending). - Keep the root entry (
src/index.ts) intentionally small. Large domains go behind explicit subpaths. - Treat exported types as part of the product surface — breaking type shapes requires a changeset.
Core
| Topic | Description | Reference |
|---|---|---|
| Public API Shape | Root exports, subpath map, deleted legacy exports, migration table | public-api |
| Design Guidelines | Zero-dep policy, inlining rules, naming, tree-shaking, release discipline | design-guidelines |