Thesis Tex Writeback
Documentsthesis-tex-writebackThesis Tex Writeback is an Agent Skill for documents published in the WILLOSCAR/research-units-pipeline-skills repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
把已经在 Markdown 中间层收敛的中文毕业论文内容回写到 `chapters/*.tex` 与相关交付层文件,保持结构、图表、公式、交叉引用与章节承接一致。 **Trigger**: tex 回写, thesis tex writeback, md 回 tex, 章节回写, 论文交付层同步. **Use when**: 章节主线、术语、符号和图表计划已经在 Markdown 层基本稳定,需要进入 TeX 交付层。 **Skip if**: 结构还没稳定,或者仍在章级重构阶段。 **Network**: none. **Guardrail**: 不在这里重新发明结构;优先把结构问题回到 Markdown 层处理;TeX 层负责交付而非重新思考。
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/WILLOSCAR/research-units-pipeline-skills/blob/HEAD/.codex/skills/thesis-tex-writeback/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/thesis-tex-writeback, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Thesis TeX Writeback
Inputs
codex_md/00_thesis_outline.md- 重构后的各章 Markdown
codex_md/terminology_glossary.mdcodex_md/symbol_metric_table.mdcodex_md/figure_plan.md- 现有
chapters/*.tex
Outputs
- 更新后的
chapters/*.tex - 相关图表、公式、交叉引用的 TeX 同步版本
Load Order
Always read:
references/overview.mdreferences/writeback_rules.mdreferences/consistency_checks.md
Machine-readable contract:
assets/tex_writeback_contract.json
Workflow
- 以 Markdown 中间层为准,确定章级与节级结构
- 把稳定内容回写到
chapters/*.tex - 同步图表、公式、表格、交叉引用
- 同步章首导言、章末小结和必要的承接句
- 记录哪些问题必须回退到 Markdown 层,而不是留在 TeX 层硬修
Key Rule
如果问题本质上属于:
- 章节角色不清
- 主线不稳
- 证据不足
- 术语不统一
就不应该留在 tex 层解决。