agntcms-rollback

Automate page and global rollbacks to previous versions via the framework endpoint.

Updated May 29, 2026
One-click install
npx skills add https://github.com/AlexHramovich/fr-preview-migration --skill agntcms-rollback
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agntcms-rollback
Source: https://github.com/AlexHramovich/fr-preview-migration/tree/main/.claude/skills/rollback
Command: npx skills add https://github.com/AlexHramovich/fr-preview-migration --skill agntcms-rollback

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill streamlines the process of rolling back pages or globals to a previous version, reducing manual errors and ensuring a quick recovery from unintended changes.

Core Features & Use Cases

  • Version History Retrieval: Fetches version history for pages and globals.
  • Rollback Endpoint: Calls the rollback endpoint to revert to a previous version.
  • Preview URL Generation: Provides a preview URL for page rollbacks.
  • Error Handling: Handles empty history, invalid timestamps, and endpoint errors.

Quick Start

To rollback the 'about' page to its previous version, run: rollback agntcms-rollback --page 'about' --timestamp <ISO timestamp>

Frequently Asked Questions about agntcms-rollback

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

FAQPage Schema
How do I rollback web content to a previous version using an API endpoint?

To rollback web content, you call the framework's rollback endpoint with the target page or global identifier and the specific timestamp. This automates reverting to a previous snapshot and generates a preview URL for verification.

Can I fetch version history for pages and globals before performing a rollback?

Yes, you can fetch version history for pages and globals. The process retrieves the available version snapshots first, allowing you to select the correct timestamp before triggering the actual rollback endpoint.

What happens if the version history is empty or the rollback timestamp is invalid?

Error handling catches empty version history and invalid timestamps during the rollback process. It prevents the API request from failing silently and ensures you receive a clear outcome report if the snapshot is missing.

Does the rollback process provide a preview URL for page changes?

Yes, the rollback process generates a preview URL specifically for page rollbacks. This allows you to verify the previous snapshot visually before finalizing the content recovery.

What do I need to access the rollback endpoint for web content recovery?

You need access to the framework's rollback endpoint and the version history. This access allows you to automate the recovery of pages and globals from unintended changes.

How do I revert a global variable to a previous snapshot automatically?

You can revert a global variable by running the rollback command with the global identifier and the target timestamp. The script calls the endpoint to revert the global state and reports the outcome.