Agent Skills
› CopilotKit/OpenTag
› fix-tests
fix-tests
GitHub自动修复 GitHub 仓库或 PR 中的失败测试。通过定位测试命令、分析错误并最小化修改代码,直至测试通过并发布更改。
触发场景
用户请求修复失败的测试
触发 brief 中名为 fix-tests 的场景
安装
npx skills add CopilotKit/OpenTag --skill fix-tests -g -y
SKILL.md
Frontmatter
{
"name": "fix-tests",
"description": "Fix failing tests in a GitHub repo or PR. Use when the brief skill is fix-tests or the user wants the named test command to exit 0."
}
fix-tests
Fix failing tests in the repo from the brief.
- Call
prepare_repository, includingpr_numberwhenkindispr. - Work on the returned branch; otherwise request
opentag/fix-tests-<short-id>. - Find the test command: the brief, then
package.jsontest/ci, thenpytestorgo test ./...if those files exist. - Run the command. Read the failure. Edit the smallest set of files that fixes it.
- Re-run until exit 0 or you cannot fix it.
- If green, commit locally and call
publish_changes. - If red, do not call
publish_changes. Return the log tail.
版本历史
- 6a770d8 当前 2026-08-19 13:54


