/governance:approval-flow-slafrom governance
Đo luồng vận hành approval — phát hiện nghẽn ở node/người duyệt nào, audit toàn bộ dữ liệu đã duyệt, dựng & chấm SLA. Triggers "nghẽn duyệt ở đâu", "ai đang ngâm duyệt", "SLA duyệt", "phân tích luồng approval", "approval bottleneck".
Ships in governance. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
"Đơn duyệt chậm mà không biết kẹt chỗ nào" → "node X / người Y ngâm
p90 = 18h, vỡ SLA 6h, đây là 3 đơn cần thúc."
Process-owner view (cả luồng), KHÁC approval-triage (per-item decide).
Agent đo + chỉ nghẽn; user quyết hành động.
Verbs: raw approval → instances initiated (list instance_code
theo người + time range), instances get --instance-code <c> (timeline
task_list[] mỗi node có start_time/end_time/status/node_name
→ nguồn tính dwell), tasks query (pending theo người), tasks remind
(thúc approver), tasks transfer (gỡ nghẽn). MUST lark-cli schema approval.<res>.<method> trước khi gọi raw — đừng đoán field. Atomic
shapes + token flags: connectors/LARK-RECIPES.md. Công thức metric + SLA:
references/metrics.md.sla-targets.md (target mỗi node + end-to-end mỗi
process), process-catalog.md (definition_code → tên + chuỗi node kỳ
vọng), team-roster.md (approver → manager, để escalate),
policies.md (audit đơn đã duyệt). Thiếu sla-targets.md → dùng
default (node 24h / end-to-end 72h) + cảnh báo chưa cấu hình.approval instances initiated --user-id <id> --start <t-30d> --end <today> gom theo team-roster
người phát đơn, hoặc nhận list dán sẵn. Giới hạn: enumerate chỉ
theo người-phát; KHÔNG có list org-wide trong CLI → state rõ độ phủ.approval instances get --instance-code <c> --jq '.data|{status,start_time,end_time,task_list}'.references/metrics.md):
end_time − start_time mỗi task → thời gian đơn
NẰM CHỜ ở approver đó (≠ thời gian xử lý thực).end_time − start_time (đơn đã xong) /
now − start_time (đơn còn mở, = backlog age).sla-targets.policies.md): cờ
rubber-stamping (duyệt < ngưỡng tối thiểu, vd <60s cho đơn tiền),
self-approval, vượt threshold mà vẫn pass, node bị skip so với
chuỗi kỳ vọng trong process-catalog.md.tasks remind đơn quá hạn / đề xuất tasks transfer
khi approver vắng (check team-roster cover). ≤10 thao tác / confirm.sla-targets.md),
không bịa con số.team-roster.md).APPROVED/REJECTED) để khỏi méo phân phối.transfer → quy dwell cho người NHẬN, ghi lại chuỗi.process-catalog.md → bỏ qua audit "skip node", phần còn vẫn chạy.start_time/end_time là epoch ms → chuẩn hóa trước khi trừ.Required: sla-targets.md, process-catalog.md.
Recommended: team-roster.md (escalate/cover), policies.md (audit).
Trống → chạy ở chế độ "đo + đề xuất baseline", emit setup warning.
Weekly ops review (thứ Hai): scorecard + top nghẽn. Daily nếu backlog
ngưỡng: chỉ phần aging + đơn vỡ SLA. Pairs với
morning-briefexec.
What SKILL.md sets; muted values are Claude Code's defaults
4 skills in this plugin
/approval-triageTriage pending Lark Approval queue — recommend approve/reject/ask-more per item with policy citation. Triggers "approval pending", "duyệt expense", "queue duyệt", "có gì cần duyệt"./decision-loggerDetect decisions in IM/minutes and promote them to a structured Base table. Triggers "decision log", "chốt cái này", "log lại decision"./permission-auditRead-only scan of Drive/Doc/Wiki/Base for risky permissions (public, external, PII). Triggers "permission audit", "quét quyền", "PII leak".Other plugins' skills for the same job
npx claudepluginhub larkcowork/lark-cowork-plugins --plugin governance