skill-rollback

Preview, checkpoint, and selectively restore files from a git checkpoint.

1|Updated Jun 12, 2026
One-click install
npx skills add https://github.com/mhdxbilal/Ai --skill skill-rollback-mhdxbilal
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-rollback
Source: https://github.com/mhdxbilal/Ai/tree/main/.claude/skills/skill-rollback
Command: npx skills add https://github.com/mhdxbilal/Ai --skill skill-rollback-mhdxbilal

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Roll back to a previous checkpoint to revert changes safely, while preserving lessons learned and key context.

Core Features & Use Cases

  • Preview impact before acting by listing files that would change.
  • Create a safety checkpoint before rollback to preserve a recoverable state.
  • Validate the target checkpoint, perform the rollback without altering commit history, and update state documentation.
  • Use cases include recovering from a faulty release, undoing mistaken changes, and preserving important decisions.

Quick Start

Ask me to rollback to a specific checkpoint tag, for example octo-checkpoint-post-discover-20260203-143022.

Frequently Asked Questions about skill-rollback

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

FAQPage Schema
How do I safely rollback my project to a previous git checkpoint without altering commit history?

You can safely rollback to a git checkpoint by previewing impacted files, creating a safety checkpoint, and applying selective file restoration without altering commit history. Explicit confirmation is enforced before changes are applied.

Can I preview which files will change before performing a git rollback?

Yes, you can preview the rollback impact by listing the specific files that will change before any action is taken. This ensures you know exactly what selective file restoration will occur prior to explicit confirmation.

What happens to my state documentation and lessons learned when I revert changes?

When you revert changes, the process updates state documentation and preserves your LESSONS.md file throughout the rollback. This ensures important decisions and context are maintained even after restoring a previous project state.

How do I list available git checkpoints before recovering from a faulty release?

You can list available git checkpoints to validate the correct target tag before recovering from a faulty release. This ensures you select the proper recovery point before creating a safety checkpoint and restoring files.

Do I need to manually create a backup before undoing mistaken changes with this rollback process?

No, manual backups are not needed because the process automatically records a pre-rollback safety checkpoint. This preserves a recoverable state before applying selective file restoration to undo mistaken changes.