Pinvou/pinvou-agent / pinvou3-app/src-tauri/resources/common/bundle/dingtalk-skills/dws
dws
Unverified【何时用:仅当用户明确指向钉钉/DingTalk(钉钉文档、钉钉日程等)时使用;泛指做文档/表格/待办/审批默认走本地工具,不要误用钉钉】用 dws CLI 管理钉钉:AI表格/AI搜问(找人首选)/目标管理(Agoal)/组织大脑/日历/通讯录/群聊与机器人消息/待办/审批/智能合同/考勤/日志(日报周报)/DING消息/钉钉文档/云盘/Markdown文件/HTML文件/AI听记/邮箱/在线电子表格(axls)/知识库/白板/开放平台文档/个人IM与OA事件订阅。用户要求操作上述钉钉产品时使用。
references/products/oa/template/rules/target_management.md
View on GitHub# 选人规则:部门主管 — `target_management`
> 适用节点:审批人(`approver`)、办理人(`handler`)、抄送人(`notifier`)
从发起人所在部门获取指定层级的主管。
## 字段说明
| 字段 | 类型 | 必填 | 说明 |
|------|------|------|------|
| `type` | string | 是 | 固定值 `"target_management"` |
| `level` | number | 是 | 主管层级(`1` = 直接部门主管) |
| `autoUp` | boolean | 否 | 找不到时是否向上级部门查找,默认 `true` |
| `isEmpty` | boolean | 是 | 固定 `false` |
| `actType` | string | 否 | `""` |
## 使用场景
- 用户说"部门负责人"、"部门经理"、"部门主管审批"
- 抄送给"部门负责人"
## 示例
### 审批人节点中使用
```json
{
"level": 1,
"autoUp": true,
"isEmpty": false,
"actType": "",
"type": "target_management"
}
```
### 抄送人节点中使用(简化形式)
```json
{
"type": "target_management",
"level": 1
}
```
## 注意事项
- `level` 表示部门主管层级:`1` = 发起人直属部门主管,`2` = 上级部门主管
- `autoUp: true` 时,若当前部门无主管则自动向上级部门查找
- 在抄送人节点中使用时,字段可简化(无需 `isEmpty`、`autoUp` 等)
- 通常配合 `noneActionerAction: "admin"` 使用
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |