reset-project

Restore the .claude/ directory to the dotforge template with backup and rollback.

8|1|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/luiseiman/dotforge --skill reset-project
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: reset-project
Source: https://github.com/luiseiman/dotforge/tree/main/skills/reset-project
Command: npx skills add https://github.com/luiseiman/dotforge --skill reset-project

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Restore the current project's .claude/ directory to the dotforge template from scratch.

Core Features & Use Cases

  • Safe restoration of the .claude/ directory by replaying the standard template and regenerating CLAUDE.md.
  • Automatic backup creation at .claude.backup-YYYY-MM-DD/ before applying changes, with an option to roll back to the previous state.
  • Bootstrap symlink setup and optional recovery steps to keep environments consistent across projects.

Quick Start

Execute the reset-project skill to restore .claude/ from the template, creating a backup and enabling rollback if needed.

Frequently Asked Questions about reset-project

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I restore the .claude directory from a template without losing my current files?

Restoring the .claude directory safely requires creating an automatic backup at .claude.backup-YYYY-MM-DD/ before re-running the bootstrap template. This preserves your previous configuration and allows you to compare the new state with a diff or roll back if needed.

What is the safest way to reset a project environment and regenerate CLAUDE.md?

A safe project environment reset enforces explicit confirmation and detects your stacks before re-running bootstrap. It regenerates CLAUDE.md from the standard template, preserves key files, and offers optional rollback and purge steps via user prompts.

How does a backup and rollback mechanism work when resetting project configurations?

A backup and rollback mechanism works by copying your current .claude/ directory into a timestamped backup folder before applying the reset. After the new template is applied, you receive a diff comparison and can choose to roll back to the backup state.

Can I recover my previous configuration if resetting the .claude directory goes wrong?

You can recover your previous configuration because the reset process creates a timestamped backup before applying changes. If the new template causes issues, you can use the optional rollback step to revert your environment to the backup state.

Does the .claude directory reset process preserve existing symlinks and key files?

The reset process preserves key files and sets up bootstrap symlinks to keep environments consistent across projects. It applies safety checks before re-running the template to ensure critical configuration elements remain intact.

When should I use a full environment reset instead of manually editing configuration files?

You should use a full environment reset when your .claude/ directory is corrupted or diverged from the standard template and manual edits are insufficient. It replays the template from scratch, regenerates CLAUDE.md, and provides a diff to verify changes.