refactor(literature-search-verify): 草稿输出从 .claude/skills 挪到项目根目录 output/

技能自己的目录里混入运行时草稿数据不太合适——如果以后要把 skill 当独立包
复用/分享,草稿数据会被一起打包进去。改为统一放到 <project-root>/output/
<skill-name>/<topic-slug>/,并按主题分子目录(topic-slug 规则和 references/
下的归档目录一致),避免不同主题的草稿用无区分度的通用文件名互相覆盖/混堆
(这个问题在旧的 output/ 目录里已经实际发生过)。

同步更新了 SKILL.md、archive_references.py 的示例路径、已归档的 README 里
指向草稿目录的说明,以及 CLAUDE.md 里的目录结构图和相应设计原则。现有的
草稿文件已按此规则搬到 output/literature-search-verify/uav_aeromagnetic_compensation/
下。.gitignore 里原有的 output 规则本来就不带路径前缀,新位置无需改动即可
继续被正确忽略。

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-21 02:35:15 -10:00
co-authored by Claude Sonnet 5
parent 8cf3aff4e2
commit 3bb3528ad6
4 changed files with 48 additions and 16 deletions
@@ -13,11 +13,14 @@ what's there without re-reading the conversation that produced it.
No third-party dependencies; uses only the standard library.
CLI usage:
python3 archive_references.py "UAV aeromagnetic compensation" \\
--bib output/uav_aeromagnetic_compensation_final.bib \\
CLI usage (run from the project root; scratch input lives under
output/literature-search-verify/<topic-slug>/, matching the slug this
script derives from the topic argument):
python3 .claude/skills/literature-search-verify/scripts/archive_references.py \\
"UAV aeromagnetic compensation" \\
--bib output/literature-search-verify/uav_aeromagnetic_compensation/uav_aeromagnetic_compensation_final.bib \\
--project-root . \\
--pdfs-dir output/pdfs \\
--pdfs-dir output/literature-search-verify/uav_aeromagnetic_compensation/pdfs \\
--suspect "Some fabricated-looking title|DOI resolves but venue is topically unrelated" \\
--notes "Kalman-filter and GA/PSO angles searched, no on-topic hits found."