Show HN: Rune | A spec pattern for consistent AI code generation

https://github.com/vict00r99/Rune-stone
by vict00r99 • 5 months ago
1 3 5 months ago

AI coding tools generate different code every time for the same requirement. RUNE is a specification pattern that fixes this: define a function's signature, WHEN/THEN behavior rules, and test cases upfront. Give the same spec to any AI tool — the generated code has the same behavior.

It's a pattern, not a framework. Works as YAML files or Markdown sections. Any language, any AI tool, no installation.

Includes 7 skills (markdown files you load into your AI tool) for the lifecycle: create specs, validate, refine, generate tests, detect drift, reverse-engineer from code, multi-language generation.

This is the GitHub project: https://github.com/vict00r99/Rune-stone

Related Stories

Loading related stories...

Source preview

github.com