← ClaudeAtlas

reset-projectlisted

Restore a project's .claude/ directory to the dotforge template from scratch, with backup and rollback option.
luiseiman/dotforge · ★ 7 · AI & Automation · score 73
Install: claude install-skill luiseiman/dotforge
# Reset Project Restore the current project's `.claude/` directory completely to the dotforge template, from scratch. ## Step 1: Confirm with the user (MANDATORY) Show warning before proceeding: ``` ╔══════════════════════════════════════════════════╗ ║ RESET: .claude/ will be fully replaced ║ ║ ║ ║ The following will be lost: ║ ║ - Customizations in settings.json ║ ║ - Custom rules ║ ║ - Custom hooks ║ ║ - Any manually created files in .claude/ ║ ║ ║ ║ The following will be preserved: ║ ║ - settings.local.json (not touched) ║ ║ - CLAUDE.md (regenerated from template) ║ ║ - CLAUDE_ERRORS.md (preserved if it exists) ║ ║ ║ ║ A backup will be created at .claude.backup-YYYY-MM-DD/ ║ ╚══════════════════════════════════════════════════╝ Confirm reset? (yes/no) ``` If the user says "no", cancel immediately. DO NOT proceed without explicit confirmation. ## Step 2: Detect stacks Use detection rules from `$DOTFORGE_DIR/stacks/detect.md`. Confirm detected stacks with the user. ## Step 3: Create backup 1. Create directory `.claude.backup-{YYYY-MM-DD}/` in the project root 2. Copy ALL of `.claude/` to the backup: ```bash cp -R .claude/ .claude.backup-$(date +%Y-%m-%