code-editor-switch

Installation
SKILL.md

code-editor-switch

Purpose

Use this skill to switch Finder/Open defaults for code, text, and config files to a new editor (for example Zed, VS Code, Cursor) using duti.

When to use

  • Migrating from one editor to another on macOS.
  • Standardizing file defaults for local repos and team machines.
  • Fixing mismatched defaults for dotfiles and config files.

Non-negotiable rules

  • Run this only on macOS.
  • Prefer duti over direct LaunchServices plist edits.
  • Apply both generic UTIs and concrete extensions/names.
  • Keep public.data opt-in only (--apply-public-data).
  • Verify with duti -x after applying mappings.
Installs
1
Repository
wottpal/skills
First Seen
Mar 4, 2026
code-editor-switch — wottpal/skills