codewithbehnam/cc-docs/migrate

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Migrate files or a directory from one framework, library, or pattern to another. Preserves behavior while updating syntax, imports, and idioms. Use when the user says "migrate from X to Y", "convert this to use X", "upgrade from React class components to hooks", or "port this to FastAPI".

Install

npx vskill@latest install codewithbehnam/cc-docs/migrate

SKILL.md

Migrate $ARGUMENTS[0] from its current pattern to $ARGUMENTS[1]:

  1. Understand the scope:
  • If $ARGUMENTS[0] is a directory, list all files to migrate: find $ARGUMENTS[0] -type f
  • If $ARGUMENTS[0] is a single file, focus on it
  • If only one argument is given, infer the source from the file content and ask for clarification on the target
  1. Understand the source:
  • Read the files to identify: the framework/pattern currently in use, idioms, conventions, and structure
  • Note any project-specific customizations that need to be preserved
  1. Understand the target ($ARGUMENTS[1]):
  • Identify the equivalent constructs in the target framework/pattern
  • Build a mapping: source concept -> target concept (e.g., componentDidMount -> useEffect, Flask Blueprint -> FastAPI APIRouter)
  1. Run the existing test suite to capture a baseline:
  • Record all passing tests. The migration must not break them.
  • If there are no tests, warn the user before proceeding.
  1. Migrate files one at a time:
  • Update imports and package names
  • Convert syntax and idioms to target equivalents
  • Preserve all logic - do not change behavior during migration
  • Preserve comments that explain intent
  • For each file, run available tests before moving to the next
  1. Update configuration files as needed:
  • package.json, pyproject.toml, go.mod, etc.
  • Framework config files, build configs, CI configs
  1. Final verification:
  • Run the full test suite
  • All baseline tests must still pass
  1. Report:
  • List every file changed
  • Summarize the key transformations applied
  • Note any items that required manual decisions or could not be automatically migrated

Requirements

  • $ARGUMENTS[0]: path to the file(s) or directory to migrate
  • $ARGUMENTS[1]: target framework or pattern (e.g., "React hooks", "FastAPI", "async/await", "Pydantic v2")

Error Handling

  • If the source pattern is not recognized: describe what was found and ask for guidance
  • If a construct has no direct equivalent in the target: flag it, propose the closest alternative, and ask before applying
  • If tests fail after migration: revert the failing file, report the issue, and continue with other files

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
2
Repository forks
1
7-day trend score
5

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/codewithbehnam/cc-docs/migrate/badge)](https://verified-skill.com/skills/codewithbehnam/cc-docs/migrate)

Something wrong with this skill or its page? Tell us.