Skip to content

Rules

sh
ruby-anything rules <repo>                    # list the rules
ruby-anything rules <repo> --add "<rule>"     # add one

When you correct how the port behaves, the agent adds it as a rule right away. Every later piece reads the rules before it writes code, so the same mistake is not made twice. Rules live in rails/port/RULES.md.

Edit this page on GitHub →