ratchet-update

Updates Ratchet framework files to a newer upstream version on a review branch.

2|Updated Jun 13, 2026
One-click install
npx skills add https://github.com/praveenvijayan/Ratchet --skill ratchet-update-praveenvijayan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ratchet-update
Source: https://github.com/praveenvijayan/Ratchet/tree/main/plugin/skills/ratchet-update
Command: npx skills add https://github.com/praveenvijayan/Ratchet --skill ratchet-update-praveenvijayan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Keeping a repo's Ratchet framework files current with upstream releases is risky: a naive copy can clobber locally modified files or overwrite project-owned content like GATES.md, memory/, and plan issues. This Skill performs a manifest-aware, profile-scoped update on a dedicated review branch and stops for human review before anything is committed. ## Core Features & Use Cases - Manifest-aware selection: Reads ratchet-manifest.json at the target ref and pulls only framework-class files matching the profiles recorded in .ratchet-install.json. - Local-modification protection: Compares on-disk content against recorded hashes and skips diverged files by default, with an opt-in --force flag. - Review-first workflow: Creates a ratchet-update/<date> branch, shows git diff --stat, and hands the user commit/push/PR commands without ever committing or merging. - Use Case: A maintainer wants to move their project from Ratchet v5.2 to v5.3 without losing custom tweaks to framework files; the updater refreshes only untouched files and lists the locally modified ones it refused to overwrite. ## Quick Start Ask the agent to update the Ratchet framework in this repo to the latest upstream version on a review branch.

Frequently Asked Questions about ratchet-update

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

FAQPage Schema
How do I update the Ratchet framework in my repo?

Run the ratchet-update skill, optionally passing a version tag like v1.2.0 (default is upstream main). It creates a ratchet-update/<date> branch, runs scripts/ratchet-update.sh, shows a diff summary, and stops so you can review, commit, and open a PR.

How do I update Ratchet without overwriting my local changes?

The updater compares each framework file's content against the hash recorded in .ratchet-install.json. Files you modified locally are skipped by default and listed as refused; pass --force to scripts/ratchet-update.sh only if you want them replaced.

Does the Ratchet updater touch GATES.md, memory, or plan files?

No. The updater only pulls framework-class files from the manifest for your installed profiles. Generated-class paths like GATES.md, memory/, and .env.example, plus anything not in the manifest such as plan/*.md issues and your own code, are never touched.

Why does the Ratchet update fail with a missing .ratchet-install.json error?

The updater needs .ratchet-install.json to know which profiles are installed and which file hashes to compare. If it is missing (pre-manifest install or manual copy), the updater refuses; reinstall with scripts/bootstrap.sh instead of updating.

Can I run the Ratchet updater with uncommitted changes?

No. Preflight checks git status --porcelain and stops if the working tree is dirty, because the update overwrites framework files and uncommitted changes to them would be lost. Commit or stash first, then rerun.