CtrlK
BlogDocsLog inGet started
Tessl Logo

implementing-al-interfaces

Defines AL interfaces and interface patterns with implementing codeunits, creates extensible enums to switch providers, and enables dependency injection for unit testing AL code with mocks. Use when building plugin architectures, adding loose coupling, replacing conditional logic with polymorphism, or creating Business Central extensions with swappable implementations.

85

1.43x
Quality

—

Does it follow best practices?

Impact

92%

1.43x

Average score across 2 eval scenarios

SecuritybySnyk

—

The risk profile of this skill

SKILL.md
Quality
Evals
Security

Evaluation results

94%

9%

Pluggable Order Validation Pipeline

Pluggable AL order validation with is/as dispatch and registry pattern

Criteria
Without this skill
With this skill

Multiple implements clause

100%

100%

List of Interface declaration

100%

100%

Foreach loop over interface list

100%

100%

is operator for capability check

100%

100%

as downcast to logger interface

0%

100%

BC25+ version comment

100%

100%

RegisterHandler procedure

100%

100%

OnRegisterHandlers integration event

50%

40%

EventSubscriber subscribes to OnRegisterHandlers

100%

100%

Small focused interfaces

100%

100%

91%

48%

Pluggable Payment Processing for Business Central

AL interface and extensible enum for payment providers

Criteria
Without this skill
With this skill

Interface naming convention

0%

100%

Execute procedure signature

0%

100%

Cancel procedure signature

50%

40%

GetProviderName procedure

0%

100%

Interface purity

100%

100%

Provider codeunit naming

50%

70%

Implements clause on codeunits

0%

100%

Extensible enum

100%

100%

Implementation binding syntax

100%

100%

Implicit enum-to-interface conversion

0%

100%

Only codeunits implement interface

100%

100%

Repository
emgreppi/Business-Central-AI-Skill
Evaluated
Agent
Claude Code
Model
Claude Sonnet 4.6

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.