← ClaudeAtlas

nazgulresetlisted

Reset Nazgul state to a clean slate. Archives current state and recreates from templates. Use when Nazgul gets into a corrupted or confusing state.
OrodruinLabs/nazgul · ★ 4 · AI & Automation · score 73
Install: claude install-skill OrodruinLabs/nazgul
# Nazgul Reset ## Examples - `/nazgul:reset` — Archive current state and reset to clean slate (with confirmation) - `/nazgul:reset --hard` — Reset immediately without confirmation prompt - `/nazgul:reset --preserve-context` — Reset but keep the context/ directory intact ## Arguments $ARGUMENTS ## Current State - Config exists: !`test -f nazgul/config.json && echo "YES" || echo "NO"` - Tasks count: !`ls nazgul/tasks/TASK-*.md 2>/dev/null | wc -l | tr -d ' '` - Checkpoints count: !`ls nazgul/checkpoints/iteration-*.json 2>/dev/null | wc -l | tr -d ' '` ## Instructions **Pre-load:** Run `ToolSearch` with query `select:AskUserQuestion` to load the interactive prompt tool (deferred by default). Do this BEFORE any step that uses `AskUserQuestion`. Reset Nazgul state to a clean slate by archiving existing state and recreating from templates. ### Step 1: Check Initialization If config does not exist (shows "NO"): - Output: "Nothing to reset — Nazgul not initialized. Run `/nazgul:init` to set up." - Stop here. ### Step 2: Parse Arguments Check `$ARGUMENTS` for flags: - `--hard` — Skip confirmation, proceed immediately - `--preserve-context` — Keep the `nazgul/context/` directory intact (architecture map, style conventions, test strategy, etc.) ### Step 3: Confirm with User Unless `--hard` flag is present, show the summary, then use `AskUserQuestion` to confirm: First, display what will be archived: ``` Nazgul Reset ═══════════════════════════════════════ This will archiv