mix oeditus_assistant_rules (OeditusCredo v0.5.0)

View Source

Generates .aiassistant/rules/oeditus.md with coding rules derived from OeditusCredo checks and the standard Credo checks enabled by this project.

The generated file is intended for remote AI assistants (Copilot, Cursor, Cody, etc.) so they avoid producing code that would trigger credo warnings.

Usage

mix oeditus_assistant_rules            # writes to .aiassistant/rules/oeditus.md
mix oeditus_assistant_rules --stdout   # prints to stdout instead
mix oeditus_assistant_rules -o PATH    # writes to a custom path

Summary

Functions

Returns the full markdown content of the rules file.

Functions

generate()

@spec generate() :: String.t()

Returns the full markdown content of the rules file.