rollback
Restore a site to an earlier snapshot after confirming the target with the user. Use when something published is wrong and the user asks to revert, undo or roll back.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-15
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- rollback
- license
- Apache-2.0
- metadata
- { "cloudhal.scopes": "site:read,site:rollback", "cloudhal.approval": "rollback", "cloudhal.schemaVersion": "1", "cloudhal.requiresCapabilities": "content" }
- description
- Restore a site to an earlier snapshot after confirming the target with the user. Use when something published is wrong and the user asks to revert, undo or roll back.
- compatibility
- Requires the Cloudhal MCP server (list_snapshots, diff_snapshots, rollback). Rollback stops at a human approval gate.
02 资源文件 1
- 参考文档evals/revert-last.json150 B
03 SKILL.md 正文
Rollback
Steps
list_snapshotsand identify the currently live snapshot and the candidate target (an ancestor of the live one). Show the user label, actor, time and summary of both.diff_snapshotslive → target and summarise what will change.- Call
rollbackwith the target id. Oninput_required, relay the question verbatim and pass the user's decision back. - Report the new live snapshot id and remind that the rollback itself is recorded as a snapshot.
Rules
- Never choose the target yourself when more than one plausible candidate exists; ask.
- Rolling back does not delete content; later snapshots remain available.
04 同仓库更多 Skills
stale-review
Review a few published articles that have not been updated for a long time, make small safe fixes in drafts, and leave them as one proposed release for a person to schedule - never publishing anything. Built for a weekly scheduled agent task (begin_run, then end_run) that does not read visitor text. Use for a periodic content review or when asked which old articles need attention.
site-design
Design or redesign Cloudhal pages that look modern and follow the site's own design rules (DESIGN.md). Use when asked to build, design, restyle or improve a page, a landing page or a home page, or to write the site's design rules.
site-bootstrap
Set up a new Cloudhal site's first pages and navigation from a short brief. Use when a site is empty or the user asks to "set up", "scaffold" or "bootstrap" a site.
safe-edit
Make a reviewable change to an existing page or article - snapshot first, edit, preview, report the diff. Use for any edit request on existing content, including re-filing an article under other categories or tags.
publish-article
Check a draft article, file it under the site's categories and tags, produce a preview and submit it for publication now or at a set time, optionally under an embargo or with an expiry. Use when the user asks to publish, release, schedule or go live with an article.
comment-triage
Sort a site's reader-comment queue - label pending and reported comments, mark obvious spam and hide clear abuse - without ever approving or replying. Built for a scheduled agent task (begin_run, then end_run) that reads visitor text and so may only read, label and hide. Use for nightly or hourly comment triage, or when asked to go through the comment queue.