Create R Package
技能 已验证 活跃Scaffold a new R package with complete structure including DESCRIPTION, NAMESPACE, testthat, roxygen2, renv, Git, GitHub Actions CI, and development configuration files (.Rprofile, .Renviron.example, CLAUDE.md). Follows usethis conventions and tidyverse style. Use when starting a new R package from scratch, converting loose R scripts into a structured package, or setting up a package skeleton for collaborative development.
To streamline the creation of new R packages by providing a robust and opinionated starting structure, ensuring best practices from the outset.
功能
- Scaffolds R package structure
- Configures development files (.Rprofile, .Renviron.example)
- Integrates renv for dependency management
- Sets up Git repository and GitHub Actions CI
- Follows usethis conventions and tidyverse style
使用场景
- Starting a new R package from scratch
- Converting loose R scripts into a structured package
- Setting up a package skeleton for collaborative development
非目标
- Writing package functions
- Documenting package functions
- Managing package dependencies beyond initial setup
- Setting up continuous deployment
安装
/plugin install agent-almanac@pjt222-agent-almanac质量评分
已验证类似扩展
Run Puzzle Tests
100Run the jigsawR test suite via WSL R execution. Supports full suite, filtered by pattern, or single file. Interprets pass/fail/skip counts and identifies failing tests. Never uses --vanilla flag (renv needs .Rprofile for activation). Use after modifying any R source code, after adding a new puzzle type or feature, before committing changes to verify nothing is broken, or when debugging a specific test failure.
Scaffold Shiny App
99Scaffold a new Shiny application using golem (production R package), rhino (enterprise), or vanilla (quick prototype) structure. Covers framework selection, project initialization, and first module creation. Use when starting a new interactive web application in R, creating a dashboard or data explorer prototype, setting up a production Shiny app as an R package with golem, or bootstrapping an enterprise Shiny project with rhino.
Openclaw Debugging
100Debug OpenClaw model, provider, tool-surface, code-mode, streaming, and live/Crabbox behavior by choosing the right logs, probes, and proof path before changing code.
Add New Opc Skill
100Checklist and automation guide for adding a new skill to the OPC Skills project. Ensures all required files, metadata, logos, and listings are created before release. Use when adding a new skill, publishing a skill, or preparing a skill for release.
Using Git Worktrees
100在开始需要与当前工作区隔离的功能性工作,或在执行实现计划之前使用 - 通过原生工具或 git worktree 回退确保存在隔离的工作区。
Baseline Ui
100在 Tailwind CSS 项目中验证动画持续时间,强制执行排版比例,检查组件可访问性,并防止布局反模式。适用于构建 UI 组件、审查 CSS 工具类、 styling React 视图或强制执行设计一致性。