pstack-upgrade
Skill4 starsChanged 7 months agoMITView on GitHub
Pull the latest pstack, re-run setup, and show a diff of new and changed skills. Keeps the install current without losing user config.
- Deletes or force-pushes
1 other project uses a version of this.
Adopted by
Most recently taken up by
- no-session/pstacktheir own version, first seen Mar 29, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- no-session/pstack★ 96same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository18 other files it gives its agents.
- bhaskar-reviewSkill
- cagan-reviewSkill
- challengeSkill
- critiqueSkill
- design-briefSkill
- julie-reviewSkill
- lenny-reviewSkill
- north-starSkill
- onboardSkill
- opportunitySkill
- prdSkill
- pstack-helpSkill
- pstack-learnSkill
- pstack-statusSkill
- ravi-reviewSkill
- shreyas-reviewSkill
- strategySkill
- visionSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. About 0 are common, 4 are distinctive, and 10 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
Check symlinks in ~/.claude/skills/ to find where pstack is installed.
- Very specific: line 22
If the install directory cannot be found, tell the user and stop: *"Can't locate your pstack install.
- Very specific: line 28
Run git -C {install_dir} status.
- Distinctive: line 32
Wait for confirmation before continuing.
- Very specific: line 38
Read {install_dir}/CHANGELOG.md and note the current version (first version header).
- Very specific: line 40
Run git -C {install_dir} log --oneline -5 to note the last 5 commits.
- Distinctive: line 48
If pull fails (diverged, conflict), tell the user:
- Very specific: line 52
Do not run reset --hard without explicit user approval.
- Very specific: line 73
Update the pstack block in ~/.claude/CLAUDE.md with the new version
- Distinctive: line 75
If setup fails, report the error and suggest manual steps.
- Distinctive: line 105
Never run git reset --hard without explicit user approval
- Very specific: line 106
Never overwrite ~/.config/pstack/user-profile.yaml — user data is never touched by upgrade
- Very specific: line 107
Never overwrite feedback/*-log.yaml files — user feedback is never touched
- Very specific: line 108
If the user's pstack was installed via clone rather than the primary path, adapt the location detection
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/pstack-upgrade
You upgrade the user's pstack installation to the latest version while preserving their user profile, feedback logs, and project artifacts.
Step 1 — Locate the pstack install
Check symlinks in ~/.claude/skills/ to find where pstack is installed. The pstack directory is the one containing setup, CHANGELOG.md, and skills/.
Common locations:
~/.claude/skills/pstack/(if installed as a subdirectory)- Wherever
~/.claude/skills/visionsymlinks to (parent ofskills/vision/)
If the install directory cannot be found, tell the user and stop: "Can't locate your pstack install. Run ls -la ~/.claude/skills/ and tell me where pstack lives."
Step 2 — Check git status
Run git -C {install_dir} status. If there are uncommitted local changes, warn the user:
"Your pstack install has local changes. Upgrading will pull from origin — local changes could conflict. Proceed? (yes/no)"
Wait for confirmation before continuing.
Step 3 — Record current version
Read {install_dir}/CHANGELOG.md and note the current version (first version header).
Run git -C {install_dir} log --oneline -5 to note the last 5 commits.
Step 4 — Pull latest
Run: git -C {install_dir} pull --ff-only origin main
If pull fails (diverged, conflict), tell the user:
"Pull failed — your local branch has diverged from origin. You may need to reset:
git -C {install_dir} reset --hard origin/main(this will lose any local changes). Or contact the pstack maintainer."
Do not run reset --hard without explicit user approval.
Step 5 — Diff new skills and changes
Compare the skills before and after pull:
- New skills: skill directories in
skills/that weren't there before - Updated skills:
SKILL.mdfiles with a newer modification date - New framework files: files in
knowledge/frameworks/added since last pull - New rubrics or calibration files: same
Present the diff clearly.
Step 6 — Re-run setup
Run {install_dir}/setup to:
- Re-symlink any new skills into
~/.claude/skills/ - Update the pstack block in
~/.claude/CLAUDE.mdwith the new version
If setup fails, report the error and suggest manual steps.
Step 7 — Present summary
## pstack upgraded
Previous version: {old version}
New version: {new version}
New skills:
+ /{skill-name} — {one-liner from SKILL.md}
Updated skills:
~ /{skill-name} — {what changed, from CHANGELOG.md}
New knowledge:
+ {framework or rubric file} — {TL;DR}
Your profile and project artifacts are unchanged.
Next: restart your Claude Code session for new skills to appear in autocomplete.Rules
- Never run
git reset --hardwithout explicit user approval - Never overwrite
~/.config/pstack/user-profile.yaml— user data is never touched by upgrade - Never overwrite
feedback/*-log.yamlfiles — user feedback is never touched - If the user's pstack was installed via clone rather than the primary path, adapt the location detection
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

