Agent skill
引用生成器
自动生成规范引用格式。当用户需要生成参考文献、引用来源、标注知识库内容出处、或要求提供引用信息时使用此技能。
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/citation-generator
SKILL.md
Citation Generator
为知识库检索结果生成规范的引用格式。
核心能力
- 来源标注: 为回答中使用的每个知识点标注来源
- 格式化引用: 支持多种引用格式(APA、MLA、Chicago、简化格式)
- 参考文献列表: 在回答末尾生成完整的参考文献列表
引用格式
简化格式(默认)
对于知识库内容,使用以下格式:
[文档名称, 第X页/段落X]
示例:
根据公司政策[员工手册2024.pdf, 第15页],年假申请需提前...
APA 格式
作者. (年份). 标题. 来源.
参考文献列表格式
在回答末尾,使用以下格式列出所有引用:
---
**参考文献**
1. [1] 文档A - 第X章/第Y页
2. [2] 文档B - 第Z段
使用指南
- 检索内容时: 记录每个检索结果的来源信息(文档名、页码、分块ID)
- 引用时: 在使用知识点后立即标注来源
- 汇总时: 在回答末尾列出完整参考文献
注意事项
- 如果检索结果未提供页码,使用分块或段落编号
- 对于同一文档的多次引用,可合并为一条
- 引用应准确对应原文内容,不可虚构来源
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?