Skip to content
Development
Command

/fleet-retrofit

Limit the run to a CSV of entry names.

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

Command definition

fleet-retrofit.md
name: nyann:fleet-retrofit
description: >
  Bulk remediation across the fleet registry: classify every repo (clean /
  drifted / ungoverned / error), then walk them worst-first fixing drift —
  and, with --bootstrap-missing, bootstrapping un-governed repos — with a
  preview and an explicit confirmation PER REPO. There is no "yes to all";
  each repo writes its own BootRecord and stays individually undoable.
arguments:
  - name: bootstrap-missing
    description: Also plan un-governed repos (no boot record, no resolvable profile) for a full bootstrap; without it they are listed and skipped.
    optional: true
  - name: tag
    description: Limit the run to fleet entries carrying this tag.
    optional: true
  - name: only
    description: Limit the run to a CSV of entry names.
    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 `skills/fleet-retrofit/SKILL.md` for the full flow.

/nyann:fleet-retrofit

Wraps `bin/fleet-retrofit.sh` — a plan/record/finalize bookkeeping engine that NEVER mutates a repo itself. `--plan` classifies the fleet read-only (exit 0 = nothing to do, 4 = work pending); the skill layer then drives the EXISTING single-repo machinery per repo (retrofit's remediation chain, or bootstrap-project's for un-governed repos with `--bootstrap-missing`), each behind its own preview + SHA-bound ActionPlan + confirmation; `--record`/`--finalize` track outcomes into a FleetRunResult.

Safety: per-repo preview-and-confirm is structural (mutation only flows through `preview.sh` → `bootstrap.sh --plan-sha256`), a non-interactive context stops at the plan, failures are isolated per repo, and every mutated repo is reversible via `/nyann:undo-bootstrap` in that repo.

See also:

  • `/nyann:fleet` — the read-only dashboard that usually precedes this.
  • `/nyann:retrofit` — the single-repo remediation this skill applies per repo.
  • `/nyann:undo-bootstrap` — per-repo rollback of a fleet run's changes.
Read more
@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