
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.
Pure-prompt skill with no scripts. Instructs an agent to compare RUNE spec files against implementations and produce a structured drift report covering signatures, behavior, error messages, constraints, and edge cases. Well-documented with clear examples and output format, but entirely tied to the RUNE spec format which limits broad applicability.
Clean skill, no security concerns. Good documentation quality but niche utility due to RUNE format dependency. Would benefit from example spec/implementation pairs in references/ and optionally a script to automate simple signature extraction.