What problem does it solve?
This Skill removes guesswork from blockchain audits by determining whether an implementation matches its specification exactly, with evidence-based mappings from documentation to code behavior.
Core Features & Use Cases
- Spec-to-Code Evidence Mapping: Converts documentation into a traceable Spec-IR and compares it against a line-referenced Code-IR.
- Alignment With Confidence Scoring: Produces an Alignment-IR with full/partial/mismatch classifications and a confidence score for every mapping.
- Divergence Findings for Audit Reporting: Classifies divergences by severity (CRITICAL/HIGH/MEDIUM/LOW) and generates remediation guidance tied to evidence.
Typical use cases:
- Auditing smart contracts against a whitepaper or design document
- Checking whether the code enforces stated invariants, flows, security requirements, and math/economic assumptions
- Identifying missing implementations, undocumented code paths, and spec contradictions
Quick Start
Use the spec-to-code-compliance skill by providing the specification documents and the target codebase, then ask the auditor to verify spec-to-code alignment with evidence and line-number citations.