
from rune-stone61
Compare a RUNE function specification against its implementation and produce a detailed drift report (signature, behavior, errors, constraints, edge cases).
RUNE Diff inspects a RUNE-format specification and an implementation file (Python, TypeScript, Go, etc.) and produces a structured drift report. It checks function signatures, parameter names and types, return types, behavior rules (WHEN/THEN), error messages, constraints, and edge-case handling. The output is a readable Markdown report that highlights matches, drifts, missing checks, and undocumented behaviors with examples and line references when available.
Use RUNE Diff during code reviews, audits, or after refactors to ensure code still conforms to its formal spec. It's useful when generating code from specs, validating third-party implementations, or maintaining API contracts across languages. Run it whenever you need a precise, machine-assisted comparison between spec and implementation.
This skill suits agents that can analyze text and code (Copilot-style code assistants, Claude/Codex-like models, or any agent with code-parsing and diffing capabilities). It is language-agnostic and focuses on pattern matching and textual diffing of specs and code.
This skill has not been reviewed by our automated audit pipeline yet.