Make Firebender follow your coding standards
rules
array in firebender.json
to specify guidelines.
firebender.json
.
$projectRoot/firebender.json
:
ProfileViewModelKotest.kt
, AI will follow the rule Use Kotest framework/BDD for tests
. If you modify MainActivity.kt
, AI will not be provided the irrelevant rule.
filePathMatches
follows the same regex notation as typical line in .gitignore
.firebender.json
. This solves several problems:
README.md
or ARCHITECTURE.md
) that can be reuseddocs/architecture.md
file:
rules[0].filePathMatches
is supposed to be a string
and not an array
.
For a complete reference of the rules syntax including advanced patterns and configuration options, see the Rules Syntax Documentation.
.cursor/rules
.cursor/rules
project rules files. This allows you to use existing Cursor project configurations with Firebender.
alwaysApply
and globs
MDC headers are currently supported for attaching rules.