Refresh Departments
refresh_departmentsRefresh department subagent files to the current template after an upgrade, keeping names, codes, domains, models and effort. Reports files with custom edits instead of overwriting them.
Instructions
Làm mới file subagent bộ phận (.claude/agents/dept-*.md) theo mẫu hiện hành, giữ tên, mã, lĩnh vực, vùng sở hữu, model, effort, kỷ luật riêng.
Dùng sau upgrade để bộ phận đã lập nhận luật mới. File đã bị sửa khác mẫu thì bỏ qua và báo.
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>"
},
"name": "refresh_departments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | true: chỉ báo file sẽ cập nhật, không ghi | |
| project_dir | Yes | Đường dẫn tuyệt đối tới gốc repo dự án |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||