add-dials-parameterlisted
Install: claude install-skill tidymodels/skills
# Add Dials Parameter
**Create custom tuning parameters for hyperparameter tuning in Tidymodels**
Guide for creating new dials parameters for hyperparameter tuning. Use when a
developer needs to define custom tuning parameters for models, recipes, or
workflows, including quantitative parameters (continuous/integer), qualitative
parameters (categorical), parameters with transformations, and data-dependent
parameters requiring finalization.
--------------------------------------------------------------------------------
## Two Development Contexts
This skill supports **two distinct development contexts** with different
capabilities and constraints:
### 1. Extension Development (Primary Context)
**Use when:** Creating a new R package that defines custom tuning parameters
- ✅ Build new packages extending Tidymodels with custom parameters
- ✅ Use all exported dials functions with `dials::` prefix
- ❌ Cannot use internal functions (`:::`)
- 📘 **Start here:** [Extension Development
Guide](references/extension-guide.md)
**Package detection:** DESCRIPTION file does NOT have `Package: dials`
### 2. Source Development (Advanced Context)
**Use when:** Contributing parameter definitions directly to tidymodels/dials
repository
- ✅ Contribute parameters to dials package itself
- ✅ Access internal helper functions without `dials::` prefix
- ✅ Use validation helpers (`check_type()`, `check_range()`)
- ✅ Create custom finalize functions with `range_get()`/`range_set()`
-