nature-paper2word
Skill này làm gì
Skill này hướng dẫn agent định dạng một bài báo học thuật thành file Word tuân theo quy định của tạp chí hoặc trường đại học. Skill dành cho tác giả chuẩn bị file sẵn sàng để nộp.
Khi nào nên dùng
- ✓Khi bạn có bản thảo Markdown và cần file Word để nộp.
- ✓Khi một tạp chí hoặc trường học đưa ra quy định định dạng mà file Word phải tuân theo.
- ✓Khi bạn cần công thức, bảng, chú thích hình và tài liệu tham khảo được định dạng đúng trong Word.
Liên kết skill
https://github.com/Yuan1z0825/nature-skills/blob/main/skills/nature-paper2word/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Bạn có thể chuyển bản thảo của tôi thành file Word theo đúng quy định định dạng của trường đại học không?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent kiểm tra bản thảo theo định dạng yêu cầu, rồi chạy một công cụ xuất cố định để dựng file Word. Nó chạy kiểm tra chất lượng trước và sau khi xuất.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Markdown → compliant Word
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.
1. Decide the scenario first
| 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.
2. Bring the manuscript to the input contract
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.
- Headings:
#,##,###, consecutive and unskipped; a heading that carries its own number (1.,2.1) needs as many#as its number has levels. - Paragraph styles: a line starting with
%%sets that paragraph's style —%% 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. - Title, author, abstract, keywords are style lines in the body, never YAML — their position on the page is the author's decision, and YAML has no position. Pre-flight blocks those keys with the exact line to write instead.
- Paragraphs: one line is one paragraph; consecutive lines are never joined, so a file of short 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.
- YAML holds only position-independent configuration:
bibliography:,csl:,crossref:,link-citations:. - Equations:
$$...$$ {#eq-name}on its own line, referenced as@eq-name. Chinese manuscripts get 「式/图/表」 prefixes and (1)numbering, English ones get Equation/Figure/Table and (1). Addcrossref: chapters: truefor per-chapter numbering.\tag{}is blocked. - Citations:
[@key]parenthetical,@keynarrative, frombibliography:+csl:. A.bibis mandatory once the manuscript cites: handwritten reference lists are not supported, and[@key]withoutbibliography:would be printed literally. - Figures and tables:
{width=13cm}with the caption in its own%% Image Caption/%% 图片题注paragraph; table caption above, note below. Do not put{#fig-...}labels on images. Column widths follow the separator row's dash lengths. - Block markers (three, each on its own line with blank lines around):
{{< pagebreak >}},{{< toc >}},{{< section page_number=lowerRoman start=1 >}}(Chinese parameters页码=起始=also work). The section marker closes *th
Câu hỏi thường gặp
Tôi có cần file định dạng đặc biệt không?
Không. Skill có sẵn một preset tích hợp, và bạn cũng có thể đưa vào yêu cầu riêng của tạp chí hoặc trường.
Nó hỗ trợ những kiểu trích dẫn nào?
Skill liệt kê các kiểu GB/T 7714, APA, Nature và IEEE.
Nó có cần công cụ dòng lệnh không?
Có. Skill dùng một gói dòng lệnh đã cài, và yêu cầu cài đặt nếu lệnh đó chưa có.
Chi tiết
Mô tả gốc của tác giả
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.
repo: Yuan1z0825/nature-skills
Độ phổ biến
- Sao GitHub
- 52k
- Vị trí xếp hạng
- #3409
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
nature-academic-search
52kGiúp agent của bạn tìm kiếm tài liệu học thuật từ nhiều nguồn, kiểm tra trích dẫn và xây dựng chiến lược tìm kiếm kiểu PubMed.
nature-citation
52kCung cấp cho agent của bạn cách tìm và kiểm tra các bài báo thuộc họ Nature để hỗ trợ các khẳng định trong bản thảo, rồi xuất sang trình quản lý tài liệu.
nature-data
52kHướng dẫn agent của bạn soạn hoặc kiểm tra phần Data and Code Availability mà tạp chí yêu cầu, và lên kế hoạch nơi chia sẻ bộ dữ liệu.
nature-downloader
52kDạy agent của bạn tải toàn văn bài báo nghiên cứu một cách hợp pháp, qua truy cập mở, quyền truy cập thư viện hoặc các kênh của nhà xuất bản.
Skill tương tự
feishu-doc
394kGiúp agent của bạn đọc, tạo và sửa tài liệu đám mây Feishu, gồm văn bản, hình ảnh và bảng, bằng công cụ tài liệu.
feishu-drive
394kCho phép agent của bạn duyệt, sắp xếp và bình luận các file trong một thư mục đám mây Feishu đã được chia sẻ với bot.
feishu-perm
394kGiúp agent của bạn kiểm tra và thay đổi ai có quyền truy cập một file Feishu, chọn quyền nhỏ nhất đáp ứng yêu cầu của bạn.