migration-transform

📁 shotaiuchi/dotclaude 📅 1 day ago
0
总安装量
1
周安装量
安装命令
npx skills add https://github.com/shotaiuchi/dotclaude --skill migration-transform

Agent 安装分布

amp 1
cline 1
opencode 1
cursor 1
continue 1
kimi-cli 1

Skill 文档

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