Logo de Manuscript Formatting

Manuscript Formatting

Comunidade
neuromechanist
manuscript-formatting

Use this skill for "format manuscript", "prepare for submission", "journal formatting", "Word", "DOCX", "reference DOCX", "LaTeX template", "submission checklist", "format references", "BibTeX", "author guidelines", "page limits", "format for Nature", "format for IEEE", or when the user wants to format a manuscript for journal submission.

Visão geral

Publicado porneuromechanist
Repositórioresearch-skills
Nome da habilidademanuscript-formatting
Estrelas
51
Forks
9
Arquivos incluídos
6
LicençaBSD-3-Clause
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 6

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por neuromechanist no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Manuscript Formatting no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/neuromechanist/research-skills/tree/main/plugins/manuscript/skills/manuscript-formatting
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/neuromechanist/research-skills.git /tmp/research-skills
mkdir -p .claude/skills
cp -r /tmp/research-skills/plugins/manuscript/skills/manuscript-formatting .claude/skills/manuscript-formatting
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Manuscript Formatting em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Manuscript Formatting automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Manuscript Formatting não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

Manuscript Formatting and Submission Preparation

Format manuscripts to meet journal-specific requirements and prepare submission packages.

When to Use

  • Formatting a manuscript for a specific journal
  • Preparing a submission package (cover letter, figures, supplementary)
  • Converting between Word/DOCX, Markdown, and LaTeX
  • Checking compliance with author guidelines
  • Managing references and BibTeX

Word Draft Workflow

Use this workflow when the reader needs an editable .docx manuscript draft. The bundled reference document gives a polished, readable starting point with a clear title block, restrained headings, legible body text, page numbers, figure and table captions, and compact table text. It is a review-draft style, not a substitute for a journal's required template.

Create or Customize the Reference DOCX

Set SKILL_DIR to the directory containing this SKILL.md, or replace it with that directory's full path in the commands below. A ready-to-use reference file is at assets/Manuscript_Draft_Reference.docx. Copy it into the manuscript project and pass it to Pandoc with --reference-doc.

To generate a fresh copy or change the sample title, run the bundled helper with Python 3.11 or newer and python-docx available:

bash
uv run --with python-docx python "$SKILL_DIR/scripts/create_docx_template.py" --output manuscript/reference.docx --title "Manuscript Title Goes Here"

Pandoc uses the reference DOCX's styles, page setup, header, and footer; it replaces the sample body with the Markdown manuscript. Keep the reference file in the project so collaborators can reproduce the same Word styling.

Mark Figures and Choose Their Placement

Represent each figure as a top-level fenced Div with the .paper-figure class. Put one standalone image first, then one or more caption paragraphs. The image's alt text is used as accessible alternative text; write it as a concise description of the visual information, separately from the caption.

markdown
::: {.paper-figure}
![Scatterplot of response time against device latency, with a positive trend and confidence band.](figures/latency.png){width=95%}
Figure 1. Response time increased with device latency. The shaded band shows the 95% confidence interval.
:::

Run the conversion with the bundled figure-placement filter. The default is inline, which keeps each figure at its Markdown location. Set figure-placement to end to gather marked figures in a Figures section immediately before References, or at the end when no References heading is present.

bash
pandoc manuscript.md --output manuscript.docx --reference-doc manuscript/reference.docx --lua-filter="$SKILL_DIR/scripts/figure-placement.lua" --metadata figure-placement=inline --citeproc --bibliography=references.bib --csl=journal.csl

For end-of-document figures, change the metadata value to figure-placement=end.

Keep a textual callout such as Figure 1 in the surrounding prose so readers can find the figure in either layout. Use figure-placement=inline for the normal in-place draft. The filter rejects malformed .paper-figure blocks and images without alt text instead of silently dropping content.

Review the Generated DOCX

Open the result in Word or LibreOffice and inspect page breaks, long captions, table widths, equations, cross-references, and the rendered bibliography. Journal submission rules override this generic draft styling; apply the journal's actual template and figure-placement requirements before submission.

Common Journal Formats

IEEE

  • Template: IEEEtran class
  • Columns: Two-column
  • References: Numbered, [1] style
  • Figures: Fit within column or span both columns
  • Page limit: Varies (typically 6-8 for conference, 12-14 for journal)
latex
\documentclass[journal]{IEEEtran}
\usepackage{cite}
\usepackage{amsmath}
\usepackage{graphicx}

Nature/Science

  • Format: Single column, specific heading hierarchy
  • References: Superscript numbered
  • Word limit: ~3000-5000 words (main text)
  • Figures: Max 6-8, submitted as separate files
  • Methods: Often separate section with no word limit

PNAS

  • Template: pnas-new class
  • Columns: Two-column in print, single for review
  • Word limit: ~4500 words
  • References: Numbered
  • Significance statement: Required, 120 words max

PLoS ONE

  • Format: No specific template required
  • References: Numbered, Vancouver style
  • No length restriction
  • Data availability: Statement required

Elsevier

  • Template: elsarticle class
  • Multiple formats: preprint, review, final
latex
\documentclass[preprint,12pt]{elsarticle}

LaTeX Essentials

Document Structure

latex
\documentclass[options]{class}
\usepackage{packages}

\title{Title}
\author{Authors}

\begin{document}
\maketitle
\begin{abstract}
\end{abstract}

\section{Introduction}
\section{Methods}
\section{Results}
\section{Discussion}

\bibliography{references}
\end{document}

BibTeX Management

bibtex
@article{smith2024,
  author  = {Smith, John and Doe, Jane},
  title   = {Title of the Paper},
  journal = {Journal Name},
  year    = {2024},
  volume  = {10},
  pages   = {1--15},
  doi     = {10.1000/example}
}

Common BibTeX styles:

  • plain - numbered, sorted alphabetically
  • unsrt - numbered, order of citation
  • ieeetr - IEEE transactions style
  • apalike - APA-like author-year

Cross-references

latex
\label{fig:results}   % Label a figure
\ref{fig:results}     % Reference by number
Figure~\ref{fig:results}  % Standard format

Submission Checklist

Before Submission

  • Manuscript formatted per journal template
  • Title page: title, authors, affiliations, corresponding author, ORCID
  • Abstract within word limit
  • Keywords provided (if required)
  • Main text within page/word limit
  • Figures as separate high-resolution files (typically 300+ DPI)
  • Figure captions in a separate list
  • Tables formatted per journal style
  • References complete and consistently formatted
  • Supplementary materials prepared separately
  • Cover letter drafted (run manuscript:humanizer on it; cover letters are particularly prone to AI-tell phrasing)
  • manuscript:humanizer natural-writing pass applied to all narrative sections, then journal house style (title case, citation format, etc.) re-applied where it overrides humanizer defaults
  • Conflict of interest statement
  • Data availability statement
  • Ethics approval statement (if applicable)
  • Author contributions (CRediT format if required)
  • Suggested reviewers (if required)

Cover Letter Template

Dear Editor,

We submit our manuscript titled "{TITLE}" for consideration
in {JOURNAL}.

{1-2 sentences: what the study did and found}

{1-2 sentences: why this matters to the journal's readership}

{1 sentence: confirmation of originality and no concurrent submission}

We suggest the following reviewers:
1. {Name, Affiliation, Email}
2. {Name, Affiliation, Email}

Sincerely,
{Corresponding Author}

Format Conversion

Markdown to LaTeX

bash
pandoc manuscript.md -o manuscript.tex --template=journal-template.tex --bibliography=refs.bib --citeproc

Word to LaTeX

bash
pandoc manuscript.docx -o manuscript.tex --extract-media=figures/

LaTeX to Word (for journals requiring .docx)

bash
pandoc manuscript.tex -o manuscript.docx --bibliography=refs.bib --citeproc

Semantic Line Breaks

Semantic line breaks put each substantial unit of thought on its own source line, so a small prose edit produces a small, reviewable diff. The SemBr specification requires that this formatting not alter the rendered document. The sembr CLI supports Markdown, plain text, and LaTeX and can be installed portably with uv tool install sembr.

Raw SemBr output is reasonable for ordinary Markdown after review. Do not trust raw output on LaTeX: line breaks can change comment scope or corrupt commands and escape sequences. Use the bundled safety wrapper for LaTeX:

bash
uv run python plugins/manuscript/skills/manuscript-formatting/scripts/semantic_breaks.py \
  manuscript.tex manuscript-semantic.tex \
  --compile-command latexmk -pdf -interaction=nonstopmode \
  -outdir '{build_dir}' '{source}'

The wrapper performs these gates before writing the destination:

  1. It replaces \\begin{verbatim}...\\end{verbatim} blocks and full-line % comments with atomic placeholders, then restores them after SemBr.
  2. It aligns whitespace-delimited tokens with Python's difflib.SequenceMatcher. If any token content diverges, it restores the original paragraph containing that divergence; whitespace-only changes in other paragraphs remain available as semantic breaks. A whitespace-collapsed string comparison alone is unsafe because it misses % comment truncation.
  3. When --compile-command is supplied, it compiles the original and guarded versions separately, runs pdftotext on both PDFs, and refuses to write the result unless the extracted bytes are identical. The compiler command must use {source} for its input and route generated files into {build_dir}; arguments after --compile-command are consumed by the wrapper.

Inspect the resulting diff and keep the compiled-output check in the workflow; matching extracted text is a safety gate, not a substitute for reviewing the source and the rendered PDF.

Additional Resources

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Manuscript Formatting faz?

Use this skill for "format manuscript", "prepare for submission", "journal formatting", "Word", "DOCX", "reference DOCX", "LaTeX template", "submission checklist", "format references", "BibTeX", "author guidelines", "page limits", "format for Nature", "format for IEEE", or when the user wants to format a manuscript for journal submission.

Por que usar Manuscript Formatting no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Manuscript Formatting é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Manuscript Formatting no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/neuromechanist/research-skills/tree/main/plugins/manuscript/skills/manuscript-formatting. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Manuscript Formatting?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Manuscript Formatting?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Manuscript Formatting com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Manuscript Formatting é gratuita?

Sim. A habilidade é publicada no GitHub por neuromechanist sob a licença BSD-3-Clause. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇