Al performance review
Skill hyzaDan/copilot-al-configs/skills/al-performance-review
Reviews AL solutions for record loading, query shape, looping cost, scalability, and inefficient data-access patterns.From its SKILL.md
npx -y skills add hyzaDan/copilot-al-configs --skill al-performance-reviewAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.3 KB, as published. Nobody here has run it
Performance Review
Use this skill when a change touches large data volumes, loops over records, posting flows, background processing, or integration-heavy operations.
Review focus
- broad record loading where narrower field or filter usage is possible
- queries inside loops and other N+1 patterns
- missing
SetLoadFieldson partial-record scenarios - weak
FindSet/FindFirst/FindLastchoices - repeated FlowField calculations or expensive work in loops
- unnecessary row-by-row updates where bulk operations are available
- design choices that should move heavy work to separate tables, summaries, or background processing
Review questions
- Is the database doing the filtering, or is code filtering too late?
- Are only required fields being loaded?
- Is the iteration pattern appropriate for expected volume?
- Will the design stay acceptable at 10K, 100K, or larger record counts?
- Is there a simpler architectural split that reduces runtime cost?
Output expectations
- findings first
- concrete AL-level improvement suggestions
- note expected impact when it is reasonably clear
- separate must-fix performance risks from optional optimization ideas