Back to list
hgeldenhuys

migration-guides

by hgeldenhuys

1🍴 0📅 Jan 24, 2026

SKILL.md


name: migration-guides description: Migration guides - from other AI tools, version upgrades, config migration. Use when switching from Cursor, Copilot, or Cody, upgrading Claude Code versions, or migrating configurations and customizations. version: 1.0.0 author: Claude Code SDK tags: [migration, upgrade, transition, compatibility]

Migration Guides

Comprehensive guides for migrating to Claude Code from other AI coding assistants, upgrading between versions, and migrating configurations.

Quick Reference

Migration TypeGuideCommon Scenarios
From other toolsFROM-OTHER-TOOLS.mdCursor, Copilot, Cody, Aider
Version upgradesVERSION-UPGRADES.mdBreaking changes, new features
ConfigurationCONFIG-MIGRATION.mdSettings, rules, permissions

Migration Decision Tree

What are you migrating?
|
+-- From another AI tool?
|   +-- GitHub Copilot --> See "From Copilot" section
|   +-- Cursor --> See "From Cursor" section
|   +-- Sourcegraph Cody --> See "From Cody" section
|   +-- Aider --> See "From Aider" section
|
+-- Upgrading Claude Code version?
|   +-- Minor version (1.x to 1.y) --> Usually safe, check changelog
|   +-- Major version (1.x to 2.x) --> Review breaking changes
|
+-- Migrating configuration?
    +-- Personal settings --> ~/.claude/settings.json
    +-- Project settings --> .claude/settings.json
    +-- Team settings --> .claude/settings.json + git

Tool Comparison Overview

FeatureClaude CodeCopilotCursorCody
InterfaceCLI + IDEIDE pluginFull IDEIDE plugin
ContextProject-wideFile-basedProject-wideCodebase
AgenticYesChat onlyYesLimited
MCP SupportYesNoNoNo
HooksYesNoNoNo
SkillsYesNoNoNo
Custom CommandsYesLimitedYesLimited
Multi-file EditNativeManualNativeManual
Git IntegrationDeepBasicGoodBasic

Core Concepts Mapping

From Copilot

Copilot ConceptClaude Code Equivalent
Copilot Chatclaude command
Inline suggestionsNot applicable (agentic model)
/workspaceAutomatic (project context)
/explain"explain this code" prompt
/fix"fix this" prompt
/tests"write tests for this" prompt

From Cursor

Cursor ConceptClaude Code Equivalent
Composerclaude agentic mode
Cursor TabNot applicable
.cursorrulesCLAUDE.md
@codebaseAutomatic (Glob + Grep)
@docsWebFetch or MCP servers
Inline editEdit tool

From Cody

Cody ConceptClaude Code Equivalent
Cody Chatclaude command
AutocompleteNot applicable
CommandsSlash commands
Context selectionAutomatic context
EmbeddingsGlob + Grep search

Migration Workflow

Phase 1: Assessment

  • Document current tool usage patterns
  • List custom configurations and rules
  • Identify key workflows to preserve
  • Note team conventions and standards

Phase 2: Setup

  • Install Claude Code: npm install -g @anthropic-ai/claude-code
  • Run initial setup: claude
  • Configure authentication
  • Set permission mode for your workflow

Phase 3: Configuration

  • Create CLAUDE.md with project context
  • Migrate rules to .claude/settings.json
  • Set up hooks for automation
  • Configure MCP servers if needed

Phase 4: Validation

  • Test key workflows
  • Verify file operations work
  • Check git integration
  • Validate custom commands

Phase 5: Team Rollout

  • Document team conventions
  • Share configuration files
  • Create onboarding guide
  • Establish support channel

Configuration File Mapping

Source ToolSource FileClaude Code Target
Cursor.cursorrulesCLAUDE.md
Cursor.cursor/settings.json.claude/settings.json
Copilot.github/copilot-instructions.mdCLAUDE.md
Cody.sourcegraph/cody.json.claude/settings.json
ESLint/PrettierConfig filesHooks (PostToolUse)

Key Differences to Understand

Agentic vs Autocomplete

Claude Code operates in an agentic mode:

  • You describe what you want
  • Claude plans and executes multiple steps
  • Tools are used automatically (file read/write, search, bash)
  • You approve or guide as needed

This differs from autocomplete-style tools where you:

  • Type code and get suggestions
  • Accept/reject line by line
  • Manually trigger chat for larger tasks

Context Window vs Embeddings

Claude Code uses a context window approach:

  • Relevant files are loaded into context
  • Glob and Grep search for specific content
  • CLAUDE.md provides persistent project knowledge
  • Compaction summarizes when context fills

Other tools may use embeddings:

  • Entire codebase embedded in vector store
  • Semantic search for relevant snippets
  • May miss recent changes until re-indexed

Permission Model

Claude Code has explicit permissions:

  • File reads may need approval
  • File writes need approval (unless configured)
  • Bash commands need approval
  • Permission modes control automation level
ModeDescription
defaultAsk for each sensitive operation
planRead-only, suggest but don't execute
acceptEditsAuto-accept file edits
dontAskTrust all project operations
bypassPermissionsSkip all prompts (dangerous)

Common Migration Challenges

ChallengeSolution
No autocompleteUse agentic workflow: describe, let Claude implement
Different context modelUse CLAUDE.md for persistent context
Team configurationCommit .claude/settings.json to repo
IDE integrationUse Claude Code with your existing editor
Custom rulesMigrate to CLAUDE.md and hooks

Workflow Translation Examples

Code Review

Copilot/Cursor:

Select code -> Right-click -> "Explain" or "Review"

Claude Code:

claude "review the changes in this PR for bugs and improvements"

Bug Fixing

Copilot/Cursor:

Select error -> "Fix this"

Claude Code:

claude "fix the TypeError in src/api/handler.ts"

Test Generation

Copilot/Cursor:

Select function -> "Generate tests"

Claude Code:

claude "write unit tests for the UserService class"

Code Explanation

Copilot/Cursor:

Select code -> "Explain this"

Claude Code:

claude "explain how the authentication flow works in src/auth/"

Best Practices

1. Start with CLAUDE.md

Create a comprehensive CLAUDE.md at project root:

# Project Name

## Tech Stack
- Framework: Next.js 14
- Database: PostgreSQL with Drizzle
- Testing: Vitest

## Conventions
- Use TypeScript strict mode
- Prefer functional components
- Follow existing patterns in codebase

## Key Files
- `src/lib/db.ts` - Database connection
- `src/middleware.ts` - Auth middleware

2. Use Hooks for Automation

Replace IDE-specific automation with hooks:

{
  "hooks": {
    "PostToolUse": [
      {
        "matcher": "Write|Edit",
        "hooks": [
          {
            "type": "command",
            "command": "bun run format"
          }
        ]
      }
    ]
  }
}

3. Configure Permissions Appropriately

Start conservative, loosen as needed:

# Start with default (asks for everything)
claude

# Move to auto-accept edits when comfortable
claude --dangerously-skip-permissions

4. Create Custom Slash Commands

Replace tool-specific commands with slash commands:

<!-- .claude/commands/review.md -->
---
description: Review code changes for issues
---
Review the following code for:
- Potential bugs
- Performance issues
- Security concerns
- Code style violations

5. Leverage MCP for External Data

Replace tool-specific integrations with MCP servers:

{
  "mcpServers": {
    "docs": {
      "command": "npx",
      "args": ["-y", "@anthropic-ai/mcp-docs-server"]
    }
  }
}

Validation Checklist

After migration, verify:

  • Can create new files
  • Can edit existing files
  • Can run bash commands
  • Can search codebase (Glob, Grep)
  • Git operations work
  • Custom commands are available
  • Hooks execute correctly
  • CLAUDE.md context is loaded
  • Team members can use shared config

Reference Files

FileContents
FROM-OTHER-TOOLS.mdDetailed tool-specific migration guides
VERSION-UPGRADES.mdVersion upgrade patterns and breaking changes
CONFIG-MIGRATION.mdConfiguration file migration details

Score

Total Score

50/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon