Build Error Triage

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.

49 stars 26 forksAI, LLMs & Agents

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add dynamics365ninja/d365fo-cli --skill build-error-triage
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/build-error-triage ~/.claude/skills/build-error-triage

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

# Triaging a build or runtime error

## Start here — do not read the log by eye

```sh
# A whole log, from a file or stdin
d365fo explain-error --file build.log --output json
cat build.log | d365fo explain-error --output json

# One pasted message
d365fo explain-error "The field 'CreditMaxx' does not exist on table CustTable." --output json
```

The command parses the xppc line grammar into structured diagnostics
(`{object, member, line, column, message, hint}`), scores every message against
the fix-hint rules, and returns the ranked fixes plus the knowledge topic behind
each. A message that matches nothing is returned **verbatim** rather than
answered with the nearest-looking rule — an unexplained message is information,
a wrong explanation is not.

## First question: is it your code at all?

An `MSB…` code means MSBuild failed before the X++ compiler ever ran, so nothing in the
log is a statement about your code. The three that actually happen:

| Message | What it is | Fix |
|---|---|---|
Read the full skill on GitHub

Details

Skill name
build-error-triage
Path
skills/anthropic/build-error-triage/SKILL.md
Repo updated
16 November 2026

FAQ

What does the Build Error Triage skill do?

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.

How do I install the Build Error Triage skill?

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

Is Build Error Triage 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

Business Events Authoring

49

dynamics365ninja/d365fo-cli

Author or extend custom Business Events in D365 Finance & Operations. Invoke when the user asks to "create a business event", "add a business event", "build a custom business event", or wire D365FO outbound notifications to Power Automate / Service Bus / Event Grid.

Marketing, Sales & Business26

Choose Team

49

toffyui/ccteams

Pick and apply the best ccteams agent team for a described need using natural language — reads team metadata, selects the closest match, and applies it.

AI, LLMs & Agents

Coc Extension Authoring

49

dynamics365ninja/d365fo-cli

Author a Chain-of-Command extension in D365FO without duplicating existing wrappers. Use when the user asks to "wrap a method", "add a CoC", or "modify behavior of standard method".

AI, LLMs & Agents26

Ijfw Summarize

43

FerroxLabs/wayland-core

Generate optimized project context from codebase scan. Trigger: new project, no CLAUDE.md, /ijfw-summarize

AI, LLMs & Agents17

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