add-step

Insert numbered pipeline steps and renumber subsequent files in p2cs_project.

Updated Dec 16, 2025
One-click install
npx skills add https://github.com/segal-noam/p2cs_project --skill add-step-segal-noam
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-step
Source: https://github.com/segal-noam/p2cs_project/tree/main/.cursor/skills/add-step
Command: npx skills add https://github.com/segal-noam/p2cs_project --skill add-step-segal-noam

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of adding or inserting new steps into the p2cs_project pipeline, ensuring all related files, configurations, and dependencies are correctly updated and renumbered.

Core Features & Use Cases

  • New Step Creation: Generates the necessary directory structure and boilerplate files for a new pipeline step.
  • Mid-Pipeline Insertion: Safely inserts a new step between existing ones, automatically renumbering subsequent steps and updating all references.
  • Project-Specific: Tailored for the p2cs_project architecture, adhering to its conventions for steps, data classes, and exploration notebooks.
  • Use Case: You need to add a new data preprocessing step between step_2_organism_distance and step_3_embed_proteins. This Skill will create the new step's files, shift step_3 and all subsequent steps up by one index, and update pipeline_config.yaml and tests accordingly.

Quick Start

Use the add-step skill to insert a new step named 'feature-engineering' after 'step_3_embed_proteins'.

Frequently Asked Questions about add-step

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I insert a new step into an existing pipeline without breaking step numbering?

To insert a new step mid-pipeline, the add-step Skill creates the new directory structure and automatically renumbers subsequent steps, updating pipeline_config.yaml and test modules to maintain references.

What is pipeline step management for code generation workflows?

Pipeline step management involves creating numbered step directories and boilerplate code while ensuring that configuration files and dependencies are correctly updated when new steps are added or inserted.

Can I add a data preprocessing step between existing steps in p2cs_project?

Yes, you can safely insert a preprocessing step between existing steps in p2cs_project. The Skill shifts subsequent steps up by one index and updates all related references and tests accordingly.

What's the best way to handle refactoring when adding steps to an automated workflow?

The best way to handle workflow refactoring during step addition is to automate the renumbering of subsequent steps and update pipeline_config.yaml alongside test modules to preserve project-specific conventions.

Does adding a step mid-pipeline update configuration files automatically?

Yes, adding a step mid-pipeline automatically updates configuration files. The process handles the complex renumbering of subsequent steps and modifies pipeline_config.yaml and test modules to ensure consistency.