# Dotnet Build Diagnostics

> Capture dotnet environment and CI-style build diagnostics with binlog and summary output.

- Skill: `majiayu000/dotnet-build-diagnostics` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add majiayu000/dotnet-build-diagnostics`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/dotnet-build-diagnostics/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/dotnet-build-diagnostics

---


# dotnet-build-diagnostics

Collect build diagnostics, including a binlog and a summary log suitable for sharing in chat.

## Outputs
- `artifacts/codex/build.binlog`
- `artifacts/codex/build-summary.txt`

## Requirements
- `dotnet` CLI
- `python3` (bash script only)
- PowerShell (`pwsh`) for Windows

## Run

Bash:
```bash
bash .codex/skills/dotnet-build-diagnostics/scripts/run-build-diagnostics.sh
```

PowerShell:
```powershell
pwsh -File .codex/skills/dotnet-build-diagnostics/scripts/run-build-diagnostics.ps1
```

## Guidance for sharing errors
- Open `artifacts/codex/build-summary.txt` and paste only the error list and the first few lines of any stack trace into chat.
- If the log is large, include the first error block and the last 50 lines of the build output.
- We will iterate by fixing one error at a time and re-running the script to confirm progress.

