Skip to content
Development
Command

/undo-bootstrap

Keep the manifest dir after a successful undo (defaults to removing it).

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

Command definition

undo-bootstrap.md
name: nyann:undo-bootstrap
description: >
  Reverse a bootstrap or retrofit run captured in a BootRecord manifest.
  Restores pre-state files, drops created branches, and reports anything
  it couldn't safely undo. Always previews first; refuses to clobber files
  the user edited after bootstrap (override with --force).
arguments:
  - name: manifest
    description: Path to a specific BootRecord manifest. Default uses the newest under memory/.nyann/bootstraps/.
    optional: true
  - name: scope
    description: CSV of categories to undo (any of docs, hooks, branching, gitignore, editorconfig, github, all). Default all.
    optional: true
  - name: force
    description: Override "modified after bootstrap" refusal — overwrite local edits.
    optional: true
  - name: allow-rebase
    description: Allow undo when HEAD has commits stacked on top of the bootstrap seed.
    optional: true
  - name: allow-non-empty-branches
    description: Allow undo of long-lived branches that have new commits past base_sha.
    optional: true
  - name: dry-run
    description: Preview only — no mutation.
    optional: true
  - name: keep-record
    description: Keep the manifest dir after a successful undo (defaults to removing it).
    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.

/nyann:undo-bootstrap

Wraps `bin/undo-bootstrap.sh`. Flow:

1. Locate the BootRecord (newest under `memory/.nyann/bootstraps/`, or `--manifest <path>` for a specific one). 2. Dry-run preview the reversal: what will be restored, deleted, dropped. 3. Confirm with the user. Walk skipped[] entries and explain each. 4. Execute with `--yes`. Report the result.

See `skills/undo-bootstrap/SKILL.md` for DISAMBIGUATION against `/nyann:undo` (commit-undo, different scope) and the override-flag semantics.

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