Xpp Runtime Types
Use the X++ runtime type surface correctly — collections and containers, utcdatetime and time zones, .NET interop, the Dict* reflection API, and macros. Invoke when the user asks about List/Map/Set/Struct/container, date and time zone handling, calling .NET from X++, runtime metadata, or macro libraries.
Install
npx skills add dynamics365ninja/d365fo-cli --skill xpp-runtime-typesgit clone --depth 1 https://github.com/dynamics365ninja/d365fo-cli.git /tmp/d365fo-cli
mkdir -p ~/.claude/skills
cp -r /tmp/d365fo-cli/skills/anthropic/xpp-runtime-types ~/.claude/skills/xpp-runtime-typesPersonal 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 is proprietary. **ALWAYS use `d365fo generate …` commands** to produce correct AOT XML. If `d365fo` is unavailable in PATH, stop and ask the user to install it. # X++ runtime types ## 1. Collections and containers Two families. The kernel collection classes (`List`, `Map`, `Set`, `Struct`, `Array`) are **reference** types with enumerators. The primitive `container` is a **value** type — assignment copies it. | Type | Shape | Key methods | |---|---|---| | `List` | ordered, duplicates allowed | `addEnd`, `addStart`, `elements`, `getEnumerator` | | `Map` | key → value | `insert`, `exists`, `lookup`, `remove`, `elements` | | `Set` | unordered, unique | `add`, `in`, `remove`, `elements` | | `Struct` | named fields | `add(name, value)`, `value(name)`, `exists(name)` | | `container` | value type, 1-based | `conLen`, `conPeek`, `conIns`, `conDel`, `conFind`, `conNull` | - Element types are declared at construction with the `Types` enum: `new List(Types::String)`, `new Map(Types::Int64, Types::Class)`. - **`Map.lookup()` throws when the key is absent.** Guard with `exists()` or iterate with a `MapEnumerator`. - Use a `Set` for membership and de-duplication instead of scanning a `List`. - **The container anti-pattern:** `c += [value]` inside a loop reallocates the
Details
- Skill name
xpp-runtime-types- Repository
- dynamics365ninja/d365fo-cli
- Path
skills/anthropic/xpp-runtime-types/SKILL.md- Repo updated
- 16 November 2026
FAQ
What does the Xpp Runtime Types skill do?
Use the X++ runtime type surface correctly — collections and containers, utcdatetime and time zones, .NET interop, the Dict* reflection API, and macros. Invoke when the user asks about List/Map/Set/Struct/container, date and time zone handling, calling .NET from X++, runtime metadata, or macro libraries.
How do I install the Xpp Runtime Types skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add dynamics365ninja/d365fo-cli --skill xpp-runtime-types. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Xpp Runtime Types 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.
Xpp Statement and Type Rules
49dynamics365ninja/d365fo-cli
X++ statement-level and type-system rules — switch / break, ternary, no-DB-null sentinels, casting (`as` / `is`), `using` blocks, embedded function declarations. Invoke when writing any non-trivial X++ control flow or type conversion.
Xpp Runtime Functions
49dynamics365ninja/d365fo-cli
The ~170 predefined (run-time) X++ functions the compiler actually has — argument counts as the compiler enforces them, the optional trailing parameters the language reference presents as fixed, the variadic ones, and the AX 2012 names that are gone. Invoke when calling or debugging strFmt/subStr/conPeek/date2Str-style global functions, or an FN001/FN002 finding.
Chinese Grandpa
44Jakeschincariol/unhinged-claude-skills
Compresses long, repeated sub-agent instructions by translating them into Mandarin (more meaning per character) to slash the token bill, then dispatches the compressed brief to a fleet of sub-agents while preserving original intent; invoke via /chinese-grandpa when you are about to fan out the same heavy instructions to many sub-agents and the cost is climbing.
Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.