-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.coderabbit.yaml
More file actions
41 lines (40 loc) · 1.54 KB
/
.coderabbit.yaml
File metadata and controls
41 lines (40 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
language: en-US
reviews:
profile: chill
request_changes_workflow: false
auto_review:
enabled: true
drafts: false
path_filters:
- '!**/*.Designer.cs'
- '!**/*.g.cs'
- '!**/obj/**'
- '!**/bin/**'
- '!**/*.diff'
path_instructions:
- path: src/ServiceBusToolset.Application/**
instructions: >
This is the Application layer using Vertical Slice Architecture.
Each feature is a self-contained slice with Command, CommandHandler, and Result types.
Uses martinothanar/Mediator (source-generated) for CQRS and Ardalis.Result for return types.
Cross-cutting concerns live in Common/ folders at the appropriate level.
- path: src/ServiceBusToolset.CLI/**
instructions: >
This is the CLI presentation layer. It must not contain business logic.
CLI handlers inject ISender (Mediator) to dispatch commands to the Application layer.
Uses CommandLineParser for argument parsing and Spectre.Console for output.
- path: tests/**
instructions: >
Test classes follow [ClassName]Should naming. Test methods follow [Action]_When[Condition] naming.
Use Shouldly for assertions and NSubstitute for mocking. Never use #region/#endregion.
- path: .github/workflows/**
instructions: >
Review for security best practices: pin action versions, avoid script injection
via untrusted inputs, ensure secrets are not logged.
tools:
actionlint:
enabled: true
markdownlint:
enabled: true
yamllint:
enabled: true