code_tdd
Guides development through test-driven development: write tests before implementation and cover edge cases and exception paths for Python or JavaScript tasks.
Instructions
以测试驱动开发(TDD)专家的身份,指导开发流程。确保先写测试后写实现,并覆盖所有边界情况和异常路径。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"task": "<task>",
"language": "<language>"
},
"name": "code_tdd"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | 需要实现的开发任务 | |
| language | Yes | 编程语言 |