Skip to content
Development
Command

/migrate-profile

Target profile name to switch to.

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

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
@thettwe
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

Stars on GitHub

Momentum

stars in total
7
Star history of thettwe/nyann on GitHub, a chart by star-history.com

Other commands on nyann.

apply

apply

Command

Path to an IacPlan JSON from a prior /nyann:plan run, to apply the exact previewed plan.

@thettwe@thettweInstall Command
bootstrap

bootstrap

Command

Optional profile name to apply. If provided, skip stack detection's recommendation step and load this profile via…

@thettwe@thettweInstall Command
branch

branch

Command

The branch slug (feature/bugfix/hotfix) or version string (release).

@thettwe@thettweInstall Command
check-prereqs

check-prereqs

Command

If passed, emit the probe results as JSON instead of the human table.

@thettwe@thettweInstall Command
cleanup-branches

cleanup-branches

Command

Branch to use as the merge target. Defaults to the profile's primary base branch (auto-resolved through `origin/HEAD`, `main`, or…

@thettwe@thettweInstall Command

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command