LogoClawIndex
CasesSkillsAbout
LogoClawIndex

migrate-module - Automatically migrate Python modules and update imports

Moves Python modules or symbols to new locations and rewrites import statements across the codebase.

Tags

Updated: 2026-02-14
refactoringpythonmigrationcode-maintenanceautomation

Capabilities

identify move targetanalyze dependenciesgenerate refactoring planpreview migration changes

Typical Inputs

Python module fileSymbol nameNew location path

Typical Outputs

Moved module fileUpdated import statementsCreated __init__.py files

What this skill does

  • identify move target
  • analyze dependencies
  • generate refactoring plan
  • preview migration changes
  • execute move operation
  • rewrite import statements
  • create __init__.py files
  • generate backward-compatibility adapters

Inputs

  • Python module file
  • Symbol name
  • New location path
  • Codebase repository

Outputs

  • Moved module file
  • Updated import statements
  • Created __init__.py files
  • Backward-compatibility adapter file
  • Migration plan report

Requirements

  • Python codebase
  • File system access
  • Refactoring permissions

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.