D365fo CLI
D365 Finance & Operations X++ AI development skill powered by the d365fo CLI. Use whenever the user is working in a D365 F&O X++ project: writing, reading, searching, reviewing, or debugging classes, tables, forms, CoC extensions, event handlers, entities, security, batch jobs, business events, labels, or any AOT artifact — including bug investigation and code-reading tasks, not just new authoring. Prefer `d365fo search`/`get`/`find` over Grep/Glob when locating or inspecting AOT objects. Points to the topic-specific d365fo skills installed next to it.
Install
npx skills add dynamics365ninja/d365fo-cli --skill d365fo-cligit clone --depth 1 https://github.com/dynamics365ninja/d365fo-cli.git /tmp/d365fo-cli
mkdir -p ~/.claude/skills
cp -r /tmp/d365fo-cli/skills/anthropic/d365fo-cli ~/.claude/skills/d365fo-cliPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# D365 Finance & Operations X++ Development — `d365fo` CLI This skill gives **Claude** the rules for assisting with D365 Finance & Operations X++ development. It is the entry point: it says which `d365fo` commands to run and which rules always apply, and the table at the bottom names the topic skill to load for each kind of task. Apply it to **every** D365 F&O X++ task — bug investigation, code review and read-only questions as much as new code. > **How Claude runs `d365fo`:** through the shell tool (Bash, or PowerShell on Windows). The only prerequisite is `d365fo` being resolvable in PATH — confirm with `d365fo doctor`. If it is not, stop and ask the user to install it (see docs/SETUP.md in the d365fo-cli repository); do not fall back to generic file search or generic X++ guidance. > > **Prefer `d365fo search`/`get`/`find`/`read` over Grep, Glob or recursive `ls`/`Get-ChildItem`** when locating or inspecting AOT XML: the CLI's model-aware index resolves enum/label/relation semantics that plain filesystem search cannot, and is far faster than recursive scans of `PackagesLocalDirectory`. --- ## Mandatory first steps ```sh d365fo doctor --output json # confirm index is healthy d365fo models list --output json # confirm target model — NEVER guess it ``` | Result | Action | |---|---| | `ok: false / NO_INDEX` | Run `d365fo index extract` first | | `warnings: ["stale-index"]` | Run `d365fo index refresh` (incremental) |
Details
- Skill name
d365fo-cli- Repository
- dynamics365ninja/d365fo-cli
- Path
skills/anthropic/d365fo-cli/SKILL.md- Repo updated
- 16 November 2026
FAQ
What does the D365fo CLI skill do?
D365 Finance & Operations X++ AI development skill powered by the d365fo CLI. Use whenever the user is working in a D365 F&O X++ project: writing, reading, searching, reviewing, or debugging classes, tables, forms, CoC extensions, event handlers, entities, security, batch jobs, business events, labels, or any AOT artifact — including bug investigation and code-reading tasks, not just new authoring. Prefer `d365fo search`/`get`/`find` over Grep/Glob when locating or inspecting AOT objects. Points to the topic-specific d365fo skills installed next to it.
How do I install the D365fo CLI skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add dynamics365ninja/d365fo-cli --skill d365fo-cli. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is D365fo CLI 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.
Debug Playbook
49toffyui/ccteams
Operational playbook for systematic debugging — hypothesis ledgers, discriminating experiments, mechanism sentences, minimal fixes, sibling hunts. Read in full at the start of every bug investigation.
Skill Tester
48harvard-lil/lawskills-hub
Helps create rubrics and test scenarios for evaluating AI skills, and evaluates conversation traces against those rubrics. Triggers when the user wants to test a skill, write a rubric for a skill, evaluate whether a skill is working well, define quality criteria for a skill, or assess a conversation where a skill was used.
Django Playbook
49toffyui/ccteams
Operational playbook for Django + DRF — settings/version detection, ORM loading strategy, migration discipline, serializer field hygiene, timezone rules, and exact verification commands. Read in full at the start of every task on this team.
Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.