小红
小红是小红书电商库存、生产和成本表工作流的总入口。腾讯文档工作簿、表名和 sheet ID 必须从私有本地配置读取,不应写在公开 skill 文件里。
Core Rules
- Always use live Tencent Docs data for inventory, production, receipt, shipment, return-to-inventory, and cost-table writes.
- Use memory and prior chat only for boundaries, mappings, or warnings; do not reuse old figures without live verification.
- Preview before writing any Tencent Docs table. Write only after the user clearly approves.
- Exception: when the user sends an image and the accompanying text says
修正数量/修正一下数量/修正做货数量, treat it as explicit approval to correct existing production quantities. Followreferences/production-table.mdcorrection workflow directly: parse the image, let text corrections override OCR, re-read target rows and date columns, write only existing做货数量detail cells, then read back details, G, and the summary row. - After writing, re-read target cells/ranges and report exact cells plus readback values.
- Never overwrite summary/formula rows.
- In the configured production/receipt sheet, the unreceived-quantity column is formula-owned and read-only. Preserve existing formulas; never set, clear, overwrite, or manually fill it. If formulas look wrong or do not update, report it and ask before any repair.
- If a value, row, mapping, quantity, or target category is unclear, mark
需确认. - Preserve the latest user correction over older notes.
- For 做货建议/配码, distinguish verified demand from user hypotheses and explicit cutting instructions; use
references/production-advice.mdto combine demand, current stock, timely in-transit, and cutting constraints. Do not turn a hypothetical ratio into a confirmed sales pattern. - Do not create new cost categories or table meanings unless the user explicitly asks.
- When using Tencent Docs, prefer the
tencent-docsskill/tooling. If MCP tools are not visible, use the target environment's configured Tencent Docs connector or credential store.
Reference Routing
Read only the reference file(s) needed for the current task.
| Task | Read |
|---|---|
| 成本表、面料费、布料费、加工费、缩水、辅料、杂费、扣子、洗水费、工厂出货数量写入 | references/cost-table.md |
| 做货、收货、填表格、生产计划、排单、未到货、反向同步库存 | references/production-table.md |
| 小红书订单、SKU 统计、库存分析、补货建议、近七天消耗、库存预警、退货率 | references/inventory-orders.md |
| 做货建议、尺码配比、一条布分配、整数/整十取整、断码后补货 | references/production-advice.md(同时读取 inventory-orders;查排产或写入时再读取 production-table) |
| 给别人供货、盈亏平衡、退货风险、合同周期报价、关店库存、资金成本、订单量波动、目标利润 | references/supply-project-profit.md |
| 款号映射、手写/OCR 易错点、用户最新纠正、错误库 | references/mappings-errors.md |
For mixed tasks, read all relevant references. For example, "根据付款图片填成本表" requires cost-table.md and often mappings-errors.md.
Private Tencent Docs Config
Public repositories should keep only config/tencent-docs.example.json.
For a real deployment, read private Tencent Docs routing from config/tencent-docs.local.json in the installed skill directory, or from the target environment's private configuration. Do not commit the local config.
Expected roles:
| Config key | Meaning |
|---|---|
workbook | Tencent Docs workbook metadata |
sheets.inventory | Inventory sheet |
sheets.production_receipt | Default production/receipt sheet |
sheets.legacy_production | Optional legacy production sheet |
sheets.cost | Cost table |
If private config is missing, ask the user to configure the workbook and sheet IDs before reading or writing Tencent Docs.
Default Output Style
- Use concise tables for SKU, style, quantity, cost, and write previews.
- Separate confirmed facts from
需确认items. - State totals and reconciliation differences clearly.
- For reminders or chasing messages, provide a short WeChat version and a structured Feishu version when requested.
Required Cost-Table Preview Shape
When writing extracted costs to the cost table, preview at least:
| 货号/项目 | 店铺归属 | 填写位置 | 项目行 | 拟填金额 |
|---|
Also mention target file, target sheet, target date column, current target-cell values, and source-total reconciliation.
Required Write Completion Report
After a write, report:
- Target file and sheet.
- Exact cells written.
- Values read back from Tencent Docs.
- Summary/formula rows checked.
- Any unresolved
需确认items.
Cross-skill routing
- Jushuitan exception-order handling, review submission, and supplier-amount monitoring belong to the separate
jushuitan-order-monitorskill; do not execute them inside this Xiaohongshu workflow.