Smithery Logo
MCPsSkillsDocsPricing
Login
Smithery Logo

Give agents more agency

Resources

DocumentationPrivacy PolicySystem Status

Company

PricingAboutBlog

Connect

© 2026 Smithery. All rights reserved.

    sorryhyun

    import-refactor

    sorryhyun/import-refactor
    Coding
    13

    About

    SKILL.md

    Install

    Install via Skills CLI

    or add to your agent
    • Claude Code
      Claude Code
    • Codex
      Codex
    • OpenClaw
      OpenClaw
    • Cursor
      Cursor
    • Amp
      Amp
    • GitHub Copilot
      GitHub Copilot
    • Gemini CLI
      Gemini CLI
    • Kilo Code
      Kilo Code
    • Junie
      Junie
    • Replit
      Replit
    • Windsurf
      Windsurf
    • Cline
      Cline
    • Continue
      Continue
    • OpenCode
      OpenCode
    • OpenHands
      OpenHands
    • Roo Code
      Roo Code
    • Augment
      Augment
    • Goose
      Goose
    • Trae
      Trae
    • Zencoder
      Zencoder
    • Antigravity
      Antigravity
    ├─
    ├─
    └─

    About

    Update all import statements, module references, string paths, and config references after moving or renaming files and modules. Handles Python, TypeScript, and JavaScript imports...

    SKILL.md

    Import and Reference Updater

    This guide is for updating all module references after moving or renaming files, including import statements, string paths, and configuration references.

    Core workflow:

    1. Map old paths → new paths
    2. Find ALL references (imports, strings, configs, docs)
    3. Update systematically by type
    4. Verify paths exist and imports resolve
    5. Report changes made

    Reference types updated:

    • Import statements (Python/TS/JS)
    • String-based paths
    • Configuration files
    • Documentation examples

    Quick example

    Moving utilities to /utils:
    1. Find old utility imports
    2. Update to /utils imports
    3. Update string references
    4. Update docs
    → Report: 23 files, 45 imports updated
    

    Best practices:

    • Verify paths exist before updating
    • Preserve import style (absolute vs relative)
    • Process in batches for large refactorings
    • Test after major changes
    Recommended Servers
    Context7
    Context7
    Ref
    Ref
    OpenRegistry
    OpenRegistry
    Repository
    sorryhyun/dipeo
    Files