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.

skills.sh installs
978
GitHub stars
217
last updated
Jun 11, 2026

Install

$ npx -y skills add microsoft/github-copilot-for-azure --skill file-test-bug --agent claude-code

Installs into .claude/skills of the current project.

Files

File Test Bug

Creates a GitHub issue in microsoft/github-copilot-for-azure for integration test failures.

Input

  • Skill name (required): e.g., azure-ai, appinsights-instrumentation
  • Test run (optional): Timestamp of test run. Defaults to most recent with logs for the skill.

Steps

  1. Ask user for skill name if not provided
  2. Parse tests/reports/junit.xml for failures matching the skill
  3. Find test run directory (specified or most recent with matching logs)
  4. Read agent-metadata.md from tests/reports/test-run-<timestamp>/<skillname>-<testname>/
  5. For each failure, read the actual line of code from the test file using the location (file:line) from junit.xml
  6. REQUIRED - Write diagnosis BEFORE creating issue:
    • Analyze the agent-metadata.md to understand what the agent did
    • Compare agent behavior to what the test expected (from the assertion)
    • Identify the root cause (skill issue, test issue, or model behavior)
    • Write 2-3 sentences per failed test explaining WHY it failed
    • Suggest potential fixes (update skill, update test, or update fixtures)
  7. Create issue via github-mcp-server-create_issue:

Sponsors

Details

Repository
github.com/microsoft/github-copilot-for-azure
Categories
Testing & QA, Git & Pull Requests, AI & Agent Building, Debugging, Cloud & Infrastructure
First seen
Apr 16, 2026

More from microsoft/github-copilot-for-azure

All 40
1aj-geddes avatarapi-contract-testingaj-geddes/useful-ai-promptsVerify API contracts between services to ensure compatibility and prevent breaking changes. Use for contract testing, Pact, API contract validation, schema vali926skills.sh installs
2anthropics avatarinitiating-coverageanthropics/financial-services-pluginsinitiating coverage919skills.sh installs
3microsoft avataranalyze-test-runmicrosoft/github-copilot-for-azureAnalyze a GitHub Actions integration test run and produce a skill invocation report with failure root-cause issues. TRIGGERS: analyze test run, skill invocation847skills.sh installs
4microsoft avataranalyze-test-runmicrosoft/azure-skillsanalyze test run825skills.sh installs
5postplusai avatarprompt-preflight-qapostplusai/postplus-skillsReview storyboard prompts and video-request prompts before generation. Use this when a prompt draft already exists and you need to catch weak first frames, drif821skills.sh installs
6greekr4 avatarplaywright-bot-bypassgreekr4/playwright-bot-bypassThis skill should be used when the user asks to "bypass bot detection", "avoid CAPTCHA", "stealth browser automation", "undetected playwright", "bypass Google b788skills.sh installs