Developer Skills
Extension Development
These skills help you create new Tidymodels packages and contribute to the ecosystem. Each skill provides step-by-step guidance for building specific package components.
Installation
To use developer skills, first add the Tidymodels skills marketplace, then install the developer skills collection:
/plugin marketplace add tidymodels/skills
/plugin install tidymodels-developers@tidymodels-skills
See the Getting Started Guide for Claude Code installation and detailed setup instructions.
Available Skills
Build new performance metrics for evaluating model predictions with the yardstick package.
What you’ll learn:
- Implementing metric functions with yardstick conventions
- Creating class-specific and general implementations
- Writing comprehensive tests
- Documentation best practices
Develop custom preprocessing steps for feature engineering with the recipes package.
What you’ll learn:
- Building step functions with recipes infrastructure
- Implementing prep and bake methods
- Handling tidy selection and roles
- Testing preprocessing transformations
Define custom hyperparameter objects for model tuning with the dials package.
What you’ll learn:
- Creating quantitative and qualitative parameters
- Implementing data-dependent ranges and finalization
- Using transformations for better grid coverage
- Integration with tune workflows
Prerequisites
Before using developer skills, ensure you have:
- R 4.1.0 or higher
- Development tools (Rtools, Xcode CLI, or r-base-dev)
- Required packages:
devtools,usethis,testthat,roxygen2
See the Getting Started Guide for detailed setup instructions.
Workflow
- Choose a skill based on what you want to build
- Start Claude Code with the skill file
- Describe your goal - be specific about the functionality
- Iterate with Claude Code to refine the implementation
- Review and test the generated code
- Document your new package component