Logo Chinese Reference Formatter Skill

Chinese Reference Formatter Skill

Cộng đồng
Zechang-Xiong
chinese-reference-formatter-skill

根据中英文文献题名核验公开元数据,生成通用中文参考文献和 BibTeX。Use for Chinese academic references, GB/T 7714-style bibliography formatting, and citation completion from literature titles.

Tổng quan

Nhà phát hànhZechang-Xiong
Kho mãchinese-reference-formatter-skill
Tên kỹ năngchinese-reference-formatter-skill
Sao
79
Bản fork
5
Tệp đi kèm
10
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 10 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được Zechang-Xiong công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Chinese Reference Formatter Skill trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/Zechang-Xiong/chinese-reference-formatter-skill/tree/main
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Zechang-Xiong/chinese-reference-formatter-skill.git \
  .claude/skills/chinese-reference-formatter-skill
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Chinese Reference Formatter Skill trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Chinese Reference Formatter Skill ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Chinese Reference Formatter Skill với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Chinese Reference Formatter

Overview

Convert one or more Chinese or English reference titles into 通用中文论文参考文献条目 and BibTeX. Verify bibliographic metadata from public sources before formatting; do not invent missing references. When search is unavailable, explain that verification cannot be completed; do not describe unverified input as confirmed.

The formatter implements the common numeric templates in the reference file. It is not a complete implementation of GB/T 7714—2015 or GB/T 7714—2025. For a specified edition or institutional style, compare the requested rules with the output and adapt it before claiming compliance. See the reference file for version scope.

Workflow

  1. Read references/chinese-reference-rules.md before formatting.
  2. For each input title, search public metadata sources and compare title, authors, year, venue, DOI/ISBN/URL.
  3. Prefer DOI, publisher, university repository, official journal, official conference, official standards, or patent pages over aggregators.
  4. If no DOI or official page exists, require a strong title match plus matching author/year/venue from at least one credible source.
  5. If sources conflict and no source is clearly authoritative, return an ambiguity note instead of choosing.
  6. If no clear match exists, output 未找到与“<title>”明确对应的公开文献。
  7. Normalize confirmed metadata to JSON and run scripts/format_reference.py to produce the reference entry plus BibTeX. Preserve the verified source title's capitalization. Set language (zh or en) when known, especially when the author script differs from the document language.

Search Sources

Use sources appropriate to the document type:

  • DOI and publisher metadata: Crossref, DataCite, official publisher pages.
  • Broad scholarly metadata: OpenAlex, Semantic Scholar.
  • Computer science papers: DBLP, arXiv, conference/open-review pages.
  • Biomedical papers: PubMed/NCBI and official journal pages.
  • Chinese references: DOI/publisher pages, university repositories, official journal pages; use CNKI/Wanfang metadata when reachable from web search.
  • Standards, patents, books, theses: official standards bodies, patent offices, publishers, library catalogs, university repositories.

Formatting

The formatter accepts a JSON object, a JSON list, or { "items": [...] } through stdin or --input.

bash
python3 /path/to/chinese-reference-formatter-skill/scripts/format_reference.py --start 1 < metadata.json

Resolve the script and reference paths relative to this installed skill, not the user's working directory. Replace the example absolute path above with the actual skill directory.

Common normalized fields (plain text, not pre-escaped LaTeX):

For ambiguous personal names, prefer { "family": "Smith", "given": "John", "suffix": "Jr." } or the explicit string Smith, Jr., John. Use { "literal": "Organization name" } for institutions. Omit unknown authors; blank placeholders are ignored.

json
{
  "type": "article",
  "title": "Paper title",
  "authors": ["Family, Given", "中文作者"],
  "journal": "Journal name",
  "booktitle": "Proceedings name",
  "year": 2026,
  "language": "en",
  "volume": "12",
  "issue": "3",
  "pages": "1-10",
  "doi": "10.xxxx/example",
  "url": "https://example.org",
  "access_date": "2026-05-07",
  "sources": ["https://source.example"]
}

Supported type values include article, inproceedings, book, chapter, thesis, mastersthesis, phdthesis, report, standard, patent, newspaper, and online. For thesis, set degree to master or phd only when verified; an unknown degree uses @misc in BibTeX. Set mark to J/OL, C/OL, etc. when the requested style needs an online carrier, and supply the actual access_date and url (or DOI). A URL alone does not change a traditional document into an online resource.

Default output for each resolved item:

text
标准参考文献:[1] ...
BibTeX:
```bibtex
...
```
核验来源:...

Preserve the user's input order. Start numbering at [1] unless the user gives a different starting number. Send a batch in one formatter invocation so duplicate citation keys receive unique suffixes. Do not append to a project .bib file unless the user explicitly asks; when updating existing entries, preserve their keys to avoid breaking manuscript citations.

Conflict Rules

  • DOI or official source metadata wins over aggregator metadata.
  • Publisher version wins over preprint metadata when formatting the published version.
  • Preprint metadata is valid only when the user asks for the preprint or no published version exists.
  • Keep type, venue, year, URL, and DOI from the same publication version. An arXiv-issued DOI identifies the preprint record; do not attach it to a conference or journal record as that publication's DOI.
  • If author order, year, venue, or page range conflicts, state the conflict and cite the competing sources.
  • Use the actual current date for online access dates unless the source provides a citation access date or the user specifies one.

Common Mistakes

  • Do not format from title guesses alone.
  • Do not silently translate titles or author names.
  • Do not list more than three authors before 等 or et al.
  • Do not force a school-specific thesis requirement unless the user explicitly provides that institution's rules.
  • Do not count online resources or standards as ordinary journal/conference papers unless the user's style guide explicitly says to.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Chinese Reference Formatter Skill làm được gì?

根据中英文文献题名核验公开元数据,生成通用中文参考文献和 BibTeX。Use for Chinese academic references, GB/T 7714-style bibliography formatting, and citation completion from literature titles.

Vì sao nên dùng Chinese Reference Formatter Skill trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Chinese Reference Formatter Skill là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Chinese Reference Formatter Skill trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/Zechang-Xiong/chinese-reference-formatter-skill/tree/main. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Chinese Reference Formatter Skill?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Chinese Reference Formatter Skill với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Chinese Reference Formatter Skill với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Chinese Reference Formatter Skill có miễn phí không?

Có. Kỹ năng này được Zechang-Xiong phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇