원클릭으로
superpowers-sync-upstream
Sync this port with upstream obra/superpowers or Reasonix main-v2: detect drift, re-port, bench-gate
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Sync this port with upstream obra/superpowers or Reasonix main-v2: detect drift, re-port, bench-gate
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Got a spec or requirements for a multi-step task? Load first, before touching code.
Building a feature or starting from an idea? STOP. Load first for an approved design before code.
Executing a written plan step-by-step in this session, with checkpoints? Load this first.
Branch finished, tests green? Load first to merge, PR, or clean up.
Got review feedback? Load BEFORE changing anything — verify each point, push back if wrong.
Any bug, failing or flaky test, or surprise behavior? Load BEFORE you investigate or guess.
| name | superpowers-sync-upstream |
| description | Sync this port with upstream obra/superpowers or Reasonix main-v2: detect drift, re-port, bench-gate |
Re-aligns this port with its two upstreams and re-pins UPSTREAM.json. Run when asked to sync or update from upstream, or after the upstream-drift CI issue fires.
Read UPSTREAM.json for the pinned commits and watched paths, then see what moved:
node .github/scripts/check-upstream-drift.mjs prints which upstreams drifted (read-only).
For full diffs, shallow-fetch and compare from the pins:
git clone --filter=blob:none --no-checkout <obra.repo> /tmp/obra && git -C /tmp/obra diff <obra.lastSyncedCommit>..HEAD -- skills/
git clone --filter=blob:none --no-checkout <reasonix.repo> /tmp/rx && git -C /tmp/rx diff <reasonix.lastVerifiedCommit>..origin/main-v2 -- internal/tool internal/hook internal/skill internal/frontmatter internal/command
Network blocked? web_fetch the GitHub compare page: <repo>/compare/<pinned>...<branch>. This step is read-only; dispatch it to a task subagent and keep only the drift report to save context.
For each changed obra skill, decide edited, new, or removed.
task, review, wait, explore). Otherwise add it to UPSTREAM.json retired with a one-line reason.Load superpowers-writing-skills. For each edited or to-be-ported skill, apply the Adaptations rules: snake_case tool names (read_file, edit_file, bash), description rewritten as a forceful imperative within the 130-char index budget, references/* auto-fold, native-tool substitution, path renames (docs/reasonix/...). Preserve the disciplines verbatim: Iron Laws, red-flag tables, RED-GREEN-REFACTOR. Keep bodies lean enough for the flash model.
Map each changed contract file to the port surface it touches:
internal/tool: tool names in every skill body and bench/reasonix.tomlinternal/hook: AGENTS.md notes and any hook docsinternal/frontmatter: all skill frontmatterinternal/skill, internal/command: layout, loading, and /name assumptionsUpdate the affected skills, AGENTS.md, and bench config. If the change invalidated the local reasonix binary, rebuild it before trusting bench.
node --test bench/structural.test.mjs (structure of every SKILL.md)node bench/bench.mjs (invocation; prior cases must still pass)bench/BASELINE.jsonAny structural failure or exec score below baseline blocks acceptance. Fix the skill body; do not lower the baseline.
Bump UPSTREAM.json commits and dates to the synced HEADs, close the open upstream-drift issue, write a short report (changed, ported, retired, bench result), and commit.