Skip to main content

implement-task

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

Source facts

Repository
ModelEngine-Group/fit-framework
Last source activity
March 3, 2026 at 09:09
Detected SKILL.md language
Chinese
Stars
2,117
Forks
335

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
implement-task
description
根据技术方案实施任务,编写代码和测试,输出实现报告。当用户要求实施任务、开始编码、执行技术方案时触发。参数为 task-id。
# 实施任务 根据技术方案实施任务,编写代码和测试。 ## 执行步骤 1. 验证前置条件: - .ai-workspace/active/<task-id>/task.md 存在 - .ai-workspace/active/<task-id>/plan.md 存在 2. 读取技术方案(plan.md),理解实现策略和步骤。 3. 执行代码实现: - 按照 plan.md 中的步骤顺序执行 - 编写完整的单元测试 - 修改带版权头的文件时,先运行 `date +%Y` 获取当前年份并更新版权头 4. 运行测试验证: ```bash mvn test -pl :<module-name> ``` 5. 输出实现报告到 implementation.md。 6. 更新任务状态,标记 implementation 为完成。 7. 提示下一步使用 review-task skill。 **注意**: 严格遵循 plan.md,不要添加计划外功能。不要自动 git commit。
View on GitHub