using-git-worktrees
OBobra/superpowers298k近 7 天新增 2,631 个 star
Use when you need a read-only situation review and handoff summary of current branch state, local/remote refs, worktrees, active project plans, selected-plan hints, and suggested next checks.
Output style: lead with the bottom line, bullets over prose, one-line TL;DR —
process/development-protocols/communication-standards.md.
Summarize the current repo state for handoff and resume work.
This is a helper skill only.
vc-review-situation operates in two modes. Choose based on the trigger signals below.
Run review-situation-scan.cjs, return the scan summary.
Use when:
Output: Current State, Recent Work, In-Flight Plans, Next Steps, Warnings (standard scan sections).
Run the scan plus read umbrella plan, latest phase report, and all active-plan handoff sections. Synthesize into a full handoff briefing sufficient for an agent to resume without follow-up questions.
Trigger conditions (any one):
Deep mode steps:
review-situation-scan.cjs as normal (get branch state + active plan list)## Current Execution State and ## Phase Ordering## Resume and Execution Handoff sectionOutput: Full handoff briefing — program position, prior-phase outputs, open gaps, next-phase inputs, and any hard-stop conditions.
vc-review-situation is advisory.
process/* plan inventory.If a user needs execution, the repo still requires explicit plan selection and ENTER EXECUTE MODE.
Run the local scanner:
node .claude/skills/vc-review-situation/scripts/review-situation-scan.cjs --json
Useful flags:
node .claude/skills/vc-review-situation/scripts/review-situation-scan.cjs
node .claude/skills/vc-review-situation/scripts/review-situation-scan.cjs --json --max-branches 8 --plan-limit 6
node .claude/skills/vc-review-situation/scripts/review-situation-scan.cjs --selected-plan process/general-plans/active/example_27-05-26/example_PLAN_27-05-26.md
node .claude/skills/vc-review-situation/scripts/review-situation-scan.cjs --since "14 days ago"
node .claude/skills/vc-review-situation/scripts/review-situation-scan.cjs --fetch
The scanner reads from:
git status --short --branchgit worktree list --porcelainprocess/general-plans/active/ (plans inside {slug}_{date}/ task subfolders — scan one level deep)process/features/*/active/ (same depth)It does not scan upstream plans/**, and it never treats a selected-plan hint as execute authority.
The default output is a human-readable report with these sections:
--json returns the same information as structured data.
If the scanner fails, say that explicitly and fall back to the minimal read-only commands:
git status --short --branch
git worktree list --porcelain
git for-each-ref --format='%(refname:short) %(committerdate:iso8601) %(objectname:short) %(subject)' refs/heads refs/remotes
find process/general-plans/active process/features -path '*/active/*' -type f | sort
--fetch is explicit.--selected-plan argument.--fetch is explicit.Good trigger phrases:
what's in flightgive me a handoff summarywhat active plans do we haveshow branch and worktree statuswhat should I look at nextLoad references/review-situation-workflow.md when you need the project's decision tree or hint-priority rules.
Program Review Mode = Deep Mode. All trigger conditions and synthesis steps from the Mode Selection — Deep Mode section apply here. The output format below is the required presentation layer for Deep Mode when the orchestrator or user needs a full visual summary before execution.
Trigger: User asks for plan review, program summary, "what are we building", "summarize all active plans"
Goal: Read ALL active plans for a program and produce a comprehensive visual summary for user feedback before execution.
Read and compare process artifacts (plan file + validate-contract, or plan vs git diff) and produce a concise inline summary.
git diff [ref] to show what changed; map changed files against the plan's blast-radius, highlighting covered vs uncovered areas.review the plan, show plan vs contract, what did we plan vs what changed, summarize this plan file, diff plan against codeOBobra/superpowers298k近 7 天新增 2,631 个 star
OBobra/superpowers298k近 7 天新增 2,631 个 star
OBobra/superpowers298k近 7 天新增 2,631 个 star
MAmattpocock/skills288k近 7 天新增 10,178 个 star
MAmattpocock/skills288k近 7 天新增 10,178 个 star
MAmattpocock/skills288k近 7 天新增 10,178 个 star