Home / Skills / BuilderIO/agent-native

plan-version-history

>-

skillLicense: MIT Source: BuilderIO/agent-native

Install

Copy this folder into your Claude Code project (needs Node.js):

npx degit BuilderIO/agent-native/templates/plan/.agents/skills/plan-version-history .claude/skills/plan-version-history

Or install it for every project:

npx degit BuilderIO/agent-native/templates/plan/.agents/skills/plan-version-history ~/.claude/skills/plan-version-history

File content

Made by its original authors and shared under MIT. We show it unchanged, with credit and a link to the source. Source ↗

---
name: plan-version-history
description: >-
  DB-backed plan snapshots: when they are taken, how to list and inspect them,
  and what `restore-plan-version` preserves. Use when the user asks about plan
  history, undo, rollback, or restoring an earlier version of a plan.
---

# Plan Version History

- Plans keep DB-backed snapshots before meaningful authoring changes. Pure
  comments, feedback replies, and comment status changes do not create history
  snapshots.
- Use `list-plan-versions` to see saved snapshots for a plan, and
  `get-plan-version` to inspect one full snapshot before recommending a
  rollback.
- Use `restore-plan-version` only when the user asks to restore or roll back.
  The current plan is snapshotted first with `Before restore`, so restore is
  reversible. Restore preserves sharing, ownership, hosted publish metadata,
  comments, and activity history; it restores the plan's authoring content and
  legacy sections.

## Related Skills

- **plan-hosted-writes** — the write protocol that triggers snapshots.