If task_data has no "name" or empty, set name = (skill or "Task") + " " + index. Single method.
step index (0-based) used for the default name