/al-agent-harness:company-rulesfrom al-agent-harness
Loads and applies mandatory company AL coding rules from a rules/ folder, reporting PASS/FAIL per rule. Use before writing or reviewing AL code.
Ships in al-agent-harness. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The rules in rules/ are this company's opinions about AL, one article per rule, each with a
.good.al and a .bad.al sample. They are mandatory.
They come on top of BCQuality, not instead of it. BCQuality is the general layer (Microsoft + community best practice) and still applies in full; the company rules add what your shop decided on top. Where the two disagree, the company rule wins.
This skill returns rules, not answers: after reading them, you apply each one to the code at hand.
al-coder and al-sdd agents), before designing (al-spec).al-reviewer), and /done line D7.List rules/*.md except README.md. Never work from a remembered or fixed list: the
folder is the list. An empty folder is fine: report "no company rules" and stop.
Read each article's frontmatter keywords and its ## Description. A rule applies when the
code at hand contains what it talks about (a tableextension, a page, a Label, a Meth
codeunit, any .al file). In doubt, include it: a rule is cheap to check and expensive to
miss.
The whole article plus its .good.al and .bad.al. The samples are the authoritative form.
Normative are ## Best Practice and ## Anti Pattern; the ## Description says how to check.
.good.al pattern as you write; never emit the .bad.al
pattern.## Decisions as a constraint
("D5 - rule tableextension-pte-suffix: field is "Preferred Carrier PTE"")..al file.Company rules (rules/, 5 found, 4 applicable)
PASS tableextension-pte-suffix app/src/DIRCustomer.TableExt.al:5 "Preferred Carrier PTE"
FAIL label-naming app/src/DIRCustomerCheckCarrierMeth.Codeunit.al:22
CarrierLabel passed to Error() -> rename to NoPreferredCarrierErr
PASS single-object-per-file 6 files, 1 object each
PASS page-no-local-procedures app/src/DIRCustomerCard.PageExt.al: no local procedure
N/A meth-codeunit-single-public-procedure no Meth codeunit in the change
Every line has evidence (file:line) or, for N/A, the reason. A FAIL on a company rule blocks
done.
rules/.rules/README.md - how to write a rule.definition-of-done - D7 runs step 5 of this skill.al-knowledge - general guidance, which these rules override.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
al-language, coding-standards, code-review, company-policies
npx claudepluginhub waldo1001/directionsemea.alagentharness --plugin al-agent-harness6 skills in this plugin
/al-build-validationBuild, diagnose and fix AL code until the build is green. Use when: you created or changed any .al file or app.json, before saying a task is done, before a review or a PR, and when the user asks "does it compile". Provides the build -> diagnostics -> fix -> rebuild loop and a fixed report. Code is not finished until this is green. Does not run tests./al-knowledgeFind sourced Business Central / AL guidance instead of answering from memory. Use when: asked "how should I ..." about AL or BC, choosing a pattern (events, error handling, labels, permissions, performance, upgrade, testing), checking what an object, field, event or procedure is or does in this BC version, finding the base-app event to subscribe to, asking what changed between BC versions, or reviewing AL against best practice. Routes to the BC Observatory plugin, BCQuality or the symbols, and cites the source./al-object-id-assignmentReserve object, field and enum-value IDs with AL Object ID Ninja BEFORE writing the AL artifact, and release IDs that end up unused. Use when: creating any new AL object (table, tableextension, page, pageextension, codeunit, report, enum, enumextension, query, xmlport, permissionset, ...), adding a field through a tableextension, adding an enum value through an enumextension, or deleting/reverting an object whose ID you reserved. Never pick an ID yourself./chat-exportExport an agent session and turn it into a short diagnose report for whoever maintains the harness: which skills, agents and MCP servers were available versus actually used, which tools failed, where the agent looped. Use when: "export this chat", "why did it not use the skill", "send this session to the devlead", the developer says the tooling (not the code) is failing them. Never runs unasked./definition-of-doneCheck a change against DEFINITION-OF-DONE.md mechanically: every line gets a command or tool call as evidence, then one word, done or not done. Use when: /done, "is it done?", "can I open a PR?", before handing work to review, after the al-coder agent finishes. Never fixes: reports. D8 publishes to the sandbox and runs the tests, nothing else changes.Other plugins' skills for the same job