Form Pattern Scaffolding
Scaffold an AxForm in D365 Finance & Operations using one of the nine canonical patterns (SimpleList, SimpleListDetails, DetailsMaster, DetailsTransaction, Dialog, TableOfContents, Lookup, ListPage, Workspace), or create a Display / Action / Output menu item. Invoke whenever the user asks to "create a form", "scaffold a list page", "make a dialog", "build a workspace", "create a menu item", "add a Display menu item", or "add an Action menu item".
Install
npx skills add dynamics365ninja/d365fo-cli --skill form-pattern-scaffoldinggit clone --depth 1 https://github.com/dynamics365ninja/d365fo-cli.git /tmp/d365fo-cli
mkdir -p ~/.claude/skills
cp -r /tmp/d365fo-cli/skills/anthropic/form-pattern-scaffolding ~/.claude/skills/form-pattern-scaffoldingPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
> ⛔ **NEVER write X++ AOT XML files directly** via PowerShell, terminal file commands (`Set-Content`, `Out-File`, `New-Item`), editor write tools, or any raw text approach. The XML schema (`<AxClass>`, `<AxTable>`, `<AxForm>`, `<Methods>`, `<SourceCode>`) is proprietary — LLMs have not been trained on it reliably. **ALWAYS use `d365fo generate …` commands** to produce correct AOT XML. If `d365fo` is unavailable in PATH, stop and ask the user to install it. # Authoring AxForm XML — pattern-correct > The CLI's `d365fo generate form` mirrors `d365fo-mcp-server`'s > `generate_object` (`objectType=form`). The nine D365FO patterns are validated against real > AOT forms (`CustGroup`, `PaymTerm`, `CustTable`, `SalesTable`, …). Hand-rolled > XML loses ActionPane, QuickFilter, FastTabs, the right `PatternVersion`, > and the design-time hooks Visual Studio expects — **never hand-roll**. ## ⛔ Anti-pattern: escalating workarounds ``` WRONG SPIRAL (each step is more wrong): 1. "I'll write the AxForm XML by hand" 2. "It's only 3 elements, I'll skip ActionPane / QuickFilter" 3. "PatternVersion 1.0 is fine instead of 1.1" 4. "I'll add SimpleList without grid columns" CORRECT — always: d365fo generate form <Name> --pattern <P> --table <T> --field <F1> --field <F2> --install-to <Model> ``` ## Pre-flight
Details
- Skill name
form-pattern-scaffolding- Repository
- dynamics365ninja/d365fo-cli
- Path
skills/anthropic/form-pattern-scaffolding/SKILL.md- Repo updated
- 16 November 2026
FAQ
What does the Form Pattern Scaffolding skill do?
Scaffold an AxForm in D365 Finance & Operations using one of the nine canonical patterns (SimpleList, SimpleListDetails, DetailsMaster, DetailsTransaction, Dialog, TableOfContents, Lookup, ListPage, Workspace), or create a Display / Action / Output menu item. Invoke whenever the user asks to "create a form", "scaffold a list page", "make a dialog", "build a workspace", "create a menu item", "add a Display menu item", or "add an Action menu item".
How do I install the Form Pattern Scaffolding skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add dynamics365ninja/d365fo-cli --skill form-pattern-scaffolding. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Form Pattern Scaffolding popular?
It lives in dynamics365ninja/d365fo-cli, which has 49 GitHub stars and 26 forks.
Related skills
Analytics and Er
49dynamics365ninja/d365fo-cli
Model the D365FO analytical and document-generation surfaces — aggregate measurements and the entity store, tiles/cues and KPIs, and Electronic Reporting (ER). Invoke when the user asks about a workspace tile, a KPI, an aggregate measurement, the entity store, Power BI content, or running/binding an ER format.
Barcode Scanning
49dynamics365ninja/d365fo-cli
Barcodes and scanner input in D365FO — printing vs scanning are unrelated code paths, GS1-128 application identifiers, item-barcode resolution, and where the platform parses a scan for you. Invoke when the user mentions barcodes, GS1, GTIN, SSCC, scanning, scanners, item barcodes, or barcode setup.
Build Error Triage
49dynamics365ninja/d365fo-cli
Turn a D365FO compiler, best-practice, or runtime error into the specific fix it calls for. Invoke when the user pastes a build log, an xppc message, a BP violation, or an infolog stack trace and asks what it means or how to fix it.
Forms and Navigation
49dynamics365ninja/d365fo-cli
Extend a D365FO form at the right lifecycle point, and wire objects into the navigation menus. Invoke when the user asks where to put form logic (init, executeQuery, active, validateWrite, clicked, modified), how to refresh a grid, how to read caller context, or how to add a menu item or a nested submenu.
Event Handler Authoring
49dynamics365ninja/d365fo-cli
Subscribe to a D365FO event (data event on a table, form / form-data-source / form-data-field event, custom delegate on a class) by scaffolding an event-handler class. Use when the user asks to "subscribe to an event", "react to inserted/deleted/updated", or "hook a delegate".
Global Class Statics
49dynamics365ninja/d365fo-cli
The Global class's ~375 static methods, and which of them a bare unqualified call resolves to. Distinguishes the 34 that are ALSO compiler predefined functions from the 341 that require Global::. Invoke when a bare call to a Global helper does not compile, when deciding between Global::x() and x(), or when adding a helper to Global.
Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.