How-to
Prompt customization & business rules
Teach the review your conventions — acceptance-criteria focus, per-language style, and custom pattern rules.
Beyond generic best practices, codingassist.bot can enforce your conventions — set in .praxiom.yml.
Lead with acceptance criteria
prIntelligence:
focusOnAcceptanceCriteria: trueThe review checks the diff against the linked work item's acceptance criteria first — the ⭐ differentiator. Leave this on unless you have a reason not to.
Per-language conventions
languages:
csharp:
style: microsoft
requireXmlDocs: public # public members must be documented
typescript:
strictNullChecks: trueCustom rules
Encode a team rule as a pattern + message; it's applied like any other finding:
customRules:
- id: require-error-handling
pattern: "catch\\s*\\(\\s*\\)"
severity: medium
message: "Empty catch blocks should log the error."
- id: no-direct-db-in-controllers
pattern: "new SqlConnection"
severity: high
message: "Controllers must go through the repository layer."
paths:
- "src/Api/Controllers/**"severityfeeds the same gate as built-in findings (see failOnSeverity).pathsscopes a rule so it only fires where it should.
Related
Was this page helpful?