type-driven-development

Official

Compile-time guarantees for bug-free code with Idris 2.

AuthorOutlineDriven
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill eliminates entire classes of runtime errors by encoding invariants directly into the type system using Idris 2. It ensures that critical properties, such as array bounds, non-null values, or valid state transitions, are verified at compile-time, preventing bugs before they can even occur.

Core Features & Use Cases

  • Dependent Types with Idris 2: Design types that capture complex domain constraints and logical properties.
  • Hole-Driven Development: Guides through an interactive workflow to build total functions and type-level proofs.
  • Compile-Time Error Prevention: Guarantees correctness of data structures, algorithms, and protocols at compilation, reducing runtime failures.
  • Use Case: Build a type-safe API for a financial trading system where balances must always be positive and transactions must adhere to strict rules. This skill ensures these invariants are enforced by the compiler.

Quick Start

Use the type-driven-development skill to create a length-indexed vector in Idris 2, ensuring its size is always known at compile-time. The agent will guide you through defining the type and implementing safe operations.

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: type-driven-development
Download link: https://github.com/OutlineDriven/odin-claude-plugin/archive/main.zip#type-driven-development

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.