jinxiao-analysis
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "jinxiao-analysis" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-c2ec0f0f057f6f438e33912315dcd70e6f7fb1219d34b2e51443cc8d8ce81be4. Verify the upstream source and version against https://skillhub.cn/skills/user_c5869f7d/jinxiao-analysis before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Profit-and-loss analysis for vegetable/fresh-food supply chains: takes ERP-exported Excel and generates a complete diagnostic report in one step, including core metrics, product details, loss-rate distribution, improvement checklist, and action plan, with support for multi-store cross-comparison.
Introduction source: third_party · user_c5869f7d · 2.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Inputs and outputs
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: 进销分析
slug: jinxiao-analysis
version: 2.0.0
displayName: 进销毛利分析
description: 蔬菜/生鲜供应链进销毛利分析。从ERP导出Excel,一键生成完整诊断报表(核心指标/商品明细/损耗率分布/改善清单/行动计划),支持多店横向对比。进销毛利分析 v2
从 ERP 导出的蔬菜/生鲜进销数据,自动分类诊断,输出营采会议级报表。
分类规则(直接写在脚本里,不需要用户配置)
| 维度 | 阈值 |
|---|---|
| 损耗率 | 1 − 销量/调入量 |
| 损耗分类 | <0%流程错误 / 0-10%正常 / 10-20%低损耗 / 20-30%中损耗 / >30%高损耗 |
| 毛利维度 | 销量=0→零销售 / 毛利率<-30%→严重倒挂 / -30%≤<0→亏损 / ≥0→正常 |
| 处理建议 | 零销售→暂停调入 / 严重倒挂→暂停调入 / 亏损+损耗>30%→暂停调入 / 亏损→重新定价 / 正常→保持 |
使用方式
# 单店分析
python generate_report.py "ERP文件.xlsx" --store "门店名" --start 2026-07-01 --end 2026-07-28
# 多店横向对比(自动识别所有门店)
python generate_report.py "ERP文件.xlsx" --multi --start 2026-07-01 --end 2026-07-28
# 自定义输出路径
python generate_report.py "ERP文件.xlsx" --store "门店名" --out "C:\报表\分析.xlsx"
ERP 数据格式
支持 ERP 导出的标准格式,必须包含以下列:
| 列名 | 说明 |
|---|---|
| 商品名称 | 品名 |
| 单位 | kg/件等 |
| 门店调入数量 | 调入量 |
| 商品销售数量 | 销量 |
| 门店调入金额 | 成本金额 |
| 商品销售金额(不含券) | 销售金额 |
| 商品进销毛利 | 毛利额 |
| 商品进销毛利率 | 毛利率(可为负) |
| 门店名称 | 门店名 |
输出报表结构
单店模式(5个Sheet):
- 核心指标汇总 — 毛利率/损耗率/亏损商品数等 + 评价
- 商品明细 — 152列,按毛利升序,含所有分类标签
- 损耗率分布 — 各损耗区间商品数量和占比
- 重点改善清单 — 紧急/短期/维护分级 + 措施
- 行动计划 — 量化行动项 + 时限 + 验收标准
多店模式(额外增加): 6. 综合排名 — 三个门店按毛利率排序 + 核心指标横向对比
工作流程
1. 用户说"分析这个数据"或"帮我看看这个报表"
2. 问清日期范围和门店名(可用 --multi 跑全部)
3. 跑脚本,报告保存位置告知用户
4. 读回输出Excel,验证分类结果是否合理
5. 把结果告诉用户,重点关注:
- 毛利率评价(优秀/良好/需改善/严重)
- 损耗率评价
- 高损耗商品数量(>30%)
- 紧急改善项
常见话术
- "帮我分析一下这份ERP数据" → 直接跑脚本
- "三个店横向比一下" →
--multi模式 - "出个报表开会用" → 直接出 Excel,用户拿去打印/投影
- "这个分类准不准" → 读回输出文件,把商品明细前几条念给用户确认
Current listing version
2.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 解决蔬菜/生鲜供应链进销毛利分析的高频刚需场景
- 支持多店横向对比,直接提升营采会议效率
- 内置分类规则,一键生成完整诊断报表
Highlights
- description 明确描述核心功能与输入输出
- 触发词覆盖多种使用场景(单店/多店/报表生成)
- 边界清晰,不易与其他 Skill 重叠
Areas to improve
-
缺少 When to Use 显式章节 Reported severity: Minor
文档结构完整但未显式标注 When to Use 章节
Recommendation: 建议在文档中显式添加 When to Use 章节以提升规范性
Highlights
- 分类规则、使用方式、数据格式、输出结构完整
- 工作流程清晰,包含常见话术指导
- frontmatter 完整,示例详实
Areas to improve
-
未显式覆盖主要异常处理 Reported severity: Minor
脚本参数明确但未显式说明主要异常处理机制
Recommendation: 建议在文档中补充对常见异常(如文件格式错误、列缺失等)的处理说明
Highlights
- 支持单店/多店模式,输出路径可自定义
- 分类规则内置,无需用户配置,降低使用门槛
- 逻辑闭环,端到端示例完整
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.