What problem does it solve?
This Skill prevents helper-function sprawl by making it clear where new utilities belong, so your codebase stays pure, dependency-light, and reusable.
Core Features & Use Cases
- Package-boundary rules: Enforces that
@ethernauta/utils remains pure and dependency-free, with no I/O, no DOM, no wallet/chains side effects, and minimal module-scope behavior.
- Catalog + signatures: Documents the expected functions (hex/bytes, units, time, RLP, assertions, and string case conversion) and their intended types and constraints.
- Decision rubric for new helpers: Provides an explicit checklist to decide whether to add to
@ethernauta/utils or colocate next to the caller (e.g., domain-specific logic, stateful dependencies, or single-use helpers).
- Contribution checklist & pitfalls: Guides naming conventions, testing expectations, re-exporting, and common mistakes like adding UI-specific formatting or standard-library-hiding wrappers.
Quick Start
Use the skills/utils guidance to decide where a new helper should live, then add it to @ethernauta/utils only if it satisfies the pure, dependency-free, domain-agnostic, multi-package criteria.