Logo van Chinese Reference Formatter Skill

Chinese Reference Formatter Skill

Community
Zechang-Xiong
chinese-reference-formatter-skill

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

Overzicht

UitgeverZechang-Xiong
Repositorychinese-reference-formatter-skill
Skillnaamchinese-reference-formatter-skill
Sterren
79
Forks
5
Meegeleverde bestanden
10
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Meegeleverde bestanden: 10

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. De bestanden kunnen alleen worden gelezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door Zechang-Xiong op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Chinese Reference Formatter Skill in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/Zechang-Xiong/chinese-reference-formatter-skill/tree/main
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Zechang-Xiong/chinese-reference-formatter-skill.git \
  .claude/skills/chinese-reference-formatter-skill
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Chinese Reference Formatter Skill in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Chinese Reference Formatter Skill automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Chinese Reference Formatter Skill niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

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.

Meegeleverde bestanden

Zolang de skill geladen is, leest het model deze bestanden als dat nodig is. Het model kan ze alleen lezen; ze worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-skill Chinese Reference Formatter Skill?

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

Waarom Chinese Reference Formatter Skill gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Chinese Reference Formatter Skill bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Chinese Reference Formatter Skill in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/Zechang-Xiong/chinese-reference-formatter-skill/tree/main. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Chinese Reference Formatter Skill gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Chinese Reference Formatter Skill gebruiken?

Zoveel als je wilt. Je kunt Chinese Reference Formatter Skill gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Chinese Reference Formatter Skill gratis?

Ja. Deze skill is door Zechang-Xiong op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇