From bc-al-dev
Use when creating a new feature component from scratch in an Express LUCK HQ BC extension. Guides full component scaffolding: folder structure, all object types, and permission wiring. Use when user says "add new feature", "create component", "new module", or wants to scaffold a complete feature area.
How this skill is triggered — by the user, by Claude, or both
Slash command
/bc-al-dev:bc-al-componentThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- User wants to add a new feature area (e.g., "add warranty tracking")
Get prefix, idRanges, dependencies from the repo's app.json.
Before writing code, determine:
src/components/<ComponentName>/
Tables/
Pages/
Codeunits/
TableExtensions/
PageExtensions/
PermissionSetExtensions/
Follow bc-al-new-object skill for each object. Key patterns:
table <id> "<PREFIX> <Name>"
{
Caption = '<Name>';
DataClassification = CustomerContent;
LookupPageId = "<PREFIX> <Name>s";
DrillDownPageId = "<PREFIX> <Name>s";
DataCaptionFields = Code, Description;
fields
{
field(1; Code; Code[20])
{
Caption = 'Code';
DataClassification = CustomerContent;
NotBlank = true;
}
field(2; Description; Text[100])
{
Caption = 'Description';
DataClassification = CustomerContent;
}
field(3; Blocked; Boolean)
{
Caption = 'Blocked';
DataClassification = CustomerContent;
}
}
keys
{
key(PK; Code) { Clustered = true; }
}
fieldgroups
{
fieldgroup(DropDown; Code, Description) { }
}
}
page <id> "<PREFIX> <Name>s"
{
Caption = '<Name>s';
PageType = List;
SourceTable = "<PREFIX> <Name>";
ApplicationArea = All;
UsageCategory = Lists;
Editable = true;
layout
{
area(content)
{
repeater(General)
{
field(Code; Rec.Code)
{
ApplicationArea = All;
ToolTip = 'Specifies the code.';
}
field(Description; Rec.Description)
{
ApplicationArea = All;
ToolTip = 'Specifies the description.';
}
}
}
}
}
tableextension <id> "<PREFIX> <BaseTable> Tbl Ext" extends <BaseTable>
{
fields
{
field(<fieldId>; "<PREFIX> <FieldName>"; Code[20])
{
Caption = '<Label>';
DataClassification = CustomerContent;
TableRelation = "<PREFIX> <RelatedTable>".Code where(Blocked = const(false));
ToolTip = 'Specifies <description>.';
}
}
}
pageextension <id> "<PREFIX> <BasePage> Ext" extends "<BasePage>"
{
layout
{
addafter(<AnchorField>)
{
field(<VarName>; Rec."<PREFIX> <FieldName>")
{
ApplicationArea = All;
Lookup = true;
ToolTip = 'Specifies <description>.';
}
}
}
}
Follow bc-al-permissions skill. Create both Edit and Read extensions for each new table/page.
If the component extends base BC functionality, use events/subscriptions in codeunits rather than modifying base objects directly.
| Component | Objects | Module |
|---|---|---|
| CustomerType | Table, Page, TableExt, PageExt | Sales |
| CustomerLedgerAPI | Page (API) | Sales |
| SalesEntries | Page (API), TableExt, PageExt | Sales |
| Location | TableExt | Warehouse |
Provides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub expressluck/sub-business-central.hq-agent-plugin-marketplace --plugin bc-al-dev