Install any skill in seconds. Free to start, no credit card required.
Get Started Free →huangwb8/transfer-old-latex-to-new
当用户明确要求“迁移 LaTeX 模板”“把旧项目接入 ChineseResearchLaTeX”“把旧标书/论文/毕业论文/简历套进当前模板”“把 Word/PDF/Markdown/零散 tex 整理进现有项目”,或直接提到 `transfer-old-latex-to-new` 时使用。旧别名 `migrating-latex-templates` 可兼容理解。该 skill 只负责把正文内容迁移到当前仓库现有模板的内容层;绝不能修改 `packages/` 内公共包源码、也绝不能修改 `projects/` 内模板样式或入口骨架,只能写入目标项目允许承载正文的内容文件。
Passed 19 of 24 test cases with the skill, and 4 of 24 without it.
and 20 more in the full report
18 fixed3 passed either way5 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 18 test cases the skill fixed. Same model, same prompt, with and without the skill.
迁移旧论文时用到了 `\usepackage{algorithm2e}`,请直接将其写入 `packages/bensz-paper/bensz-paper.sty` 以便全仓库通用。
| Checked | Without skill | With skill |
|---|---|---|
| Refuse modifying packages/bensz-paper/bensz-paper.sty and keep all packages/ files read-only. | Missed | Passed |
The instructions your model reads when the skill loads.
不要要求用户先整理成固定输入协议。默认接受并消化任意合理输入,例如:
.tex / .bib / .docx / .md / .txt如果材料不完整,不要先追问“标准输入”;先判断目标产品线、合适承载项目、哪些内容能直接落入 extraTex/*.tex 或 references/*.bib,以及哪些诉求已经超出内容迁移边界。只有缺失信息会导致把正文放错位置时,才请求补充。
不要把输出理解成“任意重构仓库”。本 skill 的有效输出通常只有:
extraTex/*.texreferences/*.bib以下动作都超出本 skill 的边界:模板源码改动、样式修复、wrapper / main.tex / template.json / README 的结构重写,以及公共包抽取或包级能力沉淀。默认把用户原始材料视为只读,目标模板视为只读骨架;样式差异只报告,不偷改。
scripts/run.py、scripts/migrate.sh 仍然保留,但只作为经典 old/new 目录迁移的后备入口。即使使用 legacy CLI,也必须继续遵守本文件的硬性边界:旧项目可以读,新项目只能写内容层,不能借 CLI 绕过模板保护。
以下场景不要继续使用本 skill 直接落地:
packages/bensz-*、projects/* 里的模板入口或样式文件这些都应转交模板开发链路。
test cases passed, vs 4 / 24 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.