Not in the top 1,000 by GitHub stars

Zechang-Xiong/chinese-reference-formatter-skill

Codex skill for formatting Chinese academic references and BibTeX

History

Review weekly changes to SKILL.md before updating. Dates mark the weeks in which we observed each version; checks apply to the recorded commits.

View weekly changes

SKILL.md

Week of Nov 2, 2026 · Line counts unavailable

Before Not checked yet → After Local scripts

First observation → 85ff8fb75334

No earlier version was observed for comparison.

Compare on GitHub

View on GitHubAdd to my skills

Verified commit 85ff8fb75334bd16fb2280e18c709764eaf5abfd

79GitHub stars
1star in 7 days
1skill in this repository
0commits in 30 days

Heat

1.7
  • Star growth, last 7 daysNot available
  • Star growth, last 24 hoursNot available
  • Rank movement, last 7 daysNot available
  • Commits, last 30 daysNot available
  • Accounts asking about it through MCP, last 7 daysNot available
  • Hot votes this weekNot available

Heat never changes the order by stars, and sponsorship never touches it. How heat works

Stars over time

Oct 25, 2026Nov 2, 202679

30-day change not yet available: not enough history.

Individual skills in this repository

How it works

chinese-reference-formatter-skill

When your agent uses it

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

What it loads into context

Frontmatter

153 tokens

Always available to the agent

SKILL.md

1,399 tokens

When the skill is activated

Reference documents

6,161 tokens

Loaded on request

Token counts are estimates. Scripts run separately; they are not counted as reference context.

The playbook

  1. Overview
  2. Workflow
  3. Search Sources
  4. Formatting
  5. Conflict Rules
  6. Common Mistakes

Scripts executed separately

  • scripts/format_reference.py
  • scripts/package_skill.py
  • scripts/test_format_reference.py
  • scripts/test_package_skill.py
  • scripts/test_skill_content.py

Files

  • .github/workflows/ci.ymlasset780 bytes
  • .github/workflows/release.ymlasset730 bytes
  • .gitignoreasset61 bytes
  • CHANGELOG.mddoc1,971 bytes
  • LICENSEasset1,070 bytes
  • README.mddoc14,699 bytes
  • SKILL.mdcore6,210 bytes
  • SKILL.mdcore6,210 bytes
  • SKILL.mdcore6,210 bytes
  • SKILL.mdcore6,210 bytes
  • SKILL.mdcore6,210 bytes
  • SKILL.mdcore6,210 bytes
  • agents/openai.yamlasset252 bytes
  • examples/metadata.jsonasset1,124 bytes
  • references/chinese-reference-rules.mddoc6,015 bytes
  • requirements-dev.txtdoc47 bytes
  • scripts/format_reference.pyruns22,917 bytes
  • scripts/package_skill.pyruns2,046 bytes
  • scripts/test_format_reference.pyruns17,830 bytes
  • scripts/test_package_skill.pyruns1,242 bytes
  • scripts/test_skill_content.pyruns2,287 bytes
Read SKILL.md

# 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.
View the complete source on GitHub

Skills included

  • chinese-reference-formatter-skill

Repository facts

License
MIT
Created
May 7, 2026
Last pushed
Sep 15, 2026
Forks
5
Open issues
0
Project activity
Active

Before you install

Local scripts

Automated signals, not a guarantee

Checked Nov 7, 2026

Not fully analyzed: some files were too long, unreadable or missing. This never lowers the level.

Show 5 notes
  • SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
Show all 86 signals by file

README.md

  • Network accessline 9
    <p>   <img alt="Codex Skill" src="https://img.shields.io/badge/Codex-Skill-111827">
  • Network accessline 10
    <img alt="Codex Skill" src="https://img.shields.io/badge/Codex-Skill-111827">
  • Network accessline 11
    <img alt="GB/T 7714 style" src="https://img.shields.io/badge/GB%2FT%207714-style-2f6f4e">
  • Network accessline 12
    <img alt="BibTeX output" src="https://img.shields.io/badge/output-BibTeX-8b5e34">
  • Network accessline 13
    <img alt="Python stdlib" src="https://img.shields.io/badge/Python-stdlib-3776ab">
  • Network accessline 52
    GB/T 7714—2025 已于 2026 年 7 月 1 日实施,日期见[国家标准官方记录](https://openstd.samr.gov.cn/bzgk/std/newGbInfo?hcno=C6CE52E55AC09B9C79A20AEA77CEDD14)。学校或期刊指定版本时,以其要求为准,需要 Agent 对照相应规则调整输出。当前不包含著者—出版年制、正文引文管理或 2025 版全部文献类型的完整实现。
  • Network accessline 79
    booktitle = {International Conference on Learning Representations},   year = {2017},   url = {https://openreview.net/forum?id=SJU4ayYgl}
  • Network accessline 80
    year = {2017},   url = {https://openreview.net/forum?id=SJU4ayYgl} }
  • Network accessline 81
    url = {https://openreview.net/forum?id=SJU4ayYgl}
  • Network accessline 84
    核验来源:https://openreview.net/forum?id=SJU4ayYgl
  • Network accessline 97
    核验来源:https://openaccess.thecvf.com/content_ICCV_2017/html/Lin_Focal_Loss_for_ICCV_2017_paper.html
  • Network accessline 112
    核验来源:https://www.lis.ac.cn/CN/Y2000/V44/I2
  • Network accessline 134
    git clone https://github.com/Zechang-Xiong/chinese-reference-formatter-skill.git ~/.codex/skills/chinese-reference-formatter-skill
  • Network accessline 140
    git clone https://github.com/Zechang-Xiong/chinese-reference-formatter-skill.git "$CODEX_HOME/skills/chinese-reference-formatter-skill"
  • Network accessline 159
    从 [GitHub Releases](https://github.com/Zechang-Xiong/chinese-reference-formatter-skill/releases) 下载已发布版本的 ZIP,解压后把 `chinese-reference-formatter-skill` 整个目录放入目标 Agent 的 skills 目录。也可以从源码运行 `python3 scripts/package_skill.py` 生成同样的安装包。需要同时保留 `s
  • Network accessline 248
    "booktitle": "International Conference on Learning Representations",   "year": 2017,   "url": "https://openreview.net/forum?id=SJU4ayYgl",
  • Network accessline 249
    "year": 2017,   "url": "https://openreview.net/forum?id=SJU4ayYgl",   "sources": ["https://openreview.net/forum?id=SJU4ayYgl"]
  • Network accessline 250
    "url": "https://openreview.net/forum?id=SJU4ayYgl",
  • Network accessline 251
    "sources": ["https://openreview.net/forum?id=SJU4ayYgl"]
  • Network accessline 341
    | 平台 | 分发方式 | | --- | --- | | [skills.sh](https://skills.sh/docs/faq) | 用户通过 `npx skills add` 安装后,平台根据安装统计自动收录和排名。 |
  • Network accessline 342
    | --- | --- | | [skills.sh](https://skills.sh/docs/faq) | 用户通过 `npx skills add` 安装后,平台根据安装统计自动收录和排名。 | | [SkillsMP](https://skillsmp.com/docs/faq) | 官方说明从 GitHub 自动索引,要求有效的 `SKILL.md` 与 `claude-skills` 或 `claude-code-skill` topic;标签配置在 GitH
  • Network accessline 343
    | [skills.sh](https://skills.sh/docs/faq) | 用户通过 `npx skills add` 安装后,平台根据安装统计自动收录和排名。 |
  • Network accessline 344
    | [SkillsMP](https://skillsmp.com/docs/faq) | 官方说明从 GitHub 自动索引,要求有效的 `SKILL.md` 与 `claude-skills` 或 `claude-code-skill` topic;标签配置在 GitHub 仓库设置中。 |
  • Network accessline 357
    git clone https://github.com/Zechang-Xiong/chinese-reference-formatter-skill.git ~/.codex/skills/chinese-reference-formatter-skill
  • Network accessline 368
    [![Star History Chart](https://api.star-history.com/svg?repos=Zechang-Xiong/chinese-reference-formatter-skill&type=Date)](https://www.star-history.com/#Zechang-Xiong/chinese-reference-formatter-skill&Date)

SKILL.md

  • Network accessline 7
    author: Zechang-Xiong   version: "1.1.1"   repository: https://github.com/Zechang-Xiong/chinese-reference-formatter-skill
  • Network accessline 8
    version: "1.1.1"   repository: https://github.com/Zechang-Xiong/chinese-reference-formatter-skill   tags: chinese-references, bibliography, bibtex, gb-t-7714, academic-writing
  • Network accessline 9
    repository: https://github.com/Zechang-Xiong/chinese-reference-formatter-skill
  • Network accessline 67
    "pages": "1-10",   "doi": "10.xxxx/example",   "url": "https://example.org",
  • Network accessline 68
    "doi": "10.xxxx/example",   "url": "https://example.org",   "access_date": "2026-05-07",
  • Network accessline 69
    "url": "https://example.org",
  • Network accessline 70
    "access_date": "2026-05-07",   "sources": ["https://source.example"] }
  • Network accessline 71
    "sources": ["https://source.example"]

examples/metadata.json

  • Network accessline 6
    "booktitle": "International Conference on Learning Representations",     "year": 2017,     "url": "https://openreview.net/forum?id=SJU4ayYgl",
  • Network accessline 7
    "year": 2017,     "url": "https://openreview.net/forum?id=SJU4ayYgl",     "sources": ["https://openreview.net/forum?id=SJU4ayYgl"]
  • Network accessline 8
    "url": "https://openreview.net/forum?id=SJU4ayYgl",
  • Network accessline 9
    "sources": ["https://openreview.net/forum?id=SJU4ayYgl"]
  • Network accessline 16
    "year": 2017,     "pages": "2980-2988",     "sources": ["https://openaccess.thecvf.com/content_ICCV_2017/html/Lin_Focal_Loss_for_ICCV_2017_paper.html"]
  • Network accessline 17
    "pages": "2980-2988",     "sources": ["https://openaccess.thecvf.com/content_ICCV_2017/html/Lin_Focal_Loss_for_ICCV_2017_paper.html"]   },
  • Network accessline 18
    "sources": ["https://openaccess.thecvf.com/content_ICCV_2017/html/Lin_Focal_Loss_for_ICCV_2017_paper.html"]
  • Network accessline 27
    "issue": "2",     "pages": "5-8,95",     "sources": ["https://www.lis.ac.cn/CN/Y2000/V44/I2"]
  • Network accessline 28
    "pages": "5-8,95",     "sources": ["https://www.lis.ac.cn/CN/Y2000/V44/I2"]   }
  • Network accessline 29
    "sources": ["https://www.lis.ac.cn/CN/Y2000/V44/I2"]

references/chinese-reference-rules.md

  • Network accessline 7
    GB/T 7714—2025 was published on 2025-12-02 and took effect on 2026-07-01. See the [official standard record](https://openstd.samr.gov.cn/bzgk/std/newGbInfo?hcno=C6CE52E55AC09B9C79A20AEA77CEDD14).

scripts/format_reference.py

  • Executable scriptline 1
    #!/usr/bin/env python3
  • Network accessline 369
    if "/OL" in mark and kind not in {"online", "web"}:         access = clean(item.get("access_date"))         url = clean(item.get("url")) or (f"https://doi.org/{doi}" if doi else "")
  • Network accessline 370
    access = clean(item.get("access_date"))         url = clean(item.get("url")) or (f"https://doi.org/{doi}" if doi else "")         reference = strip_trailing_period(reference)
  • Network accessline 371
    url = clean(item.get("url")) or (f"https://doi.org/{doi}" if doi else "")

scripts/package_skill.py

  • Executable scriptline 1
    #!/usr/bin/env python3

scripts/test_format_reference.py

  • Executable scriptline 1
    Executable file
  • Network accessline 33
    assert "journal =" not in output     assert "10.48550" not in output     assert "核验来源:https://openreview.net/forum?id=SJU4ayYgl" in output
  • Network accessline 35
    assert "核验来源:https://openreview.net/forum?id=SJU4ayYgl" in output
  • Network accessline 87
    "published_date": "2001-12-19",             "access_date": "2002-04-15",             "url": "http://www.creader.com/news/200112-19/200112-190019.html",
  • Network accessline 88
    "access_date": "2002-04-15",             "url": "http://www.creader.com/news/200112-19/200112-190019.html",         }
  • Network accessline 89
    "url": "http://www.creader.com/news/200112-19/200112-190019.html",
  • Network accessline 93
    assert (         "萧玉. 出版业信息化驶入快车道[EB/OL]. (2001-12-19)[2002-04-15]. http://www.creader.com/news/200112-19/200112-190019.html."
  • Network accessline 94
    "萧玉. 出版业信息化驶入快车道[EB/OL]. (2001-12-19)[2002-04-15]. http://www.creader.com/news/200112-19/200112-190019.html."
  • Network accessline 146
    "year": 2026,             "access_date": "2026-09-14",             "url": "https://example.org/paper",
  • Network accessline 147
    "access_date": "2026-09-14",             "url": "https://example.org/paper",             **fields,
  • Network accessline 148
    "url": "https://example.org/paper",
  • Network accessline 152
    reference = output.splitlines()[0]     assert f"[{mark}]" in reference     assert "[2026-09-14]. https://example.org/paper." in reference
  • Network accessline 153
    assert f"[{mark}]" in reference     assert "[2026-09-14]. https://example.org/paper." in reference     assert "urldate = {2026-09-14}" in output
  • Network accessline 154
    assert "[2026-09-14]. https://example.org/paper." in reference
  • Network accessline 168
    "mark": "J/OL",             "access_date": "2026-09-14",             "doi": "https://doi.org/10.1234/example",
  • Network accessline 169
    "access_date": "2026-09-14",             "doi": "https://doi.org/10.1234/example",         }
  • Network accessline 170
    "doi": "https://doi.org/10.1234/example",
  • Network accessline 173
    assert output.splitlines()[0] == (         "标准参考文献:[1] 示例论文[J/OL]. 示例期刊, 2026, 4(2):1-9[2026-09-14]. "         "https://doi.org/10.1234/example. DOI:10.1234/example."
  • Network accessline 174
    "标准参考文献:[1] 示例论文[J/OL]. 示例期刊, 2026, 4(2):1-9[2026-09-14]. "         "https://doi.org/10.1234/example. DOI:10.1234/example."     )
  • Network accessline 175
    "https://doi.org/10.1234/example. DOI:10.1234/example."
  • Network accessline 289
    "status": "ambiguous",             "note": "年份存在冲突。",             "sources": ["https://example.org/a", "https://example.org/b"],
  • Network accessline 290
    "note": "年份存在冲突。",             "sources": ["https://example.org/a", "https://example.org/b"],         }
  • Network accessline 291
    "sources": ["https://example.org/a", "https://example.org/b"],
  • Network accessline 293
    )     assert "年份存在冲突。" in output     assert "核验来源:https://example.org/a; https://example.org/b" in output
  • Network accessline 294
    assert "年份存在冲突。" in output     assert "核验来源:https://example.org/a; https://example.org/b" in output     assert "BibTeX" not in output
  • Network accessline 295
    assert "核验来源:https://example.org/a; https://example.org/b" in output
  • Network accessline 339
    def test_url_and_doi_preserve_machine_readable_characters():     url = "https://example.org/a_b?first=1&second=50%25"
  • Network accessline 340
    url = "https://example.org/a_b?first=1&second=50%25"
  • Network accessline 476
    "type": "web",             "title": "Example",             "url": "https://example.org",
  • Network accessline 477
    "title": "Example",             "url": "https://example.org",             "published_date": "2026-01-01",
  • Network accessline 478
    "url": "https://example.org",

scripts/test_package_skill.py

  • Executable scriptline 1
    Executable file

scripts/test_skill_content.py

  • Executable scriptline 1
    Executable file
  • Network accessline 36
    assert "license: MIT" in skill_md     assert (         "repository: https://github.com/Zechang-Xiong/chinese-reference-formatter-skill"
  • Network accessline 37
    assert (         "repository: https://github.com/Zechang-Xiong/chinese-reference-formatter-skill"         in skill_md
  • Network accessline 38
    "repository: https://github.com/Zechang-Xiong/chinese-reference-formatter-skill"
  • Network accessline 46
    # https://agentskills.io/specification includes compatibility as an optional field.

How the signals fit together

Facts from a static read of the files at the pinned commit. They describe what the code does, not why.

Some files could not be read; the facts below still hold.

Declared and executed: 1 fact
Signal confidence: 76 facts

and 26 more

Works with

Agent compatibility, from the files in this repository
AgentStatusEvidenceInstall to
Claude CodeCompatibleStandard SKILL.md SKILL.md.claude/skills/<skill-name>/
CodexCompatibleStandard SKILL.md SKILL.md.agents/skills/<skill-name>/
CursorCompatibleStandard SKILL.md SKILL.md.cursor/skills/<skill-name>/
Gemini CLICompatibleStandard SKILL.md SKILL.md.gemini/skills/<skill-name>/
GitHub CopilotCompatibleStandard SKILL.md SKILL.md.github/skills/<skill-name>/
OpenCodeCompatibleStandard SKILL.md SKILL.md.opencode/skills/<skill-name>/
  • Native The repository ships a manifest, folder or frontmatter field for this agent.
  • Compatible A standard SKILL.md that this agent can read.
  • Unknown No evidence either way.

Derived automatically from paths, manifests and frontmatter. Not tested on each agent.