Prepare Useful Features from Existing Data

The feature-engineering skill designs features that match your analytical objective and data grain — for prediction, segmentation, forecasting, or descriptive analysis — without introducing leakage or invented definitions.

Who it is for

Analysts and data scientists deriving fields for models, segments, or richer reporting.

Problems it helps address

  • Choosing date parts, durations, ratios, and grouped aggregates.
  • Categorical encoding and numeric scaling, including unseen-category handling.
  • Target leakage from post-outcome information.
  • Validation splits that ignore time order or recurring entities.

Inputs and outputs

You provide: The task and target, prediction or measurement time, row grain, available fields, and implementation tool.

You get: Proposed features with business meaning, formula, input columns, output type, and aggregation level, plus reproducible code or an implementation plan and validation checks.

Example

Prompt: “Suggest features to predict customer churn next month from our transactions table.”

What the skill does: Recency, frequency, and spend features computed only from data available before the prediction date, with a time-based split and transformations fitted on training data only.

How to install

Add this skill on its own:

npx skills add SSameer20/data-analyst-toolkit --skill feature-engineering

Or install all six skills as a plugin — see the getting-started steps.

Limitations

  • Feature engineering does not automatically improve model performance; validate each feature.
  • Code is executed only when the host environment provides an execution tool.

Related skills

Source

Read the full skill instructions, open an issue, or contribute improvements.

View the Feature Engineering skill on GitHub