restory
CommunityRestructure a PR history into a clean narrative.
AuthorChrisSteinbach
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Restructure a PR's commit history into a clean narrative — refactors first, then the feature with tests, unrelated changes isolated.
Core Features & Use Cases
- Phase-driven reconstruction of PR history by reclassifying and sequencing commits to tell a coherent story.
- Handles interleaved refactors, features, and fixes by grouping hunks into unrelated, refactor, and feature commits.
- Enforces safety through a temporary safety branch and a target state tag, with explicit user confirmation before risky operations, and preserves the original history in reflog.
- Outputs a detailed .restory plan for review and reconstruction steps.
Quick Start
Run restory to reconstruct the current branch's history against the base branch (default: main).
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: restory Download link: https://github.com/ChrisSteinbach/claude-skills/archive/main.zip#restory Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.