skills/shotaiuchi/dotclaude/migration-transform

migration-transform

SKILL.md

Code Transformation

Perform automated code transformations for migration.

Migration Checklist

Syntax Transformations

  • Identify deprecated syntax patterns requiring updates
  • Apply language version syntax migrations consistently
  • Verify transformed code preserves original semantics
  • Check for edge cases missed by automated transforms

API & Import Updates

  • Rename changed API calls across the codebase
  • Update import paths to reflect new module structure
  • Replace removed APIs with recommended alternatives
  • Verify no stale imports remain after transformation

Pattern Replacements

  • Convert deprecated patterns to idiomatic new patterns
  • Replace obsolete utility usage with modern equivalents
  • Update error handling to match new conventions
  • Transform configuration formats to new schema

Automated Verification

  • Run transformed code through type checker and linter
  • Verify all codemods are idempotent and safe to re-run
  • Check that no unintended changes were introduced
  • Validate transformation coverage with before/after diffs

Output Format

Report findings with risk ratings:

Risk Description
Critical Transformation alters program behavior, manual fix needed
High Ambiguous transformation, requires human review
Medium Transformation is safe but needs verification
Low Straightforward rename or import update
Weekly Installs
2
First Seen
13 days ago
Installed on
gemini-cli2
opencode2
codebuddy2
github-copilot2
codex2
kimi-cli2