modernize-scientific-stack
Installation
SKILL.md
Modernize Scientific Computing Stack
This skill provides guidance for migrating legacy Python 2 scientific computing code to modern Python 3 with contemporary libraries and best practices.
When to Use This Skill
Apply this skill when:
- Migrating Python 2 scientific scripts to Python 3
- Updating legacy data processing code using outdated patterns
- Modernizing scripts that use deprecated file handling, string encoding, or numerical libraries
- Converting scripts from csv module to pandas for data analysis
- Replacing os.path with pathlib for path manipulation
Approach
Phase 1: Complete Code Discovery
Before making any changes, ensure complete understanding of the existing codebase: