Next Code
next_codeScans project files and generates the next sequential code for a given type and wave, preventing duplicate identifiers.
Instructions
Cấp mã kế tiếp (BL-012, W03-04, CR-W03-02, KT-005…) bằng cách quét hồ sơ, tránh trùng số.
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": {
"project_dir": "<project_dir>",
"kind": "<kind>"
},
"name": "next_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Loại mã. ISSUE, P, CR, Q, CL, QA là mã trong wave, cần wave | |
| wave | No | Mã wave, ví dụ W03; chỉ cần cho mã trong wave | |
| project_dir | Yes | Đường dẫn tuyệt đối tới gốc repo dự án |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||