file-test-bug
Skill11 starsChanged 9 months agoMITView on GitHub
File a GitHub issue for local integration test failures. TRIGGERS: file test bug, report test failure, create bug for test, integration test failed, test failure issue, junit failure
2 other projects use a version of this, 2 of them edited.
Adopted by
Most recently taken up by
- microsoft/GitHub-Copilot-for-Azureedited, first seen Oct 27, 2026
- AngelescuCiprian/claude-skillsedited, first seen Aug 22, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 2
- microsoft/GitHub-Copilot-for-Azure★ 26295% same
- AngelescuCiprian/claude-skills★ 095% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository73 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .agents/skills/vercel-composition-patterns/AGENTS.mdAGENTS.md
- .agents/skills/vercel-react-best-practices/AGENTS.mdAGENTS.md
- .agents/skills/vercel-react-native-skills/AGENTS.mdAGENTS.md
- appinsights-instrumentationSkill
- azure-aigatewaySkill
- azure-aiSkill
- azure-complianceSkill
- azure-cost-optimizationSkill
- azure-deploySkill
- azure-diagnosticsSkill
- azure-kustoSkill
- azure-networkingSkill
- azure-observabilitySkill
- azure-postgresSkill
- azure-prepareSkill
- azure-resource-visualizerSkill
- azure-role-selectorSkill
- azure-storageSkill
- azure-validateSkill
- entra-app-registrationSkill
- markdown-token-optimizerSkill
- microsoft-foundrySkill
- senseiSkill
- skill-authoringSkill
- vercel-composition-patternsSkill
- vercel-react-best-practicesSkill
- vercel-react-native-skillsSkill
- web-design-guidelinesSkill
- appinsights-instrumentationSkill
- azure-aigatewaySkill
- azure-aiSkill
- azure-complianceSkill
- azure-cost-optimizationSkill
- azure-deploySkill
- azure-diagnosticsSkill
- azure-kustoSkill
- azure-networkingSkill
- azure-observabilitySkill
- azure-postgresSkill
- azure-prepareSkill
- azure-resource-visualizerSkill
- azure-role-selectorSkill
- azure-storageSkill
- azure-validateSkill
- entra-app-registrationSkill
- file-test-bugSkill
- markdown-token-optimizerSkill
- microsoft-foundrySkill
- senseiSkill
- skill-authoringSkill
- appinsights-instrumentationSkill
- azure-aigatewaySkill
- azure-aiSkill
- azure-complianceSkill
- azure-cost-optimizationSkill
- azure-deploySkill
- azure-diagnosticsSkill
- azure-kustoSkill
- azure-networkingSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Ask user for skill name if not provided
- Very specific: line 20
Read agent-metadata.md from tests/reports/test-run-<timestamp>/<skillname>-<testname>/
- Distinctive: line 26
Write 2-3 sentences per failed test explaining WHY it failed
- Very specific: line 28
Create issue via github-mcp-server-create_issue:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
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-role-selector,appinsights-instrumentation - Test run (optional): Timestamp of test run. Defaults to most recent with logs for the skill.
Steps
- Ask user for skill name if not provided
- Parse
tests/reports/junit.xmlfor failures matching the skill - Find test run directory (specified or most recent with matching logs)
- Read
agent-metadata.mdfromtests/reports/test-run-<timestamp>/<skillname>-<testname>/ - For each failure, read the actual line of code from the test file using the location (file:line) from junit.xml
- 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)
- Create issue via
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> <details>
<summary>agent-metadata.md</summary><full contents of agent-metadata.md file, verbatim>
</details>
```Important
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.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

