effect-data

Community

Replace native JS methods with Effect.

Authorkriegcloud
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the common practice of using native JavaScript methods on collections and primitives, which can lead to null/undefined leaks and less composable code. It promotes a functional programming paradigm by replacing these with the Effect library's pipeable functions.

Core Features & Use Cases

  • Safer Data Transformations: Utilizes Effect's Array, Record, and String modules to perform operations like mapping, filtering, and grouping, returning Option types instead of potentially null/undefined values.
  • Enhanced Composability: Encourages the use of pipe and flow for building complex data processing pipelines in a declarative and readable manner.
  • Type Safety: Leverages Effect's predicate functions (P.isString, P.isNumber, etc.) for robust type guarding.
  • Use Case: Refactor existing JavaScript codebases to adopt Effect's functional approach for data manipulation, improving code quality and reducing runtime errors.

Quick Start

Use the effect-data skill to refactor the provided array filtering logic to use Effect's pipe and A.filter.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: effect-data
Download link: https://github.com/kriegcloud/beep-effect/archive/main.zip#effect-data

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.