recon-chain
Skill0 starsChanged 2 months agoMITView on GitHub
订单全链路对账与异常检测——把 订单/发货/采购/付款 事件重建为链路视图,单据级异常实时告警(部分到货、超发、无依据付款、价格异常),替代滞后的月末总额对账。当用户要"看清订单到哪了""付款有依据吗"时使用。
In this repository10 other files it gives its agents.
- llms.txtllms.txt
- content-pipelineSkill
- cost-quoteSkill
- doc-reviewSkill
- fde-discoverySkill
- kb-buildSkill
- record-linkSkill
- semantic-layerSkill
- state-reminderSkill
- timeline-checkSkill
The file
Files
Recon Chain · 链路对账与异常检测
对应案例:NO.20(从看不清订单到看清经营)。
参考实现:cases/20-ops-visibility/(四类异常 29 条实时告警 vs 月末对账 1 条)。
何时使用
- ERP 里有数据但老板"看不清":单据卡在标准流程里(供应商少发 20 个导致 整单无法入库)、付款说不出对应哪张订单
- 只有月末总额对账,单据级异常要一个月后才发现
流程
- 事件清单:确认链路涉及的事件表(订单/发货/采购入库/付款/回款)、 主键与外键——只读接入,不推翻现有 ERP(案例 20 的明确边界)。
- 链路视图重建:按单号/SKU 关联成宽视图;库存口径用实收数 (真实业务视角)而非标准流程数(4980/5000 按实收 4980 呈现)。
- 检测器集(每类异常一个独立规则,全部附证据与建议):
- 部分到货:到货率 90%~99.9% → 按实收入库 + 短装索赔提醒
- 价格异常:入库价 > SKU 历史中位价 × 1.5 → 核对报价单
- 无依据付款:付款单找不到对应采购入库 → 暂停并要求三单匹配
- 超订单发货:发货量 > 订单量 → 核对拣货单
- 告警结构:类型/对象/证据/建议 四字段,可直接推送 IM 卡片; 人只处理告警,正常单据自动流转。
- 口径诚实:产出"过程指标"(检出数),不宣称利润变化——经营效果 需要更长运行周期验证(案例 20 的克制)。
验收
- 植入异常全部检出、无依据付款零漏检
- 每条告警证据完整(金额/单号/差值)
- 与月末总额对账做对照,证明单据级覆盖优势
边界
- 异常处理(追回/索赔/调整信用额度)是人的决策
- 数据写入 ERP 属于 RPA/集成工程,不在本技能内
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

