mbwsims/claude-universe/rewind
Claude Code and agent skill by mbwsims/claude-universe
- community
Checking that the SKILL.md file is still in the repository.
This skill should be used when the user asks "show me the old version", "what did this look like before", "rewind this file", "compare to the old version", "what changed and why", "show me the history of this file", mentions "/rewind", or wants to see a historical version of a file with annotated explanations of what changed.
Install
npx vskill@latest install mbwsims/claude-universe/rewindSKILL.md
Rewind
Show me this code as it was, and explain what changed. Not a raw diff — an annotated evolution that explains WHY each change was made, which changes were intentional design decisions, and which were accumulated patches.
Workflow
1. Parse Arguments
- File is required. If not provided, ask the user which file to rewind.
- Period is optional. Default: 3 months ago. Accepts: "3 months ago", "6 months ago",
"before the auth refactor", a commit hash, a date.
2. Find the Historical Version
With timewarp-mcp (preferred): Call timewarp_history with the file and period to get structured commit data — this tells you total commits, classifications, and authors for the file during the rewind period. Use this to understand the volume and nature of changes before diving into individual commits. If timewarp_trends is available, use it to note whether the file is still on a growth/churn trajectory today.
Rename detection: Before looking up the historical version, check if the file was renamed: git log --follow --diff-filter=R --format="%H %s" -- {file}. If a rename is found, use the old path for historical lookups. Note the rename in the output: "This file was renamed from {old-path} to {new-path} on {date}."
Then find the specific historical commit:
If the file didn't exist at the requested time, find the earliest version:
3. Read Both Versions
Read the historical version and the current version. Note:
- Lines added, removed, modified
- Functions added or removed
- Imports added or removed
- Structural changes (reorganization, new classes, extracted helpers)
4. Annotate the Differences
Annotate the top 8-10 most significant changes between the two versions. If there are more changes, note the remainder count: "...and N additional minor changes not annotated." This limit keeps the report focused on what matters.
For each significant change, find the commit(s) that introduced it and explain WHY:
Classify each change:
- Intentional design decision — planned feature, deliberate refactor, architectural change
- Bug fix — correcting broken behavior (note what was broken)
- Accumulated patch — small fixes layered on without holistic rethinking
- Dependency-driven — changed because a dependency changed
- Unknown — commit message doesn't explain the reasoning
5. Present
Report format:
6. Cache Results
Save results to .timewarp/rewind-{sanitized-file}-{date}.json with:
- Historical version metadata (commit hash, date, line count, function count)
- Current version metadata
- List of annotated changes with classifications
- Stability summary
Path sanitization: Replace / with -- and remove leading dots in the filename. Example: src/services/auth-service.ts becomes src--services--auth-service.ts.
Read existing caches: Before starting, check .timewarp/ for:
drift-*files — if the same file has drift data, note whether changes align with driftforecast-*files — if the file is on a concerning trajectory, mention itdissect-*files — if complexity archaeology exists, reference the structural commits
Guidelines
- Annotate the IMPORTANT changes, not every single diff line. Group related changes
(multiple commits fixing the same bug) into single entries.
- "Unknown" is an honest annotation. If the commit message says "fix" with no context,
don't fabricate an explanation.
- "What Stayed the Same" is as valuable as what changed — it tells the developer what
they can trust as stable.
- If very little changed, say so. "This file is remarkably stable — 3 minor fixes in
6 months" is a useful finding.
Related Skills
- `/dissect` — For deeper analysis of HOW a specific complexity layer was added
- lenskit `/explain` — For understanding the current code in full context
Additional Resources
- `references/rewind-patterns.md` — Change classification rubric, annotation methodology,
"What Stayed the Same" detection guidance
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/rewind/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/mbwsims/claude-universe/rewind)