conformare

Community

Enforce error shapes with diagnostic spans.

Authorwatmin
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Conformare audits error-type definitions to ensure diagnostic completeness and enforce structural discipline so that variants cannot omit essential data (e.g., spans) and constructors require necessary fields.

Core Features & Use Cases

  • Audits all error-type enums (and related Result/Step wrappers) for span field presence and documented absence.
  • Evaluates constructor surfaces and From<...> conversions for span preservation.
  • Provides pattern recommendations (Pattern A/B/C) and guidance for retrofitting to achieve structural conformance.
  • Useful for Rust codebases that rely on precise error reporting and want to guarantee runtime diagnostics via the type system.

Quick Start

Audit a Rust project's error types to ensure every variant carries a span and that constructors require it.

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: conformare
Download link: https://github.com/watmin/datamancy.dev/archive/main.zip#conformare

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.