Agent Skills
› CopilotKit/OpenTag
› fix-tests
fix-tests
GitHub自动修复仓库或PR中的失败测试。通过定位并执行测试命令,分析错误日志,最小化修改代码以恢复测试通过,最终提交更改或返回失败日志。
Trigger Scenarios
用户要求修复失败的测试
需要指定测试命令使其退出码为0
Install
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.
Version History
- 6a770d8 Current 2026-08-19 13:54


