plastic-rollback

Solid

Use when the user wants to see their Plastic version history or roll back to a previously-installed version after a bad release. Manages the local, append-only versions.json ledger and steps between versions the user has actually run. For moving to a brand-new release, use plastic-update instead.

AI & Automation 9 stars 0 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 80/100

Stars 20%
33
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Plastic Rollback: local version time-machine ## When to Use - "show plastic versions", "version history", "what versions have I run" - "roll back plastic", "downgrade", "go back to the version that worked", "revert plastic" - A new version broke something and the user wants their last known-good build For upgrading to a **new** release, use `plastic-update`. This skill only navigates versions you have **already installed**, the ones recorded in the ledger. ## Read-only by default A flagless run only prints the version history table. It never switches, never prompts, and never offers to keep going further back. Switching a version always needs an explicit target, named with `--version`. ## Channel rule `rollback` restores whichever build you name from the ledger, it does not take a channel flag for the target. The pinned `<channel>` below is only the npx invocation itself: derive it from `~/.plastic/VERSION` the same way as the other lifecycle skills, `-alpha` to `@alpha`, `-beta` to `@beta`, otherwise `@latest`. ## The ledger `~/.plastic/versions.json` is an **append-only JSONL** ledger, one line per version change, never modified or deleted: ```json {"version":"1.0.0-alpha.17","action":"install","at":"..."} {"version":"1.0.0-alpha.18","action":"update","at":"..."} ``` `action` is one of `install`, `reinstall`, `update`, `downgrade` (derived from version direction; the channel is derived from the version string, never stored). It is a troubleshooting record. ## P...

Details

Author
zalom
Repository
zalom/plastic
Created
2 months ago
Last Updated
1 weeks ago
Language
Ruby
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category