Pocdd Clear

Wipe the .pocs/ directory after confirmation. Use for "/poc clear". Destructive — always confirm and show what will be removed first.

dailybothq 2ff1080 1.1 KB Updated

File contents

POCDD — Clear

Empty the entire .pocs/ directory. Resolve it with ../shared/context.sh.

Procedure

  1. Show the full inventory first — list every file (including archive/ and any sidecar tokens) that will be removed:
    . "$(dirname "$0")/../shared/context.sh"
    dir="$(pocdd_dir)"; [ -d "$dir" ] && find "$dir" -type f | sort
    
  2. Confirm explicitly — this deletes all POCs at once and cannot be undone. If the developer only wants one gone, route to /poc remove <name> instead.
  3. On confirmation, remove the contents (keep the directory):
    rm -rf "$dir"/* "$dir"/.[!.]* 2>/dev/null || true
    
  4. Report what was cleared. Remind that any in-flight feature work in those POCs is gone — re-bootstrap with /poc <SOURCE>.

.pocs/ is gitignored, so there is no git history to recover from. Treat this as a real deletion.

dailybothq/pocdd-skill/tree/main/skills/pocdd/clear commit 2ff1080099

Frequently asked questions

npx skillmds@latest add dailybothq/pocdd-clear