← Back to Skills Marketplace
kami1983

KAM 千路文档标准

by linhai · GitHub ↗ · v6.1.2 · MIT-0
cross-platform ✓ Security Clean
328
Downloads
0
Stars
2
Active Installs
5
Versions
Install in OpenClaw
/install kam-qianlu-doc-standards
Description
千路=询价管理+出入库/WMS(开发中)。本包权威=询价侧 Excel 表头/文件名(REFERENCE §1–10)、报价对比§12;问价单导出与报价单导入列对齐(含 MOQ/MPQ,无「状态」列)。术语/流程=naming+process。触发:表头命名、单据核验、报价对比矩阵、两子系统边界、filebrow...
README (SKILL.md)

kam-qianlu-doc-standards(精简版,详表见 REFERENCE)

版本 version:与仓库 Git 带 v 前缀的语义化 tag 对齐(当前 v6.1.2)。打新 tag 时请同步更新本文件 frontmatter 中的 version,避免 skill 与线上/发布口径漂移。

1. 产品边界(必答清)

  • 询价管理系统:询价/报价/回询/订货/采购/报价对比/可订等 — 本 SKILL + 同目录 REFERENCE.md 管表头与文件名
  • 出入库管理系统(WMS)开发中;实收核销、库内表头 不在此包权威范围,答用户时单列说明。
  • 易混:「订货单入库完整版」= 询价侧导出给仓库用的 Excel, WMS 产品本体。

2. 同目录文档(勿在对话里复述长表)

文件 内容
REFERENCE.md §1–10 各单据表头/别名/文件名;§11 术语索引;§12 报价对比(基准单/品牌矩阵,仅有效报价单)
naming-and-terminology.md 术语、UI 用词
process-and-rules.md 流程、校验(订货↔回询匹配等);与 apps/inquiry-server/docs/functions/process-and-rules.md 宜对照维护

3. 行为约定

  • 查标准:按用户单据类型打开 REFERENCE 对应节,摘要要点即可;完整列名/别名以 REFERENCE 为准。
  • 核验 Excel:确认类型 → 先问是否核验表头与建议文件名 → 用 openpyxl 找表头行(含「品牌」或 brand 的首行,否则第 1 行)→ 对照 REFERENCE 别名 → 输出映射 + §1 文件名规则。
  • 术语/流程:REFERENCE §11 → 打开 naming 或 process。
  • 上传:若有 filebrowser-api / kam-filebrowser-operator 可代传;本 skill 只做表头/命名。

4. 单据类型 → REFERENCE 节号(速查)

二询价导入 · 三报价导入 · 四问价导出(§4:第 1 行说明合并整行;表头 9 列 — 品牌、零件号、替换号、中文名称、数量、报价含税、MOQ、MPQ、备注;与 §3 报价单可识别列一致,不含「状态」)· 五回询导出(§5:英文表头 8 列 — BRAND、PARTS、QTY、PRICE、MOQ、MPQ、Replace No、价差比例)· 六订货导入 · 订货导出(§7.1 校对版 9 列 / §7.2 入库版 11 列)· 八采购导出 · 九采购单回传导入 · 十可订导入 · 十二报价对比

问价单(实现一句):常量 QUOTE_REQUEST_HEADERS / build_quote_request_excelapps/inquiry-server/server/services/rfq_quote_group_service.py;规范 §5.8 见 apps/inquiry-server/docs/requirements-0309-1122.md

采购单回传(业务一句):我方导出采购单 → 供应商填无效/替换号/备注 → 文件 校对-采购单-*.xlsx 再导入 → 按品牌+零件号更新订货行,与线下一致。

5. 与 apps/inquiry-* 实现锚点(写代码/对需求时优先查)

以下为 AI-CRM 询价子系统 中与「单据格式、导入导出、校对」最直接相关的路径;表头别名仍以 REFERENCE + 后端 ORDER_HEADER_ALIASES 为准,勿仅凭记忆改列名。

5.1 后端 apps/inquiry-server

主题 位置
问价单 Excel 导出(组 / ZIP) server/services/rfq_quote_group_service.pyQUOTE_REQUEST_HEADERSINSTRUCTION_ROWbuild_quote_request_excelbuild_batch_export_zip;路由 server/routers/rfq.py/groups/{id}/exportbatch-export
订货单 Excel 列检测与别名 server/services/order_import_service.pyORDER_HEADER_ALIASESdetect_order_columns
订货导入/校对版导出/订单校对 API 数据 同上 → import_order_excelexport_order_excelget_order_verifyparse_order_feedback_excel
订货单列表(含「采购关联」统计) server/routers/order.pylist_ordersmatched_items = 订货明细与 confirmed_purchase 命中行数)
采购汇总、确认入库、已确认采购、导出 server/routers/purchase.py;业务实现多在 server/services/purchase_summary_service.pypurchase_feedback_service.py
待订单校对(推导、与订货基准比对) server/services/confirmed_feedback_derive.py
报价对比导出 server/services/compare_service.py(矩阵/基准与 REFERENCE §12 一致)
可订库 / 替换号 server/services/availability_service.py
补充需求与历史说明 apps/inquiry-server/docs/docs/requirements-*.md(仓库根目录)

5.2 前端 apps/inquiry-web

主题 位置
询价单操作总页(Tab:回询/订货匹配/采购单生成等) src/pages/RfqOperatePage.tsx
问价单组、生成/打包下载 src/pages/RfqOperate/AskTab.tsx;API src/api/rfq.tsexportQuoteRequestexportQuoteRequestBatch
订货单列表与切换 src/pages/RfqOperate/OrderListSection.tsx
订货单匹配 / 校对表格 src/pages/RfqOperate/OrderVerifySection.tsxOrderFeedbackPanel.tsx
采购单生成工作台与已确认采购 src/pages/RfqOperate/PurchaseConfirmSection.tsx
API 类型与请求 src/api/order.tssrc/api/purchase.ts
采购工作台本地草稿 src/utils/workbenchStorage.ts

5.3 仓库级说明

  • 工作区约定与 MySQL 本地配置摘要:仓库根目录 CLAUDE.md(与 skill 互补:skill 管单据标准,CLAUDE 管怎么跑项目)。

6. ClawHub / 嵌入

正文刻意缩短以防 8192 token 上限;任何「完整表头表」必须从 REFERENCE.md 读取,不要凭记忆编造列名。

Usage Guidance
This skill is essentially documentation and runtime guidance for validating and naming inquiry/quotation Excel files. It does not ask for credentials or install anything, so it's coherent with its description. Before installing or invoking: (1) be aware the skill expects access to user-uploaded Excel files (it will read those files for header/name checks) — only provide files you are comfortable sharing; (2) SKILL.md refers to using openpyxl and optional filebrowser APIs but does not declare dependencies — if you rely on the agent to perform automatic Excel parsing, ensure the agent environment has a suitable library (e.g., openpyxl) or be prepared for the agent to fall back to other parsing methods or ask you to upload CSV/structured input; (3) review the included REFERENCE.md if you need the authoritative column names before relying on automated checks. Overall the package appears internally consistent and focused on its stated purpose.
Capability Analysis
Type: OpenClaw Skill Name: kam-qianlu-doc-standards Version: 6.1.2 The skill bundle is a comprehensive documentation and instruction set for an AI agent to assist with procurement and warehouse management workflows (the 'Qianlu' system). It defines strict standards for Excel headers, filename conventions, and business logic across files like SKILL.md, REFERENCE.md, and process-and-rules.md. There is no evidence of malicious intent, data exfiltration, or harmful prompt injection; the instructions are focused on document verification using standard libraries like openpyxl and maintaining consistency with internal project codebases.
Capability Assessment
Purpose & Capability
The name/description state this is a standards/specs package for inquiry/quotation/WMS-related Excel headers, file names and processes; all included files (REFERENCE.md, naming-and-terminology.md, process-and-rules.md, SKILL.md) and the runtime guidance relate to that purpose. There are no unrelated env vars, binaries, or config paths requested.
Instruction Scope
SKILL.md gives concrete runtime guidance (how to find header row, ask the user if they want header/file-name verification, read the local REFERENCE.md for authoritative column names). It explicitly suggests using openpyxl to detect headers and mentions optional filebrowser APIs if available. This is in-scope for an Excel/format validation skill, but it does assume the agent runtime can read user-uploaded Excel files and may use Python/openpyxl (the dependency is referenced in prose but not declared).
Install Mechanism
No install spec or external downloads — instruction-only skill. Nothing is written to disk by an installer and there are no external URLs or binary installs to review.
Credentials
The skill requests no environment variables, credentials, or config paths. The only data it needs in operation is user-provided Excel files and the included reference docs, which is appropriate for its stated function.
Persistence & Privilege
always is false and the skill does not request persistent/system-wide privileges or modification of other skills. It does not instruct storing secrets or altering agent settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install kam-qianlu-doc-standards
  3. After installation, invoke the skill by name or use /kam-qianlu-doc-standards
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v6.1.2
- 更新版本号至 v6.1.2,与仓库 Git tag 保持同步 对回询单的表头字段进行了更新
v6.1.1
- Versioning now aligns with the repository's Git tags (with a v prefix); the SKILL.md frontmatter version field must be updated for each release. - Expanded documentation to clarify column alignment for inquiry (问价单导出) and quotation import, including explicit mention of MOQ/MPQ and the lack of a "status" column. - Provided direct references to relevant backend (`apps/inquiry-server`) and frontend (`apps/inquiry-web`) implementation files and constants for developers. - Added comparison and maintenance notes for process documentation. - Strengthened reminders that all full header tables must be sourced from REFERENCE.md and not recreated from memory.
v2.3.0
No major changes in functionality; this version provides a much more concise SKILL.md, focused on essential boundaries and behaviors. - Rewrote documentation for brevity—now directs all detailed header, filename, and matrix standards to REFERENCE.md. - Clearly distinguishes “询价管理系统” (in-scope) from “WMS/出入库管理系统” (out of scope for authority). - Lists all authoritative files in the package and what each covers. - Summarizes main behaviors: standard lookup, Excel header validation, terminology response, and upload boundary. - Adds quick-reference mapping from document types to REFERENCE sections. - Declares: always retrieve full header lists from REFERENCE.md, not by memory.
v1.1.0
- 新增流程/规则与术语支持:加入 naming-and-terminology.md、process-and-rules.md 双冗余文件,支持对业务流程、规则、术语、命名等问题直接作答。 - 扩展用途说明:当用户询问流程、怎么用、术语、业务流程、规则等,也可引用上述新文件和 REFERENCE.md 第十一节。 - 更新描述与用法:SKILL.md 详细说明三大功能(表头/命名标准查询、表头核验/改名、术语与业务流程问答),并举例常见场景。 - 适用场景更广:适用于表头标准、导入导出格式、命名规则、流程、术语、业务规则等全领域提问。
v1.0.0
- Initial release of the 千路订单管理系统文件执行标准 skill. - Provides table header standards and file naming rules for import/export documents (quotation, rfq, reply, order, purchase). - Supports two main features: returning standard headers and naming formats; verifying Excel headers and filenames for user-specified document types. - Guides users through header validation and filename correction with clear confirmation and processing steps. - All standards are based on the authoritative REFERENCE.md in the repository.
Metadata
Slug kam-qianlu-doc-standards
Version 6.1.2
License MIT-0
All-time Installs 2
Active Installs 2
Total Versions 5
Frequently Asked Questions

What is KAM 千路文档标准?

千路=询价管理+出入库/WMS(开发中)。本包权威=询价侧 Excel 表头/文件名(REFERENCE §1–10)、报价对比§12;问价单导出与报价单导入列对齐(含 MOQ/MPQ,无「状态」列)。术语/流程=naming+process。触发:表头命名、单据核验、报价对比矩阵、两子系统边界、filebrow... It is an AI Agent Skill for Claude Code / OpenClaw, with 328 downloads so far.

How do I install KAM 千路文档标准?

Run "/install kam-qianlu-doc-standards" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is KAM 千路文档标准 free?

Yes, KAM 千路文档标准 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does KAM 千路文档标准 support?

KAM 千路文档标准 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created KAM 千路文档标准?

It is built and maintained by linhai (@kami1983); the current version is v6.1.2.

💬 Comments