Citation Formatter
根据用户自定义的参考文献格式规范,自动识别文献类型(专著、期刊论文、学位论文、 会议论文、网络资源等),并将原始文献信息格式化为符合规范的参考文献条目。 当用户提到"参考文献格式"、"文献格式化"、"帮我整理参考文献"、"按格式排列参考文献"、 "这篇文献怎么写格式",或上传/粘贴了一批文献信息并说"按XX规范"/"按学校要求"时, 必须触发此skill。即使用户只是问"这篇参考文献格式对不对",也应触发。
Install
npx skills add zhenwei017-lgtm/citation-formatter --skill citation-formattergit clone --depth 1 https://github.com/zhenwei017-lgtm/citation-formatter.git /tmp/citation-formatter
mkdir -p ~/.claude/skills
cp -r /tmp/citation-formatter/. ~/.claude/skills/citation-formatterPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# 参考文献格式化 Skill 将任意格式的原始文献信息,按照用户指定的格式规范,输出为整洁、正确的参考文献列表。 --- ## 阶段一:加载格式规范 **触发条件**:会话开始,或用户尚未提供格式规范时。 询问用户提供格式规范。规范应包含: 1. 各文献类型的格式模板(如专著、期刊、学位论文、会议论文、网络资源等) 2. 每种类型至少一个正确示例 **提示语示例**: > "请把你们学校/期刊要求的参考文献格式发给我,包括不同类型(如专著、期刊等)的格式说明和示例,我来帮你按要求格式化。" 收到规范后,**内部解析**每种文献类型的模板,提取字段顺序、标点符号、字体/括号要求等细节。解析完成后简短确认: > "已加载你的格式规范,共识别到 X 种文献类型:[列出类型]。现在可以发文献给我了。" --- ## 阶段二:文献类型识别 用户每次发来一条或多条文献信息后,依次对每条文献执行以下判断: ### 识别依据 | 类型 | 典型特征 | |------|----------| | 专著(书籍) | 有出版社、出版地、无期刊名 | | 期刊论文 | 有期刊名、卷/期号、页码 | | 学位论文 | 含"硕士"/"博士"/"dissertation"/"thesis"/"学位论文" | | 会议论文 | 含会议名称、"proceedings"/"论文集"/"大会" | | 网络资源 | 有URL/DOI且无传统出版信息,或注明"网页"/"官网" | | 报纸文章 | 有报纸名称、版次或"第X版" | | 标准/法规 | 含标准编号(如GB/T)或法规名称 | | 编著章节 | "见:"/"In:",有主编姓名和书名 | ### 无法判断时 如果特征不足以确定类型,向用户提一个简短的问题,例如: > "这条文献是专著(书)吗?还是期刊论文?" > "这篇有没有发表在某本期刊上?" **每次只问一个问题**,不要一次抛出多个选项。 --- ## 阶段三:格式化输出 类型确认后,将原始文献信息按对应模板格式化: ### 格式化原则 1. **严格对照模板**:字段顺序、标点、括号类型均按规范,不得自行发挥 2. **缺失字段处理**: - 若规范要求某字段但原始信息缺失,用 `[?]` 占位,并在输出后注明哪些字段需要补充 - 不要凭空捏造信息(如伪造页码、卷号) 3. **多作者处理**:按规范要求截断(如"等"/"et al."),以规范示例为准 4. **中英文混排**:保持原文语言,不翻译;标点符号按规范要求(中文规范用中文标点,英文规范用英文标点) ### 输出格式 每次输出一个编号列表,格式如下: ``` [1] 格式化后的参考文献条目 [2] 格式化后的参考文献条目 ... ⚠️ 需补充信息: - [1] 缺少出版年份 - [3] 缺少期刊卷号 ``` 如果所有信息完整,省略"需补充信息"部分。 --- ## 阶段四:持续处理 用户可以持续发送新的文献。每次新增时: - 承接已有编号,继续累积列表(除非用户要求重新开始) - 不重复输出之前已格式化的条目 - 如用户说"帮我整理一下全部",输出截至目前的完整列表 --- ## 格式规范更新 如果用户说"格式要求变了"或"换一个规范",清除旧规范,重新执行阶段一。 已格式化的文献需重新按新规范处理(询问用户是否需要重新格式化之前的条目)。 ---
Details
- Skill name
citation-formatter- Repository
- zhenwei017-lgtm/citation-formatter
- Repo updated
- 10 May 2026
FAQ
What does the Citation Formatter skill do?
根据用户自定义的参考文献格式规范,自动识别文献类型(专著、期刊论文、学位论文、 会议论文、网络资源等),并将原始文献信息格式化为符合规范的参考文献条目。 当用户提到"参考文献格式"、"文献格式化"、"帮我整理参考文献"、"按格式排列参考文献"、 "这篇文献怎么写格式",或上传/粘贴了一批文献信息并说"按XX规范"/"按学校要求"时, 必须触发此skill。即使用户只是问"这篇参考文献格式对不对",也应触发。
How do I install the Citation Formatter skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add zhenwei017-lgtm/citation-formatter --skill citation-formatter. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Citation Formatter popular?
It lives in zhenwei017-lgtm/citation-formatter, which has 33 GitHub stars and 1 forks.
Related skills
Reviewwrite
35songhai-dg/review-write
Review before rewriting Chinese or English professional prose, then optionally audit DOCX/PPTX delivery typography and render gates. Use for academic papers, grant proposals, public articles, policy briefs, policy documents, reports, official documents, executive memos, marketing copy, bilingual writing, naturalization, preventing prompt, reasoning, workflow, or editor commentary from leaking into deliverables, and audit-only Office font QA. Preserve facts, citations, terms, qualifiers, intent, author voice, and source Office files. Do not use to evade AI detection or misrepresent authorship.
Shuidao Skill
33LZX0719-Hub/shuidao-skill
Use when the user is a grad student asking about advisor selection, dealing with advisor pressure, paper publication strategies, career planning, or any survival advice for graduate school. Distills the complete cognitive framework from B站「水论文的程序猿」(水导).
Awesome Literature Review
25yzbbds520/awesome-literature-review
中文学术文献综述全流程生成。分四部分(研究背景与目的、文献梳理与分析、研究现状总结与评述、参考文献),开场先对齐题目、文献来源、输出格式与引用规范,搜文献前再确认文献规模、年份跨度、来源门槛与语种配比,清单经核验后一次性写完整篇再输出;文献可用户已有材料抽取、自己粘贴或 AI 联网搜索,写入正文的每一篇都要有真实出处,正文里的方法名与数据只能来自实际读到的摘要或全文,读不到就只写到主题层面,既防编造引用也防编造结论;评述部分要求指出结论分歧、评估方法学局限、把研究空白落到具体对象与方法上;参考文献默认国标 GB/T 7714-2015;支持对话/Markdown/Word/LaTeX 输出,可选调用 Image2 生成文献分类框架图。本 skill 面向叙述性文献综述,不做元分析和统计合并,不代做 PRISMA 系统综述的筛选与偏倚评价。触发:文献综述、写综述、literature review、帮我写文献综述、国内外研究现状。
Openscite
31MO7YW4NG/openscite
Analyze a scholarly PDF by finding papers that cite it, prioritizing likely supporting or contrasting evidence, retrieving authorized full text, and producing an evidence-linked citation-stance report.
Scholar Forge
28hyl-ailab/scholar-forge
End-to-end academic research and writing skill with citation integrity, venue-aware formatting, bilingual CN/EN support (GB/T 7714), and full lifecycle workflows (literature review, IMRaD, thesis, grant, peer review, rebuttal). Fetches live journal guidelines before writing. Use when writing papers, theses, proposals, LaTeX manuscripts, citations, literature reviews, reviewer responses, or any scholarly document. Triggers on 论文, 文献综述, 学位论文, arXiv, BibTeX, IMRaD, PRISMA, rebuttal, grant proposal.
Infinite Gratitude
31sstklen/infinite-gratitude
Multi-agent research that keeps bringing gifts back — like cats! Dispatch multiple agents to research a topic in parallel, compile findings, and iterate on new discoveries.
Browse the most popular Claude skills, all research & science skills, or write your own with the skills generator.