bcquality/custom/setup/templates/bcquality.agent.md
2026-06-21 12:22:54 +02:00

4.2 KiB

kind id version title description inputs outputs bc-version technologies countries application-area domain keywords sub-skills
action-skill curabis-al-code-review 1 CURABIS AL code review Reviews AL source changes against BCQuality knowledge and CURABIS-specific architecture rules.
pr-diff
file-path
findings-report
all
al
w1
all
architecture
page-logic
codeunit
posting
test-library
suppresscommit
asserterror
findset
namespace
english
random-data
microsoft/skills/review/al-code-review.md

CURABIS AL code review

Source

Layer 1 - Microsoft BCQuality: https://github.com/microsoft/BCQuality

Layer 2 - CURABIS custom knowledge (fetch before applying rules):

Action

CURABIS-ARCH-001: Logic belongs in codeunits, not pages. CURABIS-ARCH-002: Pages must not call Modify/Insert/Delete directly. CURABIS-ARCH-003: Test setup must use the project Test Library. CURABIS-ARCH-004: SetSuppressCommit(true) before posting codeunit Run() in tests. CURABIS-ARCH-005: asserterror must be followed by an assertion. CURABIS-ARCH-006: FindSet(true) only before Modify() inside a loop. CURABIS-ARCH-007: Test data must be random - never hardcode codes or names. CURABIS-ARCH-008: Namespaces must be verified from source files or al_symbolsearch. CURABIS-ARCH-009: All AL identifiers must be English (ENU). CURABIS-ARCH-010: Clarify before building if task is ambiguous. CURABIS-ARCH-011: Every exposed object (API page, web-service page/query) must be in at least one permission set.