add-team-source
Sync interval in hours. Default 24.
Switch to the hotfix branch after creation. Default is to leave the user on their current branch (the JSON's next_steps tells them how to switch).
> /plugin marketplace add thettwe/nyann > /plugin install nyann@nyann-plugins
How it fires
How this command gets triggered: by you, by Claude, or both.
/hotfixContext preview
What this command does when you run it.
Switch to the hotfix branch after creation. Default is to leave the user on their current branch (the JSON's next_steps tells them how to switch).
name: nyann:hotfix
description: >
Create the branch topology for a patch release against a previously
tagged version. Ensures `release/<major>.<minor>` exists from the
source tag, then creates `hotfix/<slug>` off it. After this, the
user commits the fix and runs `/nyann:release` from the hotfix branch.
arguments:
- name: from
description: Source tag (e.g. `v1.2.0`). Must exist locally — `git fetch --tags origin` first if needed.
optional: false
- name: slug
description: Slug for the hotfix branch name. Must match `^[a-z0-9][a-z0-9-]*$`. Final branch will be `hotfix/<slug>`.
optional: false
- name: release-branch
description: Override the auto-derived release branch. Default is `release/<major>.<minor>` from the source tag.
optional: true
- name: checkout
description: Switch to the hotfix branch after creation. Default is to leave the user on their current branch (the JSON's next_steps tells them how to switch).
optional: true**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.
Wraps `bin/hotfix.sh`. Minimal-state setup: this command creates branches, the user commits the fix, then `/nyann:release` does the tag + push.
stomp of in-progress work).
(multiple patches on the same minor live on the same branch).
hint to `git fetch --tags origin`.
A `HotfixResult` JSON. Most useful field is `next_steps[]` — concrete commands the user runs to take the hotfix from setup to shipped:
1. (Optional) `git checkout hotfix/<slug>` — only when --checkout wasn't passed. 2. Make the fix, commit it. 3. `git checkout release/<m>.<n> && git merge --no-ff hotfix/<slug>` 4. `/nyann:release --version <suggested-patch> --push` (from the release branch — release.sh tags HEAD).
most recent tag on that minor.
prerelease detection handles `-rc` suffixes if you want a pre-release patch.
`/nyann:branch fix <slug>`.
into the release branch first (`git checkout <release> && git merge --no-ff <hotfix>`), then `/nyann:release --version <patch>`.
See also:
release has merged back to main.
ငြမ်း 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
Repo: thettwe/nyann
Sync interval in hours. Default 24.
Path to an IacPlan JSON from a prior /nyann:plan run, to apply the exact previewed plan.
Optional profile name to apply. If provided, skip stack detection's recommendation step and load this profile via bin/load-profile.sh. Fall back to the skill's…
The branch slug (feature/bugfix/hotfix) or version string (release).
If passed, emit the probe results as JSON instead of the human table.
Branch to use as the merge target. Defaults to the profile's primary base branch (auto-resolved through `origin/HEAD`, `main`, or `master`).