tidy-r

Modernize R code using current tidyverse patterns and migration guidance.

20|2|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/statzhero/tidy-r-skill --skill tidy-r
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tidy-r
Source: https://github.com/statzhero/tidy-r-skill/tree/main
Command: npx skills add https://github.com/statzhero/tidy-r-skill --skill tidy-r

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Contemporary R code often suffers from legacy patterns and inconsistent styles that hinder readability and maintainability. This skill provides a structured reference to current tidyverse practices, enabling faster migration, cleaner code, and fewer back-and-forths during reviews.

Core Features & Use Cases

  • Encodes modern tidyverse patterns for writing, reviewing, and migrating R code.
  • Guides migration from base R and older tidyverse APIs to current APIs like native pipes, .by grouping, and join_by.
  • Use cases include rewriting legacy scripts, code reviews, onboarding, and standardized project templates.

Quick Start

Rewrite a given R snippet using native pipes, .by grouping, and current tidyverse practices.

Frequently Asked Questions about tidy-r

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate base R code to modern tidyverse patterns?

Rewrite legacy R scripts by replacing outdated base R and older tidyverse APIs with native pipes, .by grouping, and join_by. This provides structured migration guidance to ensure cleaner, more maintainable code.

What is the best way to standardize R code for a tidyverse style guide?

Apply current tidyverse patterns for pipes, grouping, and joins to enforce consistent styles across project templates. This reduces review friction and ensures readable, maintainable R code.

How do I use .by grouping instead of group_by in R data analysis?

Apply modern tidyverse patterns to use .by grouping directly within data manipulation verbs. This skill guides migration from older group_by APIs to current .by syntax for streamlined workflows.

Can I review legacy R scripts for tidyverse compliance and modern syntax?

Check legacy R scripts for tidyverse compliance by identifying outdated patterns and replacing them with native pipes, .by grouping, and join_by. This skill supports code review tasks by encoding current practices.

Does modern tidyverse migration support join_by for R joins?

Modern tidyverse migration supports join_by for R joins by guiding transitions from older join APIs. This ensures consistent application of current patterns across data analysis workflows.

Why should I update older tidyverse APIs to current patterns in R?

Update older tidyverse APIs to current patterns in R to resolve legacy inconsistencies that hinder readability and maintainability. This enables faster migration, cleaner code, and fewer review iterations.