nature-academic-search
Search literature across sources, verify or manage citations, and build MeSH strategies or citation-impact audits. Use for…
Compile an academic Markdown manuscript into a journal- or school-compliant Word (.docx): declared typography, native OMML equations, three-line tables, cross-references, per-section page numbers, CSL bibliographies (GB/T 7714, APA, Nature, IEEE), and pre/post-export quality
$ npx -y skills add Yuan1z0825/nature-skills --skill nature-paper2word --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/nature-paper2wordContext preview
The summary Claude sees to decide when to auto-load this skill.
Compile an academic Markdown manuscript into a journal- or school-compliant Word (.docx): declared typography, native OMML equations, three-line tables, cross-references, per-section page numbers, CSL bibliographies (GB/T 7714, APA, Nature, IEEE), and pre/post-export quality
name: nature-paper2word description: "Compile an academic Markdown manuscript into a journal- or school-compliant Word (.docx): declared typography, native OMML equations, three-line tables, cross-references, per-section page numbers, CSL bibliographies (GB/T 7714, APA, Nature, IEEE), and pre/post-export quality gates. 把学术论文的 Markdown 稿件导出为符合期刊或学位论文规范的 Word:摘要、公式编号、三线表、题注、交叉引用、目录域、参考文献。Use when the user wants a submission-ready .docx — 论文转 Word、学位论文排版、期刊投稿排版、prepare submission docx — or a readable copy of a manuscript. Not for PDF, HTML or LaTeX output, and not for slide decks or grant forms." license: MIT
This file is the router. The engine is deterministic: the same manuscript and the same format requirements always produce a byte-identical `.docx`. Do not substitute a hand-written python-docx script; run the installed pipeline.
**Before the first export in a session, confirm the engine is available**: `md-to-word --version` must print a version. This skill ships documentation only; if the command is missing, install it with `pip install md-to-word-docx`, then run the check again.
**The full vocabulary lives in the manual inside the package**, not here. `md-to-word --contract` prints its absolute path (Chinese or English, following the manuscript). Everything below is order of work; every spelling is looked up in the manual.
| Scenario | What the user says | What to do | |---|---|---| | Journal or school compliance | "format it for Nature / my university" | Get a target `.docx` template or a written spec, then build a requirements file. | | Existing requirements | "use our lab's spec file" | Pass it with `-r`. | | Baseline export (no explicit spec) | "turn this into a Word file" | Normalize the manuscript to the contract, then export with the built-in preset. The preset is a complete, valid format, not a provisional default. |
State the chosen preset or requirements path in one line, then proceed. Without `-r` the only file picked up is one named exactly **`format.txt`** beside the manuscript; no other `.txt` is guessed at (if one is there, the run names it in a reminder). With no `format.txt`, the preset follows the **manuscript's language**: `zh-academic` for Chinese, `en-nature` for everything else. The run reports which one it used.
No path accepts arbitrary Markdown and returns a finished document: a preset supplies formatting, not missing structure. When the manuscript violates the contract, pre-flight stops with a line number rather than emitting a document that looks acceptable while its formatting was never mapped.
The source may be pasted text, `.txt`, `.md`, an old `.docx`, or a PDF. Normalize it to Markdown first; never edit the user's original file in place.
(`1.`, `2.1`) needs as many `#` as its number has levels.
`%% Abstract …`, `%% Table Caption **Table 1** …`, `%% Image Caption Figure 1 …`. One line is one paragraph, ended by a blank line, with no closing fence. Style names come from a closed list (manual §3.4) in either language; heading levels are set by `#` only.
the page is the author's decision, and YAML has no position. Pre-flight blocks those keys with the exact line to write instead.
one-sentence paragraphs is already correct. For a break *inside* one paragraph (an address, verse, a long title), end the line with a backslash or two spaces — it becomes a line break within the same paragraph. Suspected wrapping is reported as a grouped warning with the line numbers.
`link-citations:`.
get 「式/图/表」 prefixes and (1)numbering, English ones get Equation/Figure/Table and (1). Add `crossref: chapters: true` for per-chapter numbering. `\tag{}` is blocked.
mandatory once the manuscript cites: handwritten reference lists are not supported, and `[@key]` without `bibliography:` would be printed literally.
`%% Image Caption` / `%% 图片题注` paragraph; table caption above, note below. Do not put `{#fig-...}` labels on images. Column widths follow the separator row's dash lengths.
`{{< toc >}}`, `{{< section page_number=lowerRoman start=1 >}}` (Chinese parameters `页码=` `起始=` also work). The section marker closes *the section above it*; never add a page break next to it.
rules, `====` headings, definition lists, `- [ ]` boxes, tables without outer pipes, nested block quotes, full-width `%%`, four-space code blocks, a second paragraph inside a list item, `==highlight==`, `[text]{.class}` (except `.underline`), `\(...\)` inline math, and a percentage image width (`{width=60%}` — write an absolute length).
0. **Starting from nothing** — `md-to-word init` writes a complete preset copy plus a one-page manuscript that exports as-is. 1. **Built-in preset** — `zh-academic` or `en-nature`. Use as-is when the user gave no detailed spec. 2. **Copy and edit a preset** — change only the lines the user mentioned. Field order is fixed:
Search literature across sources, verify or manage citations, and build MeSH strategies or citation-impact audits. Use for…
Find and verify Nature/CNS-family literature supporting manuscript claims, with claim-to-source mapping and reference-manager…
Draft or audit manuscript Data/Code Availability statements, dataset access routes, repository plans, and FAIR metadata. Use for…
Use when a user needs lawful academic full text, CNKI institutional access, English OA retrieval, publisher API access,…
标准化实验日志记录——直接上传或读取本地图片、语音和文字,产出带 YAML frontmatter 的 Markdown;可选集成飞书 CLI 与 Obsidian。
Create, revise, audit, and export manuscript scientific figures in Python or R. Use for 论文配图、科研绘图、多面板图 and submission-ready…