mcpField
S
scientific-writing

scientific-writing

github.com/itallstartedwithaidea文档处理4496 次安装29 周前更新
代码仓库

关于 scientific-writing

scientific-writing 是面向研究人员的 Agent 技能,用于撰写论文、摘要、提案和补充材料。它结合 IMRaD 章节指导、引文管理、LaTeX 排版和期刊格式要求。

主要功能

  1. 01IMRaD 章节指导
  2. 02符合期刊模板要求
  3. 03BibTeX 引文管理
  4. 04LaTeX 公式与图片排版
  5. 05统计表格格式化
  6. 06字数与引文样式检查

适用场景

  1. 01起草或编辑研究论文
  2. 02准备期刊专用 LaTeX 稿件
  3. 03整理引文和参考文献
  4. 04撰写符合字数限制的摘要

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/itallstartedwithaidea/agent-skills --skill scientific-writing

安装后在 Claude Code 中输入/scientific-writing确认已加载。

详细介绍

科学写作

Agent Skills™ 的一部分,由 googleadsagent.ai™ 提供

描述

科学写作指导研究论文、摘要、基金申请书和补充材料的撰写,确保引用管理规范、LaTeX 格式正确,并符合期刊专属模板要求。Agent 生成的论文部分遵循科学论述惯例:语言精准、论证结构严谨,且论点有证据支持。

科学写作不是创意写作。每句话都承担特定功能:交代背景、呈现证据、得出结论或说明局限性。这项技能会遵循 IMRaD 结构(引言、方法、结果和讨论),确保引用符合目标期刊的格式要求,并保持现代期刊所期望的被动语态与主动语态平衡。

这项技能处理论文准备中的机械性工作:BibTeX 引用管理、方程和图表的 LaTeX 格式设置、采用规范统计符号生成表格,以及遵守期刊投稿要求(字数限制、图表格式、参考文献格式)。这些机械性任务会占用研究人员不成比例的时间,非常适合通过 Agent 自动化处理。

适用场景

  • 撰写或编辑研究论文的各个部分
  • 使用 LaTeX 按特定期刊要求排版论文
  • 管理引用并生成参考文献列表
  • 在字数限制内撰写摘要
  • 准备补充材料和附录
  • 转换引用格式(APA、IEEE、Nature)

工作原理

graph TD
    A[Research Results] --> B[Select Target Journal]
    B --> C[Load Journal Template]
    C --> D[Write IMRaD Sections]
    D --> E[Introduction: Context + Gap + Hypothesis]
    D --> F[Methods: Reproducible Protocol]
    D --> G[Results: Data + Statistics + Figures]
    D --> H[Discussion: Interpretation + Limitations]
    E --> I[Citation Integration]
    F --> I
    G --> I
    H --> I
    I --> J[LaTeX Formatting]
    J --> K[Compliance Check: Word Limits, Figures]
    K --> L[Submission-Ready Manuscript]

每个部分都根据其修辞功能撰写。引言从宽泛的背景逐步聚焦到具体的研究空白;结果部分呈现数据但不作解读;讨论部分则结合现有文献阐释结果。

实现

\documentclass[twocolumn]{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath, amssymb}
\usepackage{graphicx}
\usepackage[numbers]{natbib}
\usepackage{booktabs}

\title{Edge-Rendered SEO Pages: A Scalable Approach to Local Search Optimization}
\author{Research Team \\ googleadsagent.ai}
\date{2026}

\begin{document}
\maketitle

\begin{abstract}
We present an edge rendering architecture that generates 18,000+ unique
landing pages from a matrix of 116 services and 155 cities, achieving
sub-50ms time-to-first-byte globally. Our approach eliminates the
build-time scaling limitations of static site generation while maintaining
the SEO benefits of server-rendered HTML. Evaluation across 6 months of
production traffic demonstrates a 34\% improvement in organic search
impressions compared to the previous SSG approach ($p < 0.001$, $d = 0.72$).
\end{abstract}

\section{Introduction}
Local search optimization requires unique, high-quality pages for each
service-location combination~\cite{moz2025local}. Static site generation
(SSG) approaches face quadratic build time growth as the service-location
matrix expands~\cite{vercel2024ssg}.
\end{document}
class ManuscriptBuilder:
    SECTION_GUIDELINES = {
        "abstract": {"max_words": 250, "structure": ["background", "methods", "results", "conclusion"]},
        "introduction": {"paragraphs": [
            "Broad context and importance",
            "Current state of knowledge",
            "Knowledge gap or limitation",
            "Study objective and hypothesis",
        ]},
        "methods": {"requirements": ["reproducible", "past_tense", "no_results"]},
        "results": {"requirements": ["data_driven", "no_interpretation", "stats_with_effect_sizes"]},
        "discussion": {"paragraphs": [
            "Principal findings",
            "Comparison with existing literature",
            "Mechanistic interpretation",
            "Limitations",
            "Future directions and conclusion",
        ]},
    }

    def validate_abstract(self, text: str, max_words: int = 250) -> dict:
        words = text.split()
        return {
            "word_count": len(words),
            "within_limit": len(words) <= max_words,
            "has_background": any(kw in text.lower() for kw in ["context", "background", "importance"]),
            "has_conclusion": any(kw in text.lower() for kw in ["conclude", "demonstrate", "suggest"]),
        }

最佳实践

  • 除非目标期刊另有规定,否则遵循 IMRaD 结构
  • 按以下顺序报告统计结果:检验名称、自由度、检验统计量、p 值、效应量
  • 使用主动语态以提高清晰度:“我们进行了测量”,而不是“进行了测量”
  • 摘要应符合目标期刊的字数限制(通常为 150-300 字)
  • 支持具体论点时引用一手来源,而非综述
  • 设置局限性部分,提前回应审稿人的疑虑

平台兼容性

平台支持程度备注
Cursor完整支持 LaTeX + BibTeX
VS Code完整LaTeX Workshop 扩展
Windsurf完整支持科学写作
Claude Code完整生成论文
Cline完整基于模板撰写
aider部分仅文本编辑

相关技能

关键词

scientific-writing latex imrad citations bibtex manuscript abstract journal-submission peer-review


© 2026 googleadsagent.ai™ | Agent Skills™ | MIT License

评论

支持 Markdown