Logo de Chinese Reference Formatter Skill

Chinese Reference Formatter Skill

Comunidade
Zechang-Xiong
chinese-reference-formatter-skill

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

Visão geral

Publicado porZechang-Xiong
Repositóriochinese-reference-formatter-skill
Nome da habilidadechinese-reference-formatter-skill
Estrelas
79
Forks
5
Arquivos incluídos
10
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 10

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por Zechang-Xiong no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Chinese Reference Formatter Skill no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/Zechang-Xiong/chinese-reference-formatter-skill/tree/main
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Zechang-Xiong/chinese-reference-formatter-skill.git \
  .claude/skills/chinese-reference-formatter-skill
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Chinese Reference Formatter Skill em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Chinese Reference Formatter Skill automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Chinese Reference Formatter Skill não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

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.

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Chinese Reference Formatter Skill faz?

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

Por que usar Chinese Reference Formatter Skill no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Chinese Reference Formatter Skill é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Chinese Reference Formatter Skill no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/Zechang-Xiong/chinese-reference-formatter-skill/tree/main. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Chinese Reference Formatter Skill?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Chinese Reference Formatter Skill?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Chinese Reference Formatter Skill com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Chinese Reference Formatter Skill é gratuita?

Sim. A habilidade é publicada no GitHub por Zechang-Xiong sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇