Use when drafting or revising bioinformatics, multi-omics, spatial transcriptomics, tumor microenvironment, biomarker, survival-modeling, or translational cancer manuscripts; writing Results from figures or writing Methods from code; learning reusable writing patterns from user-provided papers; or producing bilingual Chinese-English Nature-style prose unless another language or journal style is explicitly requested.
Resources
2Install
npx skillscat add bioinfoxp/bioinformatics-paper-writing Install via the SkillsCat registry.
Bioinformatics Paper Writing
Overview
Use this skill to write or revise bioinformatics papers at a high review standard.
Prioritize biological story coherence, cohort and assay transparency, validation depth, cautious causal language, and clinically meaningful interpretation.
Default writing mode is fixed to bilingual Chinese-English output with Nature-style scientific prose unless the user explicitly overrides it.
This skill can also learn from user-provided literature and persist reusable writing knowledge without rewriting the skill itself.
Default Output Mode
Default output mode is manuscript mode.
In manuscript mode, the skill should write like a submission-ready Nature-family draft rather than a working note.
Use these defaults unless the user explicitly asks for analysis support:
- Output polished manuscript text first.
- Use conclusion-like subsection titles instead of tool-style labels.
- Write continuous paragraphs instead of note-style fragments.
- Avoid inline process tags such as
discovery,validation,mechanism,implication, orlimitationinside the prose. - Suppress scaffolding such as panel notes, claim-evidence tables, self-review checklists, and visible-versus-interpretation splits unless the user asks for them.
- For figure-driven tasks, default to
Results paragraph(s) + concise Nature-style legend. - Apply
strict legend modeunless the user explicitly requests another legend format.
If the user asks for review support, traceability, or teaching output, switch to analysis mode and add the necessary scaffolding after the manuscript text.
Supported Entry Scenarios
This skill must handle at least these three entry modes:
- Text-first writing:
- the user provides an outline, draft, bullet points, or reviewer comments.
- Figure-first Results writing:
- the user provides result figures, panel images, heatmaps, volcano plots, Kaplan-Meier curves, boxplots, UMAPs, spatial transcriptomics maps, pathology images, or composite multi-panel figures.
- Code-first Methods writing:
- the user provides R scripts, Python scripts, notebooks, workflow files, shell pipelines, or analysis directories and wants Methods written from the actual implementation.
- Literature-learning mode:
- the user provides a PDF, DOI, abstract, full text, figure legends, supplementary notes, or pasted paper content and wants the skill to learn reusable writing patterns for future tasks.
Core Workflow
- Clarify the central biological or clinical question before sentence-level edits.
- Build the evidence ladder:
- discovery cohort,
- decomposition or mechanism analysis,
- orthogonal validation,
- external validation or functional support,
- translational implication.
- Load only the section guide needed for the current edit target.
- Rewrite paragraph-by-paragraph with one message per paragraph and one scientific purpose per paragraph cluster.
- Check every major claim against explicit evidence from cohorts, assays, models, or experiments.
- Run a self-correction loop before finalizing:
- author view: is the story clear,
- skeptical reviewer view: is the claim overstated,
- statistician view: is the comparison and validation adequate,
- translational view: is the clinical implication proportional to evidence.
Literature Learning Mode
When the user asks the skill to learn from a paper, build reusable local knowledge instead of editing the skill itself.
- Read only the material needed for the learning goal:
- PDF,
- DOI landing content,
- abstract,
- main text,
- figure legends,
- supplementary methods,
- notes provided by the user.
- Extract structured signals:
- study question,
- disease context,
- cohort design,
- modality stack,
- Results ladder,
- evidence language,
- Methods phrasing,
- Discussion framing,
- figure legend patterns,
- reviewer-risk points.
- Save the learned content as a structured note under
knowledge/paper-notes/. - Update a cross-paper synthesis under
knowledge/syntheses/only when at least one stable pattern appears across multiple papers. - Reuse saved knowledge in future tasks by loading only the smallest relevant note or synthesis.
Self-Evolution Boundaries
This skill supports persistent learning, but only within strict boundaries.
Allowed:
- Learn writing structures, evidence phrasing, section logic, figure legend style, Methods reproducibility patterns, and reviewer-facing caution from user-provided literature.
- Save those patterns to the local knowledge base for reuse in later sessions.
- Record conflicts between new papers and existing knowledge for later review.
Not allowed:
- Do not automatically rewrite
SKILL.md. - Do not silently overwrite earlier knowledge notes.
- Do not treat one paper as a universal rule.
- Do not turn biological conclusions from a single study into general writing guidance without marking the scope.
When a new paper conflicts with existing knowledge, return:
conflict pointolder notenew paperrecommended manual decision
Scenario-Specific Workflow
A. When the user provides result figures
- Inspect the image carefully before writing prose.
- Identify figure type, comparison groups, panel order, signal direction, and likely statistical message.
- Separate observation from interpretation:
- observation: what the figure visibly shows,
- interpretation: what the figure may mean biologically.
- Draft Results in panel order only if panel order matches the scientific logic; otherwise rewrite into scientific order.
- Mark uncertain elements explicitly instead of inventing labels or statistics.
- Anchor each major statement to the relevant figure panels using figure references such as
Fig. 6A,Fig. 6B, C, orFig. 6A-Jwhen the support spans multiple panels. - Use
references/by-input/results-from-figures.mdandreferences/sections/figure-legends.md.
B. When the user provides code or notebooks
- Read the codebase before drafting Methods.
- Recover the actual analysis flow:
- inputs,
- preprocessing,
- filtering,
- normalization,
- model-building or statistical testing,
- outputs.
- Distinguish what the code truly does from what the authors may wish it did.
- Convert implementation details into Methods prose while preserving reproducibility.
- Surface ambiguities or missing steps rather than fabricating them.
- Use
references/by-input/methods-from-code.mdandreferences/sections/methods.md.
C. When the user provides literature to learn from
- Identify whether the goal is:
- style transfer,
- paper decomposition,
- section learning,
- figure legend learning,
- Methods phrasing learning,
- reviewer-risk learning.
- Extract stable writing patterns instead of copying paper-specific claims.
- Separate:
- transferable writing pattern,
- domain-specific scientific finding,
- uncertain or non-generalizable preference.
- Save the structured note to
knowledge/paper-notes/. - Use
references/by-input/learning-from-literature.md.
Global Principles
- Keep one paragraph for one message only.
- State the paragraph message in the first sentence.
- Make nouns self-contained; define signatures, cell states, risk groups, and cohorts before reuse.
- Maintain sentence-to-sentence flow through cause, contrast, consequence, refinement, or validation.
- Make every major claim traceable to a concrete evidence source.
- Separate discovery from validation in both structure and wording.
- Move from observation to mechanism to implication; do not jump directly from signal to promise.
- Use cautious verbs for observational evidence:
was associated with,was enriched in,correlated with,suggests.
- Reserve strong verbs such as
drives,promotes, ordeterminesfor evidence with real mechanistic support. - Default to bilingual Chinese-English delivery:
- Chinese version first for fast understanding,
- English version second for manuscript use.
- Default to Nature-style prose:
- concise,
- high information density,
- claim-first paragraphs,
- restrained hype,
- explicit biological implication.
- Default to Nature-style formatting:
- conclusion-like subsection titles,
- paragraph-based body text,
- minimal list usage in final manuscript output,
- no visible drafting labels inside the prose,
- no unnecessary line breaks between closely linked sentences.
- When the user asks for a figure legend, default to a concise, manuscript-ready Nature-style legend unless the user explicitly asks for an expanded or explanatory version.
- When the user asks the skill to learn from literature, persist reusable patterns to the local knowledge base and make the saved path visible in the response.
- In figure-driven Results writing, include explicit figure anchors in the prose so each major claim is tied to its supporting panel or panel group.
Strict Legend Mode
When writing figure legends, use a fixed output format unless the user explicitly requests another style.
Required structure:
- Start with
Figure X.followed by one short sentence stating the figure's main message. - Insert one blank line after the opening sentence.
- Write each panel on its own new line using parenthesized capitals:
(A) ... .(B) ... .(C) ... .
- Use full sentences for each panel.
- End each panel with a period, not a semicolon.
- Do not merge multiple panels into a single run-on sentence.
- Keep line breaks stable:
- one panel per line,
- no wrapped bullet formatting,
- no paragraph-style legend blocks when panelized legends are appropriate.
Content rules:
- Describe what the panel shows, not the full downstream interpretation already covered in Results.
- Mention cohort, assay, model, comparison group, and quantification only when needed for clarity.
- Mention statistics only when visibly shown in the figure or explicitly provided by the user.
- Put scale bars at the end of the relevant panel sentence, for example
Scale bar, 100 μm. - Put abbreviation definitions only at the end of the legend and only when necessary.
- Keep the opening sentence compact and conclusion-like rather than descriptive of layout alone.
Writing Patterns from the Source Papers
The source papers share a stable high-level pattern:
- Open with an unmet biological or clinical need, not with software or algorithm details.
- Introduce the modality stack early and justify why each modality is needed.
- Build Results as a ladder:
- cohort and workflow overview,
- discovery of a major spatial, immune, molecular, or prognostic pattern,
- decomposition into cell states, ligand-receptor programs, or genomic drivers,
- orthogonal validation with a second modality, pathology, or independent dataset,
- clinical or therapeutic implication.
- Use declarative Results subsection titles that already state the finding.
- Write Discussion as synthesis:
- what was discovered,
- why combined modalities matter,
- what the translational meaning is,
- what remains uncertain.
Result Paragraph Pattern
Use this structure for most Results paragraphs:
- State the local scientific question.
- Name the cohort, modality, or assay used to answer it.
- Report the key result with direction, contrast group, and important statistic when available.
- Cite the supporting panel or panel group directly in the sentence, for example
Fig. 6AorFig. 6B-D. - Interpret the meaning of the result.
- Bridge to the next question.
Avoid these failure modes:
- Writing Results as a methods log.
- Reporting p-values without effect direction or biological meaning.
- Mixing discovery, validation, and interpretation in one overloaded paragraph.
- Claiming mechanism from correlation alone.
- Writing figure-based Results without explicit figure anchors.
Paragraph Clarity Check
Use this quick test whenever the user asks whether a paragraph flows or is clear.
- Read as an external reader:
- Does this paragraph have one explicit message?
- Does the first sentence state what this paragraph will do?
- Are all key nouns readable without hidden context?
- Does each sentence connect to the previous one with a clear relation?
- Run reverse outlining for the current section:
- thesis or local conclusion,
- paragraph topic sentence,
- evidence points under that paragraph,
- mapping from evidence to paragraph claim and from paragraph claim to section claim.
- If flow is still weak, add temporary transition phrases during revision, then remove unnecessary scaffolding.
Source reference for this check:
references/quality/writing-flow.md
Reference Map
Load only the smallest relevant reference set for the current task.
1. Core framing
- Study design and modality logic:
references/core/study-design.md - Bioinformatics story patterns:
references/core/story-patterns.md
2. Entry-mode references
- Results from figures:
references/by-input/results-from-figures.md - Methods from code:
references/by-input/methods-from-code.md - Learning from literature:
references/by-input/learning-from-literature.md
3. Section-specific guides
- Abstract:
references/sections/abstract.md - Introduction:
references/sections/introduction.md - Related Work:
references/sections/related-work.md - Results:
references/sections/results.md - Methods:
references/sections/methods.md - Figure legends:
references/sections/figure-legends.md - Discussion:
references/sections/discussion.md - Conclusion:
references/sections/conclusion.md
4. Quality control and revision
- Validation and supplementary analyses:
references/quality/validation.md - Writing flow and paragraph coherence:
references/quality/writing-flow.md - Reviewer-style paper audit:
references/quality/paper-review.md
Loading Routes
Use these defaults to avoid overloading context:
- Text-first section drafting:
- load one section guide from
references/sections/ - add
references/core/study-design.mdif cohort or modality logic is central - add
references/core/story-patterns.mdif the paper lacks a coherent ladder
- load one section guide from
- Figure-first Results writing:
- load
references/by-input/results-from-figures.md - add
references/sections/results.md - add
references/sections/figure-legends.mdonly if the user also wants a legend
- load
- Code-first Methods writing:
- load
references/by-input/methods-from-code.md - add
references/sections/methods.md
- load
- Revision or reviewer-prep:
- load
references/quality/paper-review.md - add
references/quality/validation.mdfor robustness gaps - add
references/quality/writing-flow.mdfor clarity-only revisions
- load
- Literature-learning mode:
- load
references/by-input/learning-from-literature.md - add one section guide from
references/sections/only if the user wants section-specific learning - add one relevant synthesis or paper note from
knowledge/only if it directly matches the current task
- load
Knowledge Base
Persistent learning lives under knowledge/.
knowledge/README.md: storage rules and note formatknowledge/paper-notes/: one structured note per learned paperknowledge/syntheses/: cross-paper summaries of stable writing patterns
Use these rules:
- Load the minimum number of knowledge files needed.
- Prefer a synthesis note when the task asks for a broad style.
- Prefer a paper note when the task points to a specific learned paper.
- If no saved knowledge is relevant, continue with the core references and state that no matching learned note was used.
High-Standard Revision Loop
Before finalizing any major section, ask and answer these questions:
- Biological question:
- Is the paper answering one memorable question, or only listing analyses?
- Evidence hierarchy:
- Which claims are discovery only?
- Which claims are orthogonally validated?
- Which claims have functional or mechanistic support?
- Statistical adequacy:
- Are comparison groups explicit?
- Are validation cohorts distinct?
- Are effect sizes and directions stated?
- Translational discipline:
- Are biomarker or therapeutic claims stronger than the data justify?
- Reviewer simulation:
- What is the strongest plausible objection, and is it already addressed in text?
Execution Rules
- Build a mini-outline before drafting prose.
- For each subsection, explicitly state the scientific question, data source, key finding, and interpretation.
- Avoid writing style that reads like a computational notebook export.
- Distinguish clearly between discovery cohort, internal validation, external validation, and mechanistic support.
- Keep terminology stable across the full paper.
- If a claim cannot be supported by results, weaken or remove it.
- Prefer conclusion-like Results subsection titles.
- By default, produce both Chinese and English versions in one response unless the user explicitly requests single-language output.
- The English version should default to Nature-style manuscript phrasing unless the user explicitly requests another venue style.
- Do not load all section references at once; load only the guide needed for the current task.
- In literature-learning mode, save reusable patterns to
knowledge/paper-notes/before claiming the learning is complete. - When updating a synthesis, append or revise only the smallest necessary section and preserve prior note provenance.
- In manuscript mode, present the final writing as clean manuscript copy first and move any optional analysis material after it.
- Do not expose internal drafting roles, paragraph-function labels, or audit scaffolds unless the user explicitly asks for them.
- When writing Results from figures, do not default to a panel-by-panel report; convert the figure into a logical scientific narrative and add a concise legend.
- In strict legend mode, format legends with
Figure X.plus one opening sentence, followed by one panel sentence per line using(A),(B),(C)and terminal periods. - In figure-driven Results text, explicitly anchor major claims to the supporting panels using
Fig. Xreferences.
Output Contract
When asked to rewrite or draft sections, return:
In manuscript mode, return:
- A conclusion-like subsection title when a title is needed.
- A Chinese Nature-style manuscript version.
- An English Nature-style manuscript version.
- A concise Nature-style figure legend when the input is a figure or the user asks for one.
- When a figure legend is produced, it must follow strict legend mode unless the user explicitly overrides it.
- The visible section order should remain stable across similar tasks.
- For figure-driven Results, both Chinese and English prose should contain explicit
Fig. Xanchors for major evidence statements.
In analysis mode, additionally return as needed:
- A compact section outline with 3-7 bullets.
- Revised paragraphs with explicit roles such as
problem,study design,discovery,validation,mechanism,implication, orlimitation. - A short self-review checklist covering clarity, cohort transparency, over-interpretation risk, and missing validation.
- A claim-evidence map for each major claim using
Claim: ... | Evidence: ... | Status: supported/needs evidence. - Analysis sections should appear after the manuscript text and use consistent labels.
When the input is a figure, additionally return:
In manuscript mode:
- Chinese and English Results text by default.
- A concise, manuscript-ready Nature-style legend by default.
- The legend must use strict legend mode with one panel per line and terminal periods.
In analysis mode:
- A panel-by-panel observation list.
- A distinction between
visible observationandbiological interpretation. - Chinese and English Results text.
- A concise, manuscript-ready Nature-style legend unless the user requests otherwise.
When the input is code, additionally return:
- A recovered analysis pipeline summary.
- A list of Method details that were explicit in code versus inferred from context.
- Chinese and English Methods text by default.
When the input is literature for learning, additionally return:
- A short paper profile with title, disease context, modality stack, and writing use case.
- A transferable-pattern list split into:
- story structure,
- Results phrasing,
- Methods phrasing,
- Discussion framing,
- figure legend style,
- reviewer-risk notes.
- A list of what was saved versus what was intentionally not generalized.
- The saved local path under
knowledge/paper-notes/. - If updated, the saved local path under
knowledge/syntheses/.
Formatting Guardrails
Use these formatting rules to keep outputs closer to Nature-family manuscript conventions:
- Prefer sentence case or conclusion-like subsection titles; avoid report-style headers such as
Panel Notes,Self-Review,Claim-Evidence Map, orSection Outlinein manuscript mode. - Keep prose in full paragraphs, typically one idea per paragraph.
- Avoid excessive bullet lists in manuscript mode unless the user explicitly asks for notes or outlines.
- Avoid visible markup labels inside manuscript text, including
observation,interpretation,discovery,validation, or similar tags. - Keep figure legends compact:
- one opening sentence stating the figure message,
- then one full sentence per panel on its own line.
- Avoid unnecessary hard line breaks that make the text read like a checklist rather than a manuscript.
- If bilingual output is requested, keep Chinese and English as two clean manuscript blocks rather than interleaving sentence by sentence.
- In strict legend mode, line breaks are part of the format and should be preserved between the opening sentence and each panel sentence.
- Use the same small set of visible section labels across outputs:
- a subsection title,
中文,English,Figure legend,- optional analysis labels only in analysis mode.
- Do not invent decorative headings, emoji, or presentation flourishes that are not manuscript-like.
- Keep heading depth shallow; in most cases, one subsection title plus 2-3 short labels is sufficient.
- In figure-driven Results, avoid floating claims without figure anchors; bind each major finding to
Fig. X,Fig. X, Y, orFig. X-Yas appropriate.