Create Department
create_departmentCreates a project-specific department with scoped ownership, a dedicated subagent, and organization records so domain work is delegated while the orchestrator coordinates.
Instructions
Lập bộ phận theo dự án: hồ sơ docs/departments/<mã>/, subagent .claude/agents/dept-<mã>.md, thêm vào ORGANIZATION.md.
Sau khi lập, mọi việc thuộc lĩnh vực của bộ phận được giao cho subagent này; Orchestrator chỉ điều phối. model và effort là mặc định của bộ phận; Orchestrator ghi đè theo từng việc khi giao (ORGANIZATION.md §5.1).
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>",
"code": "<code>",
"name": "<name>",
"domain": "<domain>",
"owns": "<owns>"
},
"name": "create_department"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Mã viết hoa, ví dụ PLATFORM, TRUST | |
| name | Yes | Tên bộ phận, ví dụ Nền tảng | |
| owns | Yes | Vùng thư mục sở hữu, ví dụ `src/`, `tests/` | |
| model | No | Model mặc định của subagent: inherit, sonnet, opus, haiku hoặc mã model; việc soạn tài liệu, rà soát, khảo sát nên dùng model nhẹ | inherit |
| domain | Yes | Lĩnh vực phụ trách, một câu | |
| effort | No | Mức suy nghĩ mặc định của subagent; để trống thì theo phiên gọi | |
| decision | No | Mã QT lập bộ phận nếu đã ghi | |
| discipline | No | Kỷ luật riêng của bộ phận, mỗi dòng một luật, ví dụ chạy test nào trước khi báo xong | |
| project_dir | Yes | Đường dẫn tuyệt đối tới gốc repo dự án |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||