
If you're running integration tests for GitHub Copilot for Azure skills and need to file bugs when they fail, this automates the tedious part. Point it at your JUnit XML output and it'll parse the failures, dig through your test run logs to find the agent metadata, pull the actual failing line of code from your test files, and create a properly formatted GitHub issue in the microsoft/github-copilot-for-azure repo. The standout bit is that it requires a diagnosis before filing, forcing you (or Claude) to actually compare what the agent did versus what the test expected and suggest whether the fix belongs in the skill, the test, or the fixtures. It's opinionated about including full untruncated logs in collapsible sections, which is the right call for debugging later.
$ npx -y skills add microsoft/github-copilot-for-azure --skill file-test-bug --agent claude-codeInstalls into .claude/skills of the current project.
Creates a GitHub issue in microsoft/github-copilot-for-azure for integration test failures.
azure-ai, appinsights-instrumentationtests/reports/junit.xml for failures matching the skillagent-metadata.md from tests/reports/test-run-<timestamp>/<skillname>-<testname>/github-mcp-server-create_issue:owner: microsoft
repo: github-copilot-for-azure
title: Integration test failure in <skill-name>
labels: ["bug", "integration-test"]
body: |
## Failed Tests
- <test-name>: <error message>
## Diagnosis
### Root Cause
<1-2 sentences explaining WHY the test failed based on agent-metadata.md analysis>
### Analysis per Test
- **<test-name>**: <what agent did vs what test expected>
### Suggested Fix
<one of: update skill, update test assertions, provide test fixtures>
## Details
### <test-name>
**Error:** <failure from junit.xml>
**Location:** <file:line>
```typescript
<actual line of code from the test file at the specified line number>
<full contents of agent-metadata.md file, verbatim>
Include the complete, unmodified contents of each agent-metadata.md file in the issue body. Do NOT summarize or truncate the logs. Wrap each log in a <details> block with the test name as the summary.
Sponsors