add-parsnip-modellisted
Install: claude install-skill tidymodels/skills
# Add Parsnip Model
Create entirely new model specifications for the parsnip package. This skill
covers creating new model types (like `linear_reg()`, `boost_tree()`) with their
constructors, registration, and engine implementations.
**Use this skill when:** Creating a fundamentally new model type for parsnip.
**For adding engines to existing models:** See
[add-parsnip-engine](../add-parsnip-engine/SKILL.md) skill instead.
--------------------------------------------------------------------------------
## Prerequisites
Before creating a new parsnip model, ensure you have:
**R Package Development:**
- [Extension Prerequisites](references/package-extension-prerequisites.md) -
Required for extension packages
- [Development Workflow](references/package-development-workflow.md) - Fast
iteration practices
**Parsnip Architecture:**
- [Model Specification System](references/model-specification-system.md) - Core
parsnip concepts
- [Fit and Predict Methods](references/fit-predict-methods.md) - Implementation
fundamentals
--------------------------------------------------------------------------------
## Creating a New Model
### Assess Model Complexity First
Before diving into implementation, determine the complexity of your model:
**Simple Model:**
- Single mode (regression OR classification, not both)
- 1-2 engines
- Few main arguments (1-3)
- Standard prediction types only
→ Follow streamlined approach: Focus on getting the basics right, avoid
over-engin