技能圖譜SKILLSGROVE
技能圖譜/辦公文件/fuwenhao12/academic-ref-inserter/academic-ref-inserter

academic-ref-inserter

安裝

$npx skills add https://github.com/fuwenhao12/academic-ref-inserter --skill academic-ref-inserter
$git clone --depth 1 https://github.com/fuwenhao12/academic-ref-inserter.git /tmp/academic-ref-inserter && mkdir -p ~/.claude/skills && cp -r /tmp/academic-ref-inserter/.kimi/skills/academic-ref-inserter ~/.claude/skills/academic-ref-inserter
請幫我安裝這個 Agent Skill:https://github.com/fuwenhao12/academic-ref-inserter/tree/dfa079ec9be76d30a2053522fdc8bb7fc986c136/.kimi/skills/academic-ref-inserter ,先閱讀它的 SKILL.md 和指令碼,確認安全後再安裝到我的技能目錄。

簡介

原文描述 · MITInsert, format, and cross-reference academic citations in Word (.docx) documents. Supports GB/T 7714-2015 (Chinese), IEEE, and APA 7th.
以下 SKILL.md 內容轉載自 fuwenhao12/academic-ref-inserter(提交 dfa079e),依據 MIT 許可證轉載正文(文字未改動;僅省略檔案頭後設資料、將圖片顯示為連結,超長內容會截斷);版權歸 2026 Academic Ref Inserter 所有。許可證:LICENSE。僅展示說明檔案,附帶指令碼請在原倉庫檢視。

Academic Reference Inserter

Insert, format, and cross-reference academic citations in Word (.docx) documents.

When to Use

Use this skill when the user asks to:

  • Insert or format academic citations in a .docx paper
  • Change citation style (e.g., to IEEE, GB/T 7714, or APA)
  • Add clickable cross-reference hyperlinks for citations
  • Validate reference formatting
  • Reorder references to match citation order

CLI Reference

All commands support --json for structured output.

# Full pipeline (recommended)
python scripts/insert_refs.py fix --input paper.docx --format gbt7714

# Analyze current state
python scripts/insert_refs.py analyze --input paper.docx --json

# Change format
python scripts/insert_refs.py reformat --input paper.docx --format ieee

# Reorder references
python scripts/insert_refs.py reorder --input paper.docx

# Add hyperlinks
python scripts/insert_refs.py hyperlink --input paper.docx

# Validate
python scripts/insert_refs.py validate --input paper.docx --format gbt7714 --json

Supported Formats

Format Flag Ordering
GB/T 7714-2015 (Chinese) gbt7714 Sequential [1]
IEEE (Engineering/CS) ieee Sequential [1]
APA 7th (Social Sciences) apa7 Author-Year alphabetical

Workflow

  1. Always run analyze --json first to understand the document state
  2. Choose format based on user's target journal
  3. Run fix --format <name> for the full pipeline
  4. Validate with validate --json
  5. Report summary to user

File Locations

  • Main script: scripts/insert_refs.py
  • Format implementations: scripts/formats/
  • Utilities: scripts/utils/
  • Full skill definition: .trae/skills/academic-ref-inserter/SKILL.md

Requirements

pip install python-docx

Python 3.8+ required.

檢視許可證全文(MIT)
MIT License

Copyright (c) 2026 Academic Ref Inserter

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.