代码任务执行与验证
根据任务范围和验收标准修改代码,遵循现有约定并通过测试验证,最后汇总变更结果。
完整提示词
Task: {task}
Scope: {scope}
Success criteria:
{success_criteria}
Constraints:
{constraints}
Instructions:
- Before making changes, briefly explore the relevant files to understand existing patterns and conventions, and follow them
- Make the smallest change that fully satisfies the task - avoid unrelated refactors
- Run existing tests (or write new ones if none exist for this area) to verify the change
- If you encounter ambiguity, state your assumption explicitly and proceed rather than stopping
- Summarize the changes made and how they were verified at the end分类与标签
编程开发、代码修改、测试验证、工程协作