Back to skills
SKILL.md
Feishu Document Audit
ASecurity按飞书单据编号使用企业、跨行业通用、行业参考或临时规则启动 SealAI 财务审核,并展示逐条结果。当前对话材料审核、票据验真和审批同意或驳回不使用本流程。
- 417 stars
- 0 votes
- 0 copies
- 0 views
- Added November 8, 2026
Security analysis
100/100npx -y skills add infometa/workbuddyskills --skill feishu-document-audit --agent claude-codeAre you the author of Feishu Document Audit?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/infometa-feishu-document-audit)---
name: feishu-document-audit
label: 飞书单据审核
icon: ""
description: 按飞书单据编号使用企业、跨行业通用、行业参考或临时规则启动 SealAI 财务审核,并展示逐条结果。当前对话材料审核、票据验真和审批同意或驳回不使用本流程。
---
# 飞书单据审核
## 连接器与 OAuth
关联 `sealai-finance` Connector。未连接时引导用户通过 SealAI OAuth 登录、选择企业并确认授权;不得要求用户在对话中提供访问令牌。SealAI 按用户当前权限决定是否允许审核。
已有飞书审核 `job_id` 且用户只要查看结果或评论预览时,直接复用该 `job_id` 调用 `financial_audit_status`,不执行下述新审核的 context、prepare 或 start 步骤。即使任务为 `completed` 也不重建任务;评论只展示预览,不自动写回。
1. 调用 `financial_audit_context_status`;未绑定时展示安装引导并停止。
2. 用户未指定规则来源时,调用 `financial_audit_prepare`;企业规则可用时采用返回版本,没有可用企业规则时让用户在跨行业通用、行业参考和本次临时规则之间选择。用户只说“通用规则”时,询问是跨行业通用还是行业参考规则。
3. 用户选择或已经指定行业参考规则时,调用 `financial_audit_industry_catalog` 确认行业,再调用 `financial_audit_industry_rule_prepare` 获取并逐条展示完整规则和固定参数。行业不明确时只询问一次。行业规则只读;用户要求修改时,将本次所选规则复制为完整临时规则,只修改用户明确指定的内容,并说明来源已变为“本次临时规则”。
4. 向用户展示本次实际使用的完整规则并取得明确确认,确认前不得调用 `financial_audit_start`。未修改的行业来源使用 `type=industry`、规则包 `reference` 和 `selected_rule_ids`;由行业规则转换出的临时规则使用 `type=custom` 和完整 `rules`,不得传行业覆盖字段。
5. 调用 `financial_audit_start`,只传 `document_number` 及用户提供的可选飞书查询范围、审批定义和规则来源,不传 `material`。
6. 取得 `job_id` 后,使用同一 `job_id` 调用 `financial_audit_status`,展示 SealAI 返回的单据摘要、证据、逐条规则结果和结论。
审核使用 `simulation` 模式;不得执行同意、驳回、退回或转交。状态中出现评论预览时只展示预览,不自动写回。
Connector 不可达、超时、429 或任务失败时立即停止,不降级为豆包自行审核,也不重复创建任务。
Attribution
Related skills
View all in documentation →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.