Open
README「目录结构」将 report.py 放在根目录,实际仓库中为 scripts/report.py #260
小酥菜Add on  18 hours ago
小酥菜
小酥菜
18 hours ago Create

问题描述

README「目录结构(= 推荐规范布局)」一节把 report.py 画在仓库根目录(与 scripts/ 平级),且 scripts/ 下只列了 7 个文件:

excel-formula-explainer/
├── SKILL.md
├── README.md
├── references/
│   ├── runbook.md
│   └── analysis-guide.md
├── scripts/
│   ├── README.md
│   ├── validate_template.py
│   ├── analyze_excel.py
│   ├── fix_excel.py
│   ├── excel_reader.py
│   ├── graph.py
│   └── analyzer.py
└── report.py             # 格式化报告输出

但仓库根目录实际只有:

references/
scripts/
README.md
SKILL.md

根目录并没有 report.py。该文件真实位置是 scripts/report.py——scripts/ 目录实际有 8 个文件,比 README 多出的那一个正是 report.py。

影响

  • 用户 clone 后按 README 目录树去根目录找 report.py 会扑空,误以为文件缺失或仓库不完整。
  • 若 SKILL.md / references/runbook.md 中以根级路径引用 report.py,照抄会定位失败。

验证方式

git clone https://gitcode.com/agent-best-practices/excel-formula-explainer
ls excel-formula-explainer            # 无 report.py
ls excel-formula-explainer/scripts    # report.py 在这里

(已于 2026-11-30 通过仓库内容接口核对:根目录 4 项,无 report.py;scripts/ 共 8 项,含 report.py。)

建议修复

把 README 目录树中的 report.py 一行从根级移到 scripts/ 下,并保留「格式化报告输出」注释,使文档与实际仓库结构一致。

likedislike