Number Sequence Patterns
Register and consume a D365FO number sequence — the NumberSeqApplicationModule subclass, the parameters-table accessor, form auto-numbering, and runtime fetch. Invoke when the user asks to add an auto-numbered id, register a number sequence for a module, or wire NumberSeqFormHandler into a form.
Install
npx skills add dynamics365ninja/d365fo-cli --skill number-sequence-patternsgit clone --depth 1 https://github.com/dynamics365ninja/d365fo-cli.git /tmp/d365fo-cli
mkdir -p ~/.claude/skills
cp -r /tmp/d365fo-cli/skills/anthropic/number-sequence-patterns ~/.claude/skills/number-sequence-patternsPersonal 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. # Number sequences > This area has an unusually high density of plausible-but-wrong API names. Every > rule below states the wrong spelling next to the right one, because the wrong > ones compile in an agent's head and nowhere else. ```sh d365fo get class NumberSeqApplicationModule --output json d365fo get class NumberSeqDatatype --output json # <MODULE_NAME> is the module suffix; the CoC target is derived from it. d365fo generate number-sequence Fleet --edt FmVehicleId --edt-label "@Fleet:VehicleId" \ --scope Company --table FmVehicle --install-to FleetManagement ``` ## 1. The module class - The class **extends `NumberSeqApplicationModule`** — exact name. ❌ `NumberSequenceApplicationModule` does not exist. - It is a **subclass**, so `loadModule()` is an override that calls `super()`. ❌ `next()` is only for `[ExtensionOf]` CoC classes, never for an `extends` subclass. - `loadModule()` registers each reference through **`NumberSeqDatatype`**: `NumberSeqDatatype::construct()`, then the `parm*()` methods, then `this.create(datatype)`. ❌ Do **not** assign fields on a `NumberSeqReference` buffer — `DataTypeId`,
Details
- Skill name
number-sequence-patterns- Repository
- dynamics365ninja/d365fo-cli
- Path
skills/anthropic/number-sequence-patterns/SKILL.md- Repo updated
- 16 November 2026
FAQ
What does the Number Sequence Patterns skill do?
Register and consume a D365FO number sequence — the NumberSeqApplicationModule subclass, the parameters-table accessor, form auto-numbering, and runtime fetch. Invoke when the user asks to add an auto-numbered id, register a number sequence for a module, or wire NumberSeqFormHandler into a form.
How do I install the Number Sequence Patterns skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add dynamics365ninja/d365fo-cli --skill number-sequence-patterns. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Number Sequence Patterns 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.
Object Extension Authoring
49dynamics365ninja/d365fo-cli
Create a Table / Form / Edt / Enum extension, a new EDT (Extended Data Type), or a new base enum in D365 Finance & Operations. Use when the user asks to "extend a table", "add a field to standard CustTable", "extend an EDT", "add an enum value", "extend a form via FormExtension", "create an EDT", "create a new EDT", "create an enum", "generate edt", or "generate enum".
Model Dependency and Coupling
49dynamics365ninja/d365fo-cli
Inspect indexed D365FO models, their declared dependencies, and architectural coupling metrics (fan-in, fan-out, instability, cycles). Use when the user asks "what models depend on X", "is there a cycle", "what's the layer of model Y", or "show coupling".
Performance and Caching
49dynamics365ninja/d365fo-cli
Make D365FO code fast and keep it fast — set-based operations, indexes, the table CacheLookup modes, SysGlobalObjectCache and RecordViewCache, temp-table choice, and parallel batch fan-out. Invoke when the user asks why something is slow, how to cache, how to process a large volume, or which temp table type to use.
Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.