vict00r99/rune-stone/rune-diff
Claude Code and agent skill by vict00r99/rune-stone
- community
Checking that the SKILL.md file is still in the repository.
Compare a RUNE specification against its implementation to detect drift. Use when verifying that code still matches its spec after modifications, or when auditing existing implementations against their contracts.
Install
npx vskill@latest install vict00r99/rune-stone/rune-diffSKILL.md
How to Use
When given a RUNE spec and its corresponding implementation file, compare them and report every discrepancy.
Input: a RUNE spec (.rune or Markdown) + an implementation file (.py, .ts, .go, etc.). Output: a diff report listing all mismatches.
Comparison Areas
1. SIGNATURE Match
Compare the spec's SIGNATURE against the actual function declaration.
Check:
- Function name matches exactly
- Parameter names match
- Parameter types match
- Parameter order matches
- Return type matches
- Default values match
Example mismatch:
2. BEHAVIOR Coverage
For each WHEN/THEN rule in the spec, verify the implementation handles it.
Process:
- List every BEHAVIOR rule from the spec
- Find the corresponding code branch (if/elif/else, match/case, guard clause)
- Verify the action matches (return value, exception type, error message)
Check:
- Every BEHAVIOR rule has a corresponding code branch
- The condition logic matches the spec
- The action (return/raise) matches the spec
- Error messages are character-for-character identical
- The ORDER of checks matches the spec (top to bottom)
Example mismatch:
3. Error Message Accuracy
Extract all error messages from the implementation and compare against BEHAVIOR.
Check:
- Every error message in the code appears in the spec
- Every error message in the spec appears in the code
- Messages match exactly (no typos, no rephrasing)
4. CONSTRAINTS Enforcement
For each CONSTRAINT in the spec, check if the implementation validates it.
Check:
- Each constraint has a validation check in the code
- The validation rejects the right inputs
- Constraints not in BEHAVIOR (preconditions) are documented but not necessarily enforced
Example mismatch:
5. EDGE_CASES Handling
For each EDGE_CASE in the spec, verify the implementation handles it correctly.
Check:
- The implementation produces the expected result for each edge case
- No edge cases are silently ignored
6. Extra Behavior (not in spec)
Identify behavior in the code that is NOT described in the spec.
Look for:
- Extra validation checks not in CONSTRAINTS or BEHAVIOR
- Additional error conditions
- Default values or fallback behavior not in the spec
- Logging, caching, or side effects not mentioned
Example:
Output Format
Severity Levels
- MATCH — Spec and code agree.
- DRIFT — Spec and code disagree. Must be resolved (update one or the other).
- MISSING — Spec describes behavior the code doesn't implement.
- UNDOCUMENTED — Code has behavior the spec doesn't describe.
Rules
- Report findings, do not modify either the spec or the code
- Be precise: include line numbers from the implementation
- For each DRIFT, state clearly what the spec says vs what the code does
- Do not assume which side is "correct" — the user decides whether to update the spec or the code
- If the code has multiple implementations of the same spec (e.g., Python + TypeScript), compare each separately
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/rune-diff/SKILL.md
Popularity
- Repository stars
- 58
- Repository forks
- 10
- 7-day trend score
- 20
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 18 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/vict00r99/rune-stone/rune-diff)