r-conventions
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "r-conventions" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-3a8bf230628b5367c8669a0e4ef3e255b5b2dd8e63a1e3c5e5fbc0ad5bdb01a7. Verify the upstream source and version against https://github.com/Goldziher/ai-rulez before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
r-conventions: R coding standards covering R 4.1+, tidyverse/base style, styler/lintr, roxygen2, testthat, error handling, input validation, interoperability with C/C++/Rust, and CRAN compliance. Load when writing or reviewing R code.
Introduction source: third_party · Goldziher · 0.0.1 Reference
SkillPi interpretation
- Tasks
- R code conventions covering R 4.1+, tidyverse/base style, styler/lintr, roxygen2, testthat, error handling, input validation, C/C++/Rust interop, and CRAN compliance. Load when writing or reviewing R code.
- Testing
- Not tested
Browse files
Frontmatter
name: r-conventions
description: R code conventions covering R 4.1+, tidyverse/base style, styler/lintr, roxygen2, testthat, error handling, input validation, C/C++/Rust interop, and CRAN compliance. Load when writing or reviewing R code.- R 4.1+, a consistent style guide (e.g., tidyverse), a formatter (e.g., styler) and a linter (e.g., lintr).
- Base R pipe
|>over magrittr%>%, prefer base R when tidyverse not needed. - Package dev:
devtools/usethis/roxygen2,testthat(80%+ via a coverage tool, e.g., covr). - Documentation: roxygen2 for inline docs and NAMESPACE management.
@exampleson all exports. - Vignettes with
knitr/rmarkdownfor long-form documentation and tutorials. - Error handling:
tryCatch()/withCallingHandlers(),cli::cli_abort()for user-facing errors. - Input validation:
checkmateorrlang::arg_match()for function parameter validation. - Security: a dependency vulnerability scanner (e.g., oysteR).
- C/C++:
Rcppor.Call(), PROTECT/UNPROTECT all R objects. Rust:extendr/rextendr. - CRAN:
R CMD check --as-cranzero warnings/notes, maintain DESCRIPTION with proper versioning. - Anti-patterns:
eval(parse(text=))with user input, mixing Rcpp and raw C API,T/Finstead ofTRUE/FALSE.
Version history
-
v5.15.0
GitHub ↗
Original release notes
## What's Changed * chore(deps): bump github.com/parquet-go/parquet-go from 0.32.0 to 0.32.1 in /tools/skillbench by @dependabot[bot] in https://github.com/Goldziher/ai-rulez/pull/597 * chore(deps): bump @astrojs/starlight from 0.42.11 to 0.43.1 in /website by @dependabot[bot] in https://github.com/Goldziher/ai-rulez/pull/595 * feat(plugin): configurable Cursor hook root fallback by @Goldziher in https://github.com/Goldziher/ai-rulez/pull/600 * chore: refresh dependencies, harness names and fix AR005 flag-value false positive by @Goldziher in https://github.com/Goldziher/ai-rulez/pull/601 * chore(release): prepare ai-rulez 5.15.0 by @Goldziher in https://github.com/Goldziher/ai-rulez/pull/602 **Full Changelog**: https://github.com/Goldziher/ai-rulez/compare/v5.14.1...v5.15.0
-
v5.14.1
GitHub ↗
Original release notes
## What's Changed * fix(config): honor XDG_CACHE_HOME for the user cache by @Goldziher in https://github.com/Goldziher/ai-rulez/pull/592 **Full Changelog**: https://github.com/Goldziher/ai-rulez/compare/v5.14.0...v5.14.1
-
v5.14.0
GitHub ↗
Original release notes
## What's Changed * chore(deps): bump @astrojs/starlight from 0.42.10 to 0.42.11 in /website by @dependabot[bot] in https://github.com/Goldziher/ai-rulez/pull/576 * fix(harnessnames): refresh copilot and cortex built-ins from their sources by @Goldziher in https://github.com/Goldziher/ai-rulez/pull/583 * fix(config): make the session-start briefing source-aware by @Goldziher in https://github.com/Goldziher/ai-rulez/pull/584 * feat(mcp): expose worktree_setup for agent-created worktrees by @Goldziher in https://github.com/Goldziher/ai-rulez/pull/587 * docs(publish): add a verify-before-install recipe for consumers by @Goldziher in https://github.com/Goldziher/ai-rulez/pull/585 * chore(release): prepare ai-rulez 5.14.0 by @Goldziher in https://github.com/Goldziher/ai-rulez/pull/588 **Full Changelog**: https://github.com/Goldziher/ai-rulez/compare/v5.13.4...v5.14.0
-
v5.13.4
GitHub ↗
Original release notes
## What's Changed * test(bench): measure native and MCP skill discovery by @Goldziher in https://github.com/Goldziher/ai-rulez/pull/575 * fix(npm): stop the Windows CLI tree when the wrapper exits by @Goldziher in https://github.com/Goldziher/ai-rulez/pull/574 * fix(mcp): improve Claude skill discovery for v5.13.4 by @Goldziher in https://github.com/Goldziher/ai-rulez/pull/577 **Full Changelog**: https://github.com/Goldziher/ai-rulez/compare/v5.13.3...v5.13.4
-
v5.13.3
GitHub ↗
Original release notes
## What's Changed * ci: keep generated release artifacts out of Git by @Goldziher in https://github.com/Goldziher/ai-rulez/pull/567 * docs: clarify native and MCP skill discovery by @Goldziher in https://github.com/Goldziher/ai-rulez/pull/568 * fix(npm): preserve stdout and forward termination by @Goldziher in https://github.com/Goldziher/ai-rulez/pull/566 * fix(pathglob): preserve Unicode literals by @Goldziher in https://github.com/Goldziher/ai-rulez/pull/569 * fix(semver): validate release age before duration conversion by @Goldziher in https://github.com/Goldziher/ai-rulez/pull/570 * fix(agents): preserve adjacent AGENTS.md sections by @Goldziher in https://github.com/Goldziher/ai-rulez/pull/571 * bench: add paired skill discovery fixture and protocol by @Goldziher in https://github.com/Goldziher/ai-rulez/pull/572 * chore(release): prepare ai-rulez 5.13.3 by @Goldziher in https://github.com/Goldziher/ai-rulez/pull/573 **Full Changelog**: https://github.com/Goldziher/ai-rulez/compare/v5.13.2...v5.13.3
Only the five most recent versions are shown. View full version history at the source ↗
Current listing version
0.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供 R 语言现代开发全流程规范指导,实用性强
- 覆盖 tidyverse/base 风格、测试、文档、错误处理、CRAN 合规等关键维度
Highlights
- 触发场景明确:编写或审查 R 代码时加载
- 覆盖 R 开发核心需求,边界清晰
Areas to improve
-
缺少步骤划分与端到端示例 Reported severity: Minor
内容以 bullet points 组织,缺乏 Phase/步骤划分和具体执行示例
Recommendation: 建议补充规范落地步骤和端到端示例,提升可操作性
-
文档结构可进一步优化 Reported severity: Minor
作为规范指南,可考虑分章节组织(如风格、测试、文档等)
Recommendation: 建议按主题分章节,提升可读性和结构化程度
Highlights
- frontmatter 完整,内容覆盖全面
Highlights
- 所列工具来源明确,建议合理,符合 R 社区最佳实践
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.