CtrlK
BlogDocsLog inGet started
Tessl Logo

optimizing-bc-performance

Speeds up slow AL code by optimizing data access patterns, reducing database locks, and fixing inefficient loops. Use when code runs slowly, reports timeout, pages freeze, or you need to make loops faster, reduce SQL queries, avoid table locks, or improve BC SaaS performance.

70

Quality

85%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

76%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A dense, actionable reference of AL performance rules with executable correct/wrong code examples and clear sectioning. Its main weakness is workflow clarity: it offers validation gates and a checklist but no explicit error-recovery feedback loop for the batch/locking patterns it recommends.

Suggestions

Add an explicit feedback loop around the Validation Gates — e.g. 'apply gate -> run checklist -> if any item fails, fix and re-run' — to raise workflow_clarity above the batch-operation cap of 3.

Consider extracting the per-rule code examples into a references/ file (e.g. patterns.md) and keeping SKILL.md as an overview plus the checklist, to push progressive_disclosure toward a 5.

Trim the redundancy between the Data Access Rules table and the Code Review Checklist so every token earns its place and conciseness can reach 5.

DimensionReasoningScore

Conciseness

Mostly lean: tables and code blocks carry the content, AL syntax is not over-explained, and prose like 'Passing a record without var creates a memory copy' is tight. Minor redundancy (the checklist restates table rules) keeps it just below a 5.

4 / 5

Actionability

Fully executable, copy-paste-ready AL examples cover the common cases (SetLoadFields, SetCurrentKey, IsEmpty, CalcSums, locking, DataAccessIntent, TextBuilder, procedure params) with both CORRECT and WRONG variants for direct application.

5 / 5

Workflow Clarity

A 'Validation Gates' sequence and a final 'Code Review Checklist' provide ordered checkpoints, but because the skill guides batch/destructive patterns (ModifyAll/DeleteAll, locking) yet defines no validate->fix->retry feedback loop, the rubric's feedback-loop cap holds it at 3.

3 / 5

Progressive Disclosure

Well-organized sections with clear headers and an 'External Documentation' block link to MS docs and blog posts; no bundle files exist, so all content is inline. Good structure with minor gaps rather than the one-level-deep reference split of a 5.

4 / 5

Total

16

/

20

Passed

Description

95%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description with explicit what-and-when structure, concrete actions, and rich natural trigger phrases scoped to a distinct BC SaaS performance niche. The only minor gap is that the 'what' lists three actions rather than a comprehensive set.

DimensionReasoningScore

Specificity

Names the domain (AL code, BC SaaS) and lists three concrete actions — 'optimizing data access patterns, reducing database locks, and fixing inefficient loops' — which matches 'lists several specific actions; minor gaps' rather than the comprehensive multi-action coverage of a 5.

4 / 5

Completeness

It explicitly answers both what ('Speeds up slow AL code by optimizing data access patterns, reducing database locks, and fixing inefficient loops') and when ('Use when code runs slowly, reports timeout, pages freeze...') with concrete trigger phrases.

5 / 5

Trigger Term Quality

The 'Use when...' clause packs natural phrases a user would say — 'code runs slowly, reports timeout, pages freeze... make loops faster, reduce SQL queries, avoid table locks' — with synonyms covering the domain comprehensively.

5 / 5

Distinctiveness Conflict Risk

The BC SaaS / AL performance niche is narrow with domain-specific triggers (BC SaaS, AL, reports timeout, table locks), making conflict with unrelated skills minimal.

5 / 5

Total

19

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
emgreppi/Business-Central-AI-Skill
Reviewed

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.