Skip to content
Development
Command

/migrate-profile

Target profile name to switch to.

From plugin
nyann
641 skills41 commands3 hooks
Install
> /plugin marketplace add thettwe/nyann
> /plugin install nyann@nyann-plugins

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/migrate-profile

Context preview

What this command does when you run it.

Target profile name to switch to.

Command definition

migrate-profile.md
name: nyann:migrate-profile
description: >
  Switch this repository from one nyann profile to another. Computes a
  diff between source and target profiles, shows what will change
  (hooks, branching, extras, conventions), and applies via bootstrap.
arguments:
  - name: from
    description: Source profile name. If omitted, resolves from CLAUDE.md markers or preferences.
    optional: true
  - name: to
    description: Target profile name to switch to.
    optional: false

**Plugin root:** This is a Claude Code plugin, NOT a CLI tool. Do NOT search via `which`, `npm list`, `pip list`, or `brew list`. This file is at `<plugin_root>/commands/`. All scripts: `<plugin_root>/bin/`. Read the matching `skills/*/SKILL.md` for the full flow.

/nyann:migrate-profile

Run the `migrate-profile` skill (see `skills/migrate-profile/SKILL.md`):

1. Resolve source profile (argument → CLAUDE.md markers → preferences). 2. Load target profile by name. 3. Compute diff via `bin/switch-profile.sh --dry-run`. 4. Preview and confirm before applying.

Exit codes:

  • `0` — migration completed (or profiles identical)
  • `1` — error (profile not found, target not a directory)

See also:

  • `/nyann:inspect-profile` — view current profile details
  • `/nyann:doctor` — check repo health after migration
  • `/nyann:bootstrap` — full project setup
Ships withnyann

ငြမ်း is Burmese for scaffolding. Nyann is the Claude Code plugin that picks expert git defaults for your stack — branching, working hooks (Husky / pre-commit.com / lefthook), commits, releases, CI, docs — then keeps the repo on those rails through every PR

Get the whole plugin

Other commands on nyann.