OpenParable
Skip to content
← Back to skills

Implement Task

Development
implement-task

Implement 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.

根据技术方案实施任务,编写代码和测试,输出实现报告。当用户要求实施任务、开始编码、执行技术方案时触发。参数为 task-id。

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. 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/implement-task/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/implement-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.

实施任务

根据技术方案实施任务,编写代码和测试。

执行步骤

  1. 验证前置条件:

    • .ai-workspace/active//task.md 存在
    • .ai-workspace/active//plan.md 存在
  2. 读取技术方案(plan.md),理解实现策略和步骤。

  3. 执行代码实现:

    • 按照 plan.md 中的步骤顺序执行
    • 编写完整的单元测试
    • 修改带版权头的文件时,先运行 date +%Y 获取当前年份并更新版权头
  4. 运行测试验证:

    mvn test -pl :<module-name>
    
  5. 输出实现报告到 implementation.md。

  6. 更新任务状态,标记 implementation 为完成。

  7. 提示下一步使用 review-task skill。

注意: 严格遵循 plan.md,不要添加计划外功能。不要自动 git commit。