Configuration and learnings

Shape reviews per repository with .thundercode.yaml and teach ThunderCode your team's preferences.

.thundercode.yaml

Place the file at the repository root. It is read from the pull request's base branch, so a pull request cannot loosen its own rules. Maximum size 32 KB. An invalid file never blocks reviews: defaults apply and the problems are reported.

language: en
profile: chill            # chill | assertive
tone_instructions: "Be concise."
path_filters: ["!**/*.generated.ts"]
path_instructions:
  - path: "src/api/**"
    instructions: "Check authorization on every handler."
auto_review:
  enabled: true
  drafts: false
  ignore_labels: ["wip"]
min_severity: medium      # low | medium | high
chat:
  auto_reply: true
pre_merge_checks:
  custom:
    - name: Changelog
      instructions: "Require a changelog entry."

Learnings

Learnings are short rules (1–500 characters, up to 200 per tenant) injected into model reviews. Manage them in Settings, via the API, or by commenting @thundercode remember: ... on a pull request. A learning can be scoped to one connection.