mongez-supportive-is-recipes

Community

Idiomatic recipes for supportive-is predicates.

Authorhassanzohdy
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Form validation and data handling often require composing multiple predicates from @mongez/supportive-is to express complex rules. This Skill provides idiomatic recipes for combining predicates to validate inputs, merge structures correctly, and filter out empty values without sacrificing type safety.

Core Features & Use Cases

  • Compose predicates for form validation (e.g., isEmpty + isEmail + isUrl) to enforce required fields and format constraints.
  • Deep merge patterns that respect class instances by using isPlainObject to decide merge vs replace.
  • Filter out empty or null values from objects and arrays while preserving meaningful data (e.g., 0 and false).
  • Enable polymorphic argument handling and type narrowing hooks when integrating predicates into APIs.

Quick Start

Import the needed predicates from @mongez/supportive-is and begin applying the recipes to your forms, merges, and data filtering.

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: mongez-supportive-is-recipes
Download link: https://github.com/hassanzohdy/supportive-is/archive/main.zip#mongez-supportive-is-recipes

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 510,000+ vetted skills library on demand.