Table Scaffolding

Create AxTable XML in D365 Finance & Operations using business-role pattern presets (Main / Transaction / Parameter / Group / Reference / WorksheetHeader / WorksheetLine), or add fields / indexes / relations to existing tables. Use whenever the user asks to "create a table", "scaffold a master/transaction/parameter table", "add a field", or "set TableGroup / TableType".

49 stars 26 forksAI, LLMs & Agents

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add dynamics365ninja/d365fo-cli --skill table-scaffolding
Manual install
git clone --depth 1 https://github.com/dynamics365ninja/d365fo-cli.git /tmp/d365fo-cli
mkdir -p ~/.claude/skills
cp -r /tmp/d365fo-cli/skills/anthropic/table-scaffolding ~/.claude/skills/table-scaffolding

Personal 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.

# Creating & modifying AxTable definitions

> The CLI's `d365fo generate table` mirrors `d365fo-mcp-server`'s
> `generate_object` (`objectType=table`). Pattern presets pre-populate the table with the
> canonical `TableGroup`, a sensible default field skeleton, and an
> alternate-key index — so the scaffold passes BP `BPCheckAlternateKeyAbsent`
> out of the box.

## Pre-flight (always — ONE call)

```sh
d365fo prepare create <Name> --type table --field <F1> --field <F2> --goal "<why>" --output json
```

This single call returns the name-collision check, naming validation, similar
existing tables to copy patterns from, EDT suggestions per planned field,
reusable labels, mined property defaults (what % of STANDARD tables set
Label/TableGroup/ClusteredIndex and the most common TableGroup values), and a
**grounding token** — pass it to `d365fo generate table … --grounding-token <token>`.

Fallback (prepare unavailable):
Read the full skill on GitHub

Details

Skill name
table-scaffolding
Path
skills/anthropic/table-scaffolding/SKILL.md
Repo updated
16 November 2026

FAQ

What does the Table Scaffolding skill do?

Create AxTable XML in D365 Finance & Operations using business-role pattern presets (Main / Transaction / Parameter / Group / Reference / WorksheetHeader / WorksheetLine), or add fields / indexes / relations to existing tables. Use whenever the user asks to "create a table", "scaffold a master/transaction/parameter table", "add a field", or "set TableGroup / TableType".

How do I install the Table Scaffolding skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add dynamics365ninja/d365fo-cli --skill table-scaffolding. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Table Scaffolding popular?

It lives in dynamics365ninja/d365fo-cli, which has 49 GitHub stars and 26 forks.

Related skills

Analytics and Er

49

dynamics365ninja/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.

Data & Analytics26

Barcode Scanning

49

dynamics365ninja/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.

AI, LLMs & Agents26

Build Error Triage

49

dynamics365ninja/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.

AI, LLMs & Agents26

Use Team

49

toffyui/ccteams

Apply a named ccteams agent team to the current project by running ccteams use <team-name>.

AI, LLMs & Agents

System Objects

49

dynamics365ninja/d365fo-cli

The kernel (system) types X++ has that no AOT file declares — xRecord, Common, xSession, xApplication, Args, ClassFactory, the collection and reflection classes — why the metadata index cannot see them, and what that means for validation. Invoke when a type resolves at compile time but not in the index, when `validate references` warns about a declared type, or when reasoning about what every table buffer or object inherits.

AI, LLMs & Agents26

X++ Class Authoring

49

dynamics365ninja/d365fo-cli

Guidance for authoring or extending X++ classes in D365 Finance & Operations. Invoke whenever the user asks to "create a class", "extend a class", "add a method", or write any X++ that touches CoC.

AI, LLMs & Agents26

Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.