lark-approval
🤖 AI Summary
This skill provides a CLI-based approval workflow agent that queries pending/completed tasks, retrieves instance details, and executes actions (approve, reject, transfer, add sign, rollback, remind, cancel, cc) using `lark-cli` with mandatory `--as user` flag and a required pre-read of shared auth/permission config.
How to Install
Claude Code:
git clone --depth 1 https://github.com/larksuite/cli.git && cp cli/skills/lark-approval ~/.claude/skills/lark-approval -r**CRITICAL — 开始前 MUST 先用 Read 工具读取 [`../lark-shared/SKILL.md`](../lark-shared/SKILL.md),其中包含认证、权限处理**
所有命令默认 `--as user`(审批是人的动作)。调用前先 `lark-cli schema approval..` 查参数结构,不要猜字段。
## 选哪个命令
| 想做什么 | 命令 |
|---|---|
| 查待办/已办 | `tasks query`(`topic`:1待办 2已办 17未读 18已读)|
| 看表单/进度/当前节点 | `instances get` |
| 同意/拒绝 | `tasks approve` / `tasks reject` |
| 转交/加签/退回 | `tasks transfer` / `tasks add_sign` / `tasks rollback` |
| 催办 | `tasks remind` |
| 撤回/抄送/按定义查已发起 | `instances cancel` / `instances cc` / `instances initiated` |
处理链:`tasks query` 拿 `instance_code` + `task_id`(操作必须成对带上)→ 需要细节再 `instances get` → 执行操作。
```bash
lark-cli approval tasks query --params '{"topic":"1"}' --as user
lark-cli approval tasks approve --data '{"instance_code":"","task_id":"","comment":"同意"}' --as user
```
## 不在本 skill 范围
创建审批定义/发起新审批(走飞书客户端或审批管理后台);非审批类待办 → [`lark-task`](../lark-task/SKILL.md)
Details
| Category | Coding → generation |
| Source | larksuite/cli |
| SKILL.md | View on GitHub → |
| Repo Stars | ★ 14.6K |
| Est. per Skill | 416 (shared across 35 skills from this repo) |
| Difficulty | Intermediate |
| Risk Level | N/A |
Related Skills
hig-patterns
Apple HIG: Interaction Patterns Check for .claude/apple-design-context.md before asking questions. U
gws-meet
meet (v2) > PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security rules. If
gws-people
people (v1) > PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security rules.
gws-tasks
tasks (v1) > PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security rules. I
Works Well With
Skills from the same repository — often designed to work together
lark-apps
apps (v1) 妙搭应用属于用户资产。默认用 --as user;认证、scope、exit-10、高风险确认、notice 等通用处理只读 ../lark-shared/SKILL.md(../
lark-attendance
attendance (v1) CRITICAL — 开始前 MUST 先用 Read 工具读取 ../lark-shared/SKILL.md(../lark-shared/SKILL.md),其中
lark-base
base 何时使用 使用本 skill: - 用户明确提到 Base / 多维表格 / bitable,或给出 /base/ 链接。 - 用户要在 Base 内建表、改表、管理字段、写记录、查记录、配