Refine Task
Developmentrefine-taskRefine Task is an Agent Skill for development published in the ModelEngine-Group/fit-framework repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
处理代码审查反馈并修复审查中发现的问题。当用户要求修复审查问题、处理 review 反馈时触发。参数为 task-id。
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/ModelEngine-Group/fit-framework/blob/HEAD/.agents/skills/refine-task/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/refine-task, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
修复审查问题
执行步骤
-
验证前置条件:
- .ai-workspace/active//task.md 存在
- .ai-workspace/active//review.md 存在
-
读取审查报告,整理问题:
- 🔴 Blocker 问题(必须修复)
- 🟡 Major 问题(建议修复)
- 🟢 Minor 问题(可选修复)
-
按优先级逐项修复,修复后运行相关测试验证。
-
运行测试验证:
mvn test -pl :<module-name> -
更新 implementation.md,追加"修复记录"章节。
-
更新任务状态。
-
提示重新审查(review-task)或直接提交(commit)。
注意: 严格按照审查报告修复,不要添加额外变更。不要自动 git commit。