Analyzes historical failure rates for Known Build Error issues by mining edit history of issue bodies. Useful for checking failure frequency, flaky test history, and triaging dormant issues.
Ships in dotnet-dnceng. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Reconstruct failure timelines for "Known Build Error" issues by analyzing the edit history of the issue body's hit count table. The build-analysis bot periodically edits these issues to update rolling hit counts (24h/7d/1mo) — this skill mines those edits to recover the full failure history.
Use this skill when:
./scripts/Get-KnownIssueHistory.ps1 -IssueNumber <N> -Repository <owner/repo>-Since <date> if the user only wants recent failures, or -Json for structured output./scripts/Get-KnownIssueHistory.ps1 -ListActive -Repository <owner/repo>-MaxIssues <N> to limit scope (default 50, max 100)# Analyze a single known issue
./scripts/Get-KnownIssueHistory.ps1 -IssueNumber 100088
# Only show recent failures
./scripts/Get-KnownIssueHistory.ps1 -IssueNumber 100088 -Since 2025-01-01
# JSON output for programmatic use
./scripts/Get-KnownIssueHistory.ps1 -IssueNumber 100088 -Json
# Scan all open Known Build Error issues, ranked by activity
./scripts/Get-KnownIssueHistory.ps1 -ListActive
# Different repository
./scripts/Get-KnownIssueHistory.ps1 -IssueNumber 12345 -Repository dotnet/aspnetcore
| Parameter | Description |
|---|---|
-IssueNumber | Known Build Error issue number to analyze |
-Repository | Target repo in owner/repo format (default: dotnet/runtime) |
-ListActive | Scan all open Known Build Error issues and rank by recent activity |
-MaxIssues | Max issues to scan in ListActive mode (default: 50) |
-Since | Only show failures after this date (ISO 8601, e.g. 2025-01-01) |
-Json | Output structured JSON ([KNOWN_ISSUE_HISTORY] block) instead of table |
-IssueNumber)Queries the GitHub GraphQL userContentEdits API for the issue, parses each edit's hit count table, and detects failure events by tracking when the 24-hour count transitions from 0 to a positive value.
Output includes:
-ListActive)Scans all open issues with the "Known Build Error" label in the repository and analyzes each one's edit history. Outputs a ranked table sorted by most recent failure.
Use this to find:
| Marker | Meaning |
|---|---|
<-- NEW FAILURE | 24h count went from 0 to N — a build just matched this known issue |
<-- ADDITIONAL FAILURE | 24h count increased — another build matched within 24 hours |
(cleared) | All counts returned to 0 — no recent matches |
Consecutive failure events are grouped into periods. A period starts when 24h goes from 0→N and ends when all counts return to 0.
| Days Since Last Failure | Status | Action |
|---|---|---|
| 0-7 | Actively failing | Needs investigation |
| 7-30 | Recently active | Monitor |
| 30-90 | Dormant | Consider closing |
| 90+ | Likely fixed | Recommend closing |
When posting results to an issue or PR comment, always include a link back to this skill so readers know where the analysis came from:
Analysis generated by [known-issue-history](https://github.com/dotnet/arcade-skills/tree/main/plugins/dotnet-dnceng/skills/known-issue-history)
The build-analysis bot edits Known Build Error issue bodies whenever hit counts change. GitHub stores the revision history via the GraphQL userContentEdits API. Each edit includes a diff showing what changed in the issue body. The script parses hit-count table rows from these diffs to reconstruct snapshots:
|24-Hour Hit Count|7-Day Hit Count|1-Month Count|
|---|---|---|
|0|0|0|
The script extracts these snapshots chronologically and detects state transitions to reconstruct when failures actually occurred — recovering historical data that the rolling windows would otherwise hide.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
2 skills in this plugin
/dotnet-dnceng:known-issue-historyfrom dotnet-dnceng
npx claudepluginhub dotnet/arcade-skills --plugin dotnet-dncengOther plugins' skills for the same job