Academic Citation Style Formatter and Converter
When to Use This Skill
- - formatting references for journal submission
- converting between citation styles (APA, MLA, Vancouver, Chicago)
- generating bibliographies for manuscripts
- ensuring consistent reference formatting
- checking reference completeness and accuracy
- preparing grant proposal reference sections
Quick Start
CODEBLOCK0
Core Capabilities
1. Format citations in 1000+ academic styles
CODEBLOCK1
2. Convert seamlessly between citation formats
CODEBLOCK2
3. Validate reference completeness and accuracy
CODEBLOCK3
4. Batch process large reference collections
CODEBLOCK4
Command Line Usage
CODEBLOCK5
Best Practices
- - Always validate DOIs and URLs before submission
- Check journal-specific requirements beyond standard style
- Maintain original reference database for updates
- Review formatting of special cases (websites, preprints)
Quality Checklist
Before using this skill, ensure you have:
- - [ ] Clear understanding of your objectives
- [ ] Necessary input data prepared and validated
- [ ] Output requirements defined
- [ ] Reviewed relevant documentation
After using this skill, verify:
- - [ ] Results meet your quality standards
- [ ] Outputs are properly formatted
- [ ] Any errors or warnings have been addressed
- [ ] Results are documented appropriately
References
- -
references/guide.md - Comprehensive user guide - INLINECODE1 - Working code examples
- INLINECODE2 - Complete API documentation
Skill ID: 625 |
Version: 1.0 |
License: MIT
学术引用格式格式化与转换器
何时使用此技能
- - 为期刊投稿格式化参考文献
- 在引用格式之间转换(APA、MLA、Vancouver、Chicago)
- 为手稿生成参考文献列表
- 确保参考文献格式一致性
- 检查参考文献的完整性和准确性
- 准备基金申请书的参考文献部分
快速开始
python
from scripts.main import CitationFormatter
初始化工具
tool = CitationFormatter()
from scripts.citation_formatter import CitationFormatter
formatter = CitationFormatter()
为特定期刊格式化参考文献
formatted
refs = formatter.formatreferences(
references=raw_references,
target_style=Nature Medicine,
output_format=docx
)
在格式之间转换
converted = formatter.convert_style(
bibliography=apa_bibliography,
from_style=APA 7th,
to_style=Vancouver,
include_doi=True,
include_pmids=True
)
验证参考文献完整性
validation = formatter.validate_references(
references=reference_list,
required_fields=[authors, title, journal, year, volume, pages, doi]
)
print(f验证结果:)
print(f 完整:{validation.complete_count})
print(f 缺少字段:{validation.incomplete_count})
print(f 无效DOI:{len(validation.invalid_dois)})
生成文内引用
in
text = formatter.generatein
textcitations(
citations=[
{author: Smith, year: 2023, type: paren},
{author: Jones et al., year: 2022, type: narrative}
],
style=APA
)
批量处理多个文档
batch
results = formatter.batchformat(
files=[chapter1.docx, chapter2.docx],
style=AMA,
output_dir=formatted/
)
核心功能
1. 以1000+种学术格式格式化引用
python
格式化功能
result = tool.execute(data)
2. 在引用格式之间无缝转换
python
转换功能
result = tool.execute(data)
3. 验证参考文献的完整性和准确性
python
验证功能
result = tool.execute(data)
4. 批量处理大型参考文献集合
python
批量处理功能
result = tool.execute(data)
命令行使用
bash
python scripts/main.py --input references.bib --from-style APA --to-style Vancouver --output formatted.docx --validate
最佳实践
- - 在提交前始终验证DOI和URL
- 检查超出标准格式的期刊特定要求
- 维护原始参考文献数据库以便更新
- 审查特殊情况(网站、预印本)的格式
质量检查清单
使用此技能前,请确保:
- - [ ] 清楚理解您的目标
- [ ] 准备并验证了必要的输入数据
- [ ] 定义了输出要求
- [ ] 审查了相关文档
使用此技能后,请验证:
- - [ ] 结果符合您的质量标准
- [ ] 输出格式正确
- [ ] 已处理所有错误或警告
- [ ] 结果已适当记录
参考资料
- - references/guide.md - 综合用户指南
- references/examples/ - 工作代码示例
- references/api-docs/ - 完整API文档
技能ID:625 |
版本:1.0 |
许可证:MIT