Overview
This skill provides instructions for restoring the pages/ directory from an existing ZIP backup.
What I do
- •Guide the agent to use
npm run restoreto interactively select and apply a backup. - •Remind the agent to offer a pre-restoration backup to prevent accidental data loss.
- •Explain the extraction process and how the
.keepfile is preserved.
When to use me
- •When the user wants to revert to a previous state of their content.
- •When moving content between environments using ZIP files.
Usage
Run the following command in the project root:
bash
npm run restore
- •Select the desired backup from the list.
- •Confirm if a pre-restoration backup should be performed.
- •Confirm the final restoration action (this will overwrite the current
pages/directory).