Guides R packages or analysis scripts through Bioconductor submission, including pre-submission checks, Contributions tracker, and post-acceptance maintenance.
Ships in bioc-r-packages. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Takes existing R work, a package or loose analysis scripts, and moves it toward an accepted Bioconductor package. The common case is conversion: start from what exists and find the gaps against the gate. Do not scaffold from scratch unless there is no package yet.
Condensed from the official guide, Bioconductor Packages: Development, Maintenance, and Peer Review. Detail lives in knowledge/, one file per topic; open the file for the task at hand rather than reading all of it. Each file links back to its canonical chapter, which stays authoritative when the two disagree. Upstream pins are in knowledge/SOURCES.md, needed at run time only for step 2.
Applies whenever the work targets Bioconductor, even when the user does not name it: biocViews,
BiocCheck, the Contributions tracker, git.bioconductor.org, or S4 classes built on
Bioconductor core classes such as SummarizedExperiment all imply it.
BiocManager::install(c(
"BiocCheck", "biocthis",
# biocthis::use_bioc_vignette() adds these to Suggests and refuses to run
# unless they are already installed
"BiocStyle", "knitr", "RefManageR", "sessioninfo", "testthat"
))
Use BiocCheck (the authoritative validator) and biocthis (writes Bioconductor-shaped files)
rather than reimplementing them; reusing existing infrastructure is itself a review criterion
(see Reusing methods and classes).
Authoring, conversion and submission, maintenance, or review. The stage decides which detail file to open; the map is in knowledge/index.md. For an end-to-end submission, follow the runbook in knowledge/workflow.md, starting at its "Converting an existing package" section when a package already exists.
If the starting point is loose scripts rather than a package, the first move is package structure: naming rules in knowledge/development/package-name.md, setup in knowledge/development/general-dev.md.
Never assert the release/devel pair from memory; it changes twice a year. Read it from config.yaml, which is authoritative, and note the date. The last verified value is recorded in knowledge/SOURCES.md with its fetch date.
Upstream states these at two different strengths, so report them at two different strengths. A tier-2 item is not a blocker; it is something a reviewer will very likely ask about.
Tier 1, stated as requirements:
R CMD check and BiocCheck pass with no ERROR and no WARNING on current R-devel. The
tracker's own wording is "a minimum requirement for package acceptance". It also says "Passing
these checks does not result in automatic acceptance": a human review follows, and it looks at
things no checker measures, such as whether the package duplicates an existing one, whether it
reuses Bioconductor core classes instead of inventing parallel ones, and whether the vignette
shows a real analysis (knowledge/reviewer.md).\dontrun or
\donttest counts as no example at all, because BiocCheck comments both out before parsing.biocViews present; a vignette and man pages present; maintainer email valid and belonging to
the person submitting; not on CRAN, since "a package can only be submitted to one or the
other"; hosted on the GitHub default branch.Tier 2, stated as should or recommended:
Version: 0.99.0 for a new package (upstream: "should set"). Expected in practice; set it.R CMD check --no-build-vignettes under 10 minutes (upstream: "should require less than").Detail: knowledge/development/build-check-bioccheck.md and knowledge/development/general-dev.md.
DESCRIPTION, NAMESPACE, NEWS, LICENSE, CITATION:
knowledge/development/metadata-files.md.
biocViews is where new packages most often fail. biocViews: Software on its own is a BiocCheck
ERROR - "Add biocViews other than Software". The four top-level terms (Software, AnnotationData,
ExperimentData, Workflow) do not count on their own. Pick specific terms from the
biocViews vocabulary, for example
Software, GeneExpression, Transcriptomics.
A vignette that shows the actual analysis, not a stub, plus man pages with runnable examples: knowledge/development/documentation.md. Count the examples against the 80% threshold in step 3 rather than eyeballing them. Unit tests: knowledge/development/tests.md. Large data belongs in ExperimentHub or AnnotationHub rather than in the package: knowledge/development/data.md.
At least one vignette or example must analyse real data; simulated data illustrate an API but
do not demonstrate a method. If the vignette uses TCGA, GEO or another public consortium's
data, use the Bioconductor curated resource for it (curatedTCGAData, curatedMetagenomicData,
recount3, the ExperimentHub packages; find it with bioc-pkg-finder) or say in the vignette
why not. The reviewer's tool treats both (rubric rows VIG-15 and VIG-16) as gate findings: a must
on either leads its report and the other findings wait until it is settled.
Invoke the build-check-bioccheck skill for this step; it runs the commands and separates
real defects from environment gaps, account-level actions, and known false positives.
Both entry points are required, on current R-devel. The first inspects the git clone, the second the built package:
BiocCheck::BiocCheckGitClone()
BiocCheck::BiocCheck('new-package' = TRUE)
BiocCheck cannot measure the two tier-2 limits on check time and memory. Those need a real build, so time and measure one.
Bioconductor style differs from tidyverse style: <- for assignment, 4-space indentation,
80-column lines, vectorized code, and seq_len/seq_along in place of 1:n. Details in
knowledge/development/r-code.md and the
R code guidelines.
Two of those substitutions are not cosmetic. 1:n to seq_len(n) and sapply to vapply change
behavior at exactly the edge cases that motivate them - n == 0, and a FUN.VALUE mismatch that
sapply swallows and vapply raises. Apply them where the new behavior is the intended one,
leave them where that cannot be determined, and run the tests before and after so the diff is
provably cosmetic.
Three things before opening the issue; the human reviewer, helped by an agent that asks the same questions this repository publishes, will look for all three:
bioc-pkg-review. It walks the
package with the questions in ../bioc-pkg-review/knowledge/rubric.md
and fills the Package Review Checklist. Fix its must findings; expect its should findings
to come back as reviewer requests if you leave them.bioc-pkg-finder and never from memory, and say in the vignette introduction how yours
differs and how it fits a Bioconductor workflow.Host on the GitHub default branch, then open an issue whose title is the package name at the BiocContributions tracker. Annotation packages go by email to [email protected] instead. The Single Package Builder must then pass on all platforms. Eligibility and package types: knowledge/01-submissions.md.
Register an SSH key at BiocCredentials, add upstream pointing at git.bioconductor.org, and
push to both remotes; only devel and RELEASE_x_y branches accept pushes.
Version scheme x.y.z: start at 0.99.0; y is odd in devel and even in release, maximum 99;
bump z by 1 on every commit; 0.99.z becomes 1.0.0 at the first Bioconductor release; x is
changed only by the Bioconductor team. Git workflow, build reports, and deprecation:
knowledge/maintenance.md.
For a readiness question, report gaps in the two tiers of step 3, never merged into one list:
For a development or maintenance question, answer from the relevant detail file and cite the canonical chapter it links to, so the answer stays checkable against upstream.
User: "Is my package ready to submit to Bioconductor?"
Skill produces: a two-tier gap report, for example - blockers: biocViews contains only
Software (BiocCheck ERROR), inst/extdata/ref.rds is 12 MB (exceeds the 5 MB per-file limit),
no vignette. Likely reviewer requests: Version is 0.1.0 rather than 0.99.0; three exported
functions have no runnable examples. Verdict: not submittable yet; the three blockers must clear
first.
build-check-bioccheck (the gate step), bioc-pkg-review (the reviewer's rubric,
before submitting), bioc-pkg-finder (naming packages), update-r-news (writing NEWS)analyze-r-package, security-audit-r-package, improve-code-coverageThree biocthis behaviors to know before scaffolding:
use_bioc_description() writes a fresh DESCRIPTION; it does not merge into an existing
one. It asks before replacing an existing file (through usethis::use_description() and
write_over()) and declines silently in a non-interactive session, so on a package that
already has a DESCRIPTION the call often does nothing at all, with no error. Add biocViews
by hand instead, or approve the overwrite knowing it discards the DESCRIPTION already
present. The rest of the biocthis chain appends and is safe on an existing package.use_bioc_citation() leaves inst/CITATION broken. The template substitutes {{Title}} and
{{github_owner}}, but the function passes no title and, on a package with no GitHub remote
configured yet, no owner. utils::citation() errors on the empty title or author ("a bibentry
of bibtype 'Manual' has to specify the field: title"), and because the generated vignette
calls citation(), R CMD build fails at "creating vignettes". Fill in the title, the
author, and the placeholder 10.1101/TODO DOI before building anything.SummarizedExperiment integration early.knowledge/01-submissions.md (opens in a new tab)knowledge/SOURCES.md (opens in a new tab)knowledge/appendices.md (opens in a new tab)knowledge/development/ai-policy.md (opens in a new tab)knowledge/development/build-check-bioccheck.md (opens in a new tab)knowledge/development/compiled-thirdparty.md (opens in a new tab)knowledge/development/data.md (opens in a new tab)knowledge/development/documentation.md (opens in a new tab)knowledge/development/general-dev.md (opens in a new tab)knowledge/development/gitignore.md (opens in a new tab)knowledge/development/hub-data-packages.md (opens in a new tab)knowledge/development/metadata-files.md (opens in a new tab)knowledge/development/methods-classes.md (opens in a new tab)knowledge/development/non-software-pkgs.md (opens in a new tab)knowledge/development/package-name.md (opens in a new tab)knowledge/development/r-code.md (opens in a new tab)knowledge/development/shiny.md (opens in a new tab)knowledge/development/tests.md (opens in a new tab)knowledge/index.md (opens in a new tab)knowledge/maintenance.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/bioc-r-packages:bioc-pkg-devfrom bioc-r-packages
npx claudepluginhub bioconductor/ai-agent-skills --plugin bioc-r-packages13 skills in this plugin
/analyze-r-packageAnalyze R/Bioconductor package structure to extract key information about its purpose, exports, and characteristics/bioc-howtoA consolidated index of Bioconductor how-to skills covering genomics, sequencing, and omics data analysis tasks/bioc-pkg-finderFind the R / Bioconductor packages best suited to a task or workflow/bioc-pkg-reviewReview your own R package against the rubric and checklist Bioconductor's agent-assisted reviewer uses, before you submit, so the human review has less to say/build-check-bioccheckRun and interpret R CMD build, R CMD check, and both BiocCheck entry points against a Bioconductor package, separating real defects from environment gaps and known false positives/create-package-instructionsCreate complete AI instruction documentation for an R/Bioconductor package in .github/instructions/Other plugins' skills for the same job