refinement-type-checker

Community

Verify code with precise type predicates.

Authorrainoftime
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enables the verification of code properties and contracts by refining standard types with logical predicates, acting as a lighter alternative to full dependent types.

Core Features & Use Cases

  • Property Verification: Ensure code adheres to specific mathematical or logical properties.
  • Contract Checking: Enforce pre- and post-conditions for functions.
  • Dependent Types Lite: Provides a subset of dependent type system features for enhanced type safety.
  • Use Case: Guarantee that a function always returns a non-negative integer, or that a list passed to a sorting function is indeed sorted.

Quick Start

Use the refinement-type-checker skill to verify that a given integer expression is greater than zero.

Dependency Matrix

Required Modules

z3

Components

scriptsreferences

💻 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: refinement-type-checker
Download link: https://github.com/rainoftime/pl-skills/archive/main.zip#refinement-type-checker

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.