konglong87/superPM / skills/super-pm-upgrade
super-pm-upgrade
VerifiedUse when: 用户要求检查 super-pm 更新、升级完整 Git 安装或回退 Do NOT use when: 正在执行普通 PM 任务、仅需安装健康检查或用户没有要求升级
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 2.8 KB |
| scripts/package-root.sh | script | 638 B |
scripts/package-root.sh
View on GitHub#!/usr/bin/env bash
# Only report the Git clone containing this installed skill, never the caller's CWD.
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd -P)"
PACK_ROOT="$(cd "$SCRIPT_DIR/../../.." && pwd -P)"
if [[ ! -f "$PACK_ROOT/VERSION" || ! -f "$PACK_ROOT/skills/INDEX.md" ]]; then
echo "super-pm-upgrade: not a full Git clone; use your skill manager to update copied skills" >&2
exit 2
fi
if [[ "$(git -C "$PACK_ROOT" rev-parse --show-toplevel 2>/dev/null)" != "$PACK_ROOT" ]]; then
echo "super-pm-upgrade: installed package is not its own Git repository" >&2
exit 2
fi
printf '%s\n' "$PACK_ROOT"
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirements | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |