By choxos
Create, test, document, and release production-quality R packages with pkgdown websites and CI/CD pipelines
Uses power tools
Uses Bash, Write, or Edit tools
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
R Package Development Agent -- 7 specialized agents, 6 workflow commands, and 12 methodology skills for building production-quality R packages
A Claude Code plugin that guides you through the entire R package lifecycle -- from usethis::create_package() to devtools::submit_cran(). Built on best practices from R Packages (2e) by Hadley Wickham & Jenny Bryan.
/plugin marketplace add choxos/RPkgAgent
/plugin install r-package-development
/create-package
The agent will ask for your package name, purpose, author info, license, and dependencies, then scaffold the entire structure.
/add-function
/run-check
/setup-website
/prepare-release
| Stage | What the Agent Handles |
|---|---|
| Scaffold | DESCRIPTION, NAMESPACE, LICENSE, .Rbuildignore, .gitignore, test infrastructure |
| Code | R/ functions with roxygen2 docs, pkg::fun() imports, state management, ASCII-only source |
| Test | testthat 3e suites with fixtures, edge cases, error conditions, snapshots, skip patterns |
| Document | README with badges, vignettes (html_vignette), pkgdown site (Bootstrap 5), hex logo, NEWS.md, CITATION |
| Check | Systematic diagnosis and fix of all R CMD check errors, warnings, and notes toward 0/0/0 |
| Release | Version bumping, cran-comments.md, multi-platform checks (win-builder, R-hub, GHA), CRAN/Bioconductor submission |
| Command | Description | Agents Involved |
|---|---|---|
/create-package | Full package creation workflow: gather requirements, scaffold structure, add code, tests, docs, and run check | package-architect, scaffold-engineer, code-engineer, test-engineer, docs-engineer, check-doctor |
/add-function | Add a new exported or internal function with roxygen2 documentation, testthat tests, and working examples | code-engineer, test-engineer |
/add-data | Bundle a dataset: create data-raw/ preparation script, generate .rda file, write R/data.R documentation | code-engineer, docs-engineer |
/setup-website | Configure pkgdown with _pkgdown.yml (Bootstrap 5, light/dark toggle, organized reference), hex logo, and GitHub Actions deployment workflow | docs-engineer |
/run-check | Run devtools::check(), categorize issues (errors > warnings > notes), apply targeted fixes, re-check until 0/0/0 | check-doctor |
/prepare-release | Pre-submission checklist, version bump, NEWS.md update, cran-comments.md, multi-platform validation, submission guidance | release-manager |
Entry point for all tasks. Gathers requirements through structured questions (package name, purpose, author info, license, dependencies, target repository) and delegates to the right specialist. Coordinates multi-step workflows across agents.
Creates the complete package structure from scratch:
DESCRIPTION with proper Authors@R (person()), Title Case title, formatted DescriptionLICENSE + LICENSE.md (MIT, GPL-3, Apache-2.0, CC0)R/pkgname-package.R with "_PACKAGE" documentation and globalVariables().Rbuildignore, .gitignore with standard patternstests/testthat.R + tests/testthat/helper-data.RWrites R functions following strict package rules:
library(), require(), source(), :::, T/F, non-ASCII, setwd()pkg::fun() for Imports, requireNamespace() for Suggests@param for every argument, @returns, @export, @exampleswithr::local_*() or on.exit()utils::globalVariables() for data.table/ggplot2 NSECreates testthat 3rd edition test suites:
test-*.R files mirroring R/ structureexpect_equal(), expect_error(), expect_snapshot(), expect_s3_class()skip_if_not_installed(), skip_on_cran() for conditional testshelper-data.RProduces all package documentation:
npx claudepluginhub choxos/rpkgagent --plugin r-package-developmentComprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.
Develop, test, build, and deploy Godot 4.x games with Claude Code. Includes GdUnit4 testing, web/desktop exports, CI/CD pipelines, and deployment to Vercel/GitHub Pages/itch.io.
Tools to maintain and improve CLAUDE.md files - audit quality, capture session learnings, and keep project memory current.
Comprehensive PR review agents specializing in comments, tests, error handling, type design, code quality, and code simplification
Harness-native ECC operator layer - 67 agents, 271 skills, 92 legacy command shims, reusable hooks, rules, selective install profiles, and production-ready workflows for Claude Code, Codex, OpenCode, Cursor, and related agent harnesses
Access thousands of AI prompts and skills directly in your AI coding assistant. Search prompts, discover skills, save your own, and improve prompts with AI.