Skip to content
Product
Command

/cleanup

Clean up all Lisa interview state files

BOOST
From plugin
lisa
1204 skills4 commands1 hook
Install
> /plugin marketplace add blencorp/lisa
> /plugin install lisa@lisa

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/cleanup

Context preview

What this command does when you run it.

Clean up all Lisa interview state files

Command definition

cleanup.md
description: "Clean up all Lisa interview state files"
allowed-tools: ["Bash(rm:*)", "Bash(ls:*)"]
hide-from-slash-command-tool: "true"

Lisa Cleanup Command

Remove all Lisa interview state files to reset the plugin state.

STEP 1: CHECK FOR STATE FILES

First, check what state files exist:

ls -la .claude/lisa-*.md 2>/dev/null || echo "NO_STATE_FILES"

STEP 2: HANDLE RESULTS

If NO state files exist:

Tell the user:

> No Lisa state files found. Nothing to clean up.

Then STOP.

If state files exist:

List the files that will be deleted, then delete them:

rm .claude/lisa-*.md

Also clean up the draft file if it exists:

rm -f .claude/lisa-draft.md

Then confirm to the user:

> Lisa cleanup complete. Deleted all interview state files. > > To start a new interview, use: > ``` > /lisa:plan "your feature name" > ```

IMPORTANT NOTES

  • This command only deletes state files in `.claude/`
  • It does NOT delete any completed specs in `docs/specs/`
  • Completed specifications are permanent and unaffected by cleanup
  • Use this when you want to abandon all in-progress interviews
Ships withlisa

Lisa plans. Ralph does. Interactive specification interview workflow that conducts in-depth feature interviews and generates comprehensive specs. Available as both a Claude Code plugin and a standalone CLI that works with multiple AI providers.

Get the whole plugin
Stats
120
Stars
11
Forks
Quiet
Maintenance
TypeScript
Language
9mo ago
Last commit
9mo ago
Created
11h ago
Added

Repo: blencorp/lisa

Other commands on lisa.