categorical-property-testing
CommunityValidate functional code with property tests.
Software Engineering#typescript#functional programming#property-based testing#monad laws#fp-ts#functor laws
AuthorHermeticOrmus
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill automates the rigorous validation of functional programming constructs like functors and monads, ensuring your code adheres to fundamental algebraic laws and preventing subtle bugs.
Core Features & Use Cases
- Property-Based Testing: Leverages
fast-checkto generate diverse test cases for functional data types. - Law Verification: Implements tests for Functor, Monad, and Natural Transformation laws using
fp-ts. - Use Case: When implementing a new
OptionorEithertype in TypeScript, use this Skill to automatically verify that your implementation satisfies all standard Monad laws, guaranteeing its correctness and predictability.
Quick Start
Use the categorical-property-testing skill to verify the Monad laws for the Option type.
Dependency Matrix
Required Modules
fp-tsfast-checkvitest
Components
scripts
💻 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: categorical-property-testing Download link: https://github.com/HermeticOrmus/hermetic-claude/archive/main.zip#categorical-property-testing Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.