migrate-module

Migrate legacy SDR_stochastic modules into the vrp-toolkit three-layer architecture.

Updated Apr 23, 2024
One-click install
npx skills add https://github.com/dudusoar/VRP-Toolkit --skill migrate-module
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: migrate-module
Source: https://github.com/dudusoar/VRP-Toolkit/tree/main/.claude/skills/migrate-module
Command: npx skills add https://github.com/dudusoar/VRP-Toolkit --skill migrate-module

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Migrating legacy SDR_stochastic modules into the vrp-toolkit architecture enables reuse, standardization, and easier maintenance across projects.

Core Features & Use Cases

  • Three-layer migration pattern: Move paper-specific logic into generic Problem/Algorithm/Data layers.
  • Guided workflow: Follow a structured process (identify, plan, refactor, implement, verify) with migration guides and references.
  • Educational tutorials: Transform notebooks into tutorials that illustrate the migration with concrete examples.

Quick Start

Follow the MIGRATION_GUIDE.md and refer to references/migration_map.md to begin migrating a module from SDR_stochastic to vrp-toolkit; start with mapping source to destination, then refactor accordingly.

Frequently Asked Questions about migrate-module

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

FAQPage Schema
How do I migrate legacy research code into a generic three-layer architecture?

To migrate legacy research code into a three-layer architecture, you move paper-specific logic into generic Problem, Algorithm, and Data layers. This refactoring standardizes modules for reuse and easier maintenance across projects.

What is the workflow for refactoring SDR_stochastic modules into the vrp-toolkit?

The refactoring workflow for SDR_stochastic modules follows a structured process: identify, plan, refactor, implement, and verify. You start by mapping source files to destination layers using a migration map, then apply the refactoring guidelines.

Can I convert research notebooks into educational tutorials during a module migration?

Yes, you can convert research notebooks into educational tutorials during module migration. The process transforms existing notebooks into tutorials that illustrate the three-layer migration pattern with concrete examples.

Do I need a migration guide to map files from SDR_stochastic to vrp-toolkit?

Yes, you need the migration guide and a migration map file to map source to destination correctly. These references specify the structured migration workflow, file mappings, and documentation requirements needed for standardization.

What's the best way to standardize paper-specific stochastic code for reuse?

The best way to standardize paper-specific stochastic code is applying a three-layer migration pattern. Moving logic into generic Problem, Algorithm, and Data layers separates research specifics from reusable architecture.

Are there limitations when refactoring modules without following a structured migration map?

Migrating modules without following a structured migration map risks breaking the standardization and reuse goals. Skipping the specified file mappings and refactoring guidelines leads to poorly integrated three-layer architecture and maintenance issues.