diff --git a/.coderabbit.yml b/.coderabbit.yml new file mode 100644 index 0000000..2fa513d --- /dev/null +++ b/.coderabbit.yml @@ -0,0 +1,37 @@ +language: "de-DE" + +reviews: + profile: "chill" + request_changes_workflow: false + high_level_summary: true + poem: false + review_status: true + collapse_walkthrough: false + auto_review: + enabled: true + drafts: false + base_branches: + - main + + path_instructions: + - path: "docs/anchors/**/*.adoc" + instructions: | + Prüfe ob der Semantic Anchor die Qualitätskriterien erfüllt: + - Präzise: Referenziert spezifisches, etabliertes Wissen mit klaren Grenzen + - Reichhaltig: Aktiviert mehrere verknüpfte Konzepte, nicht nur eine Anweisung + - Konsistent: Verschiedene Nutzer erhalten ähnliche konzeptuelle Aktivierung + - Zuordenbar: Rückverfolgbar zu Proponenten, Publikationen oder Standards + Pflichtfelder: :categories:, :roles:, :proponents: + Format: AsciiDoc mit [%collapsible] Block + + - path: "website/src/**/*.js" + instructions: | + Check for: security issues, unused variables, proper error handling. + Style: no semicolons, single quotes, 2-space indent (enforced by ESLint/Prettier). + + - path: ".github/workflows/**/*.yml" + instructions: | + Check for: pinned action versions, secret handling, unnecessary permissions. + +chat: + auto_reply: true