F

file-test-bug

by @microsoftv
4.3(42)

利用GitHub Copilot for Azure辅助文件管理、测试编写和缺陷排查,提高开发效率。

bug-reportingtest-case-managementsoftware-testingazure-devopsquality-assuranceGitHub
安装方式
npx skills add https://github.com/microsoft/github-copilot-for-azure --skill file-test-bug
compare_arrows

Before / After 效果对比

1 组
使用前

集成测试失败后,需要手动创建GitHub issue,填写详细信息(如技能名称、测试运行时间、日志),耗时且容易遗漏关键信息。

使用后

使用file-test-bug技能,自动为集成测试失败创建GitHub issue,包含必要日志和上下文信息,提高问题报告效率,加速问题解决。

SKILL.md

file-test-bug

File Test Bug Creates a GitHub issue in microsoft/github-copilot-for-azure for integration test failures. Input Skill name (required): e.g., azure-rbac, 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.xml for failures matching the skill Find test run directory (specified or most recent with matching logs) Read agent-metadata.md from tests/reports/test-run-/-/ 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 labels: ["bug", "integration-test"] body: | ## Failed Tests - : ## Diagnosis ### Root Cause <1-2 sentences explaining WHY the test failed based on agent-metadata.md analysis> ### Analysis per Test - : ### Suggested Fix <one of: update skill, update test assertions, provide test fixtures> ## Details ### Error: Location: file:line ```typescript <full contents of agent-metadata.md file, verbatim> 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 block with the test name as the summary.Weekly Installs251Repositorymicrosoft/githu…or-azureGitHub Stars156First SeenFeb 4, 2026Security AuditsGen Agent Trust HubPassSocketPassSnykFailInstalled oncodex232gemini-cli228opencode200github-copilot195cursor194kimi-cli191

用户评价 (0)

发表评价

效果
易用性
文档
兼容性

暂无评价

统计数据

安装量1.0K
评分4.3 / 5.0
版本
更新日期2026年5月31日
对比案例1 组

用户评分

4.3(42)
5
40%
4
48%
3
12%
2
0%
1
0%

为此 Skill 评分

0.0

兼容平台

🔧Claude Code
🔧OpenClaw
🔧OpenCode
🔧Codex
🔧Gemini CLI
🔧GitHub Copilot
🔧Amp
🔧Kimi CLI

时间线

创建2026年3月17日
最后更新2026年5月31日
🎁 Agent 知识卡片
调研问卷