eval-pr
FreeSet up a git worktree to run and evaluate an upstream Pull Request locally in a flat worktree bare clone repository layout.
The English summary is being prepared. Showing the original description.
Deterministic synchronization of trunk, PR evaluation worktrees, and drift reporting in Deliberate Lab's bare repository workspace.
The English summary is being prepared. Showing the original description.
Run score Not tested
See how to installReview the instructions the agent will receive before you install.
Synchronize all branches and worktrees in Deliberate Lab's bare repository layout against upstream and origin.
This skill replaces manual, multi-step git operations with a single deterministic automation script that fast-forwards trunk, mirrors PR evaluation worktrees, identifies merged/closed PRs for cleanup, and reports feature branch drift.
Invoke this skill when asked to:
From any worktree directory or the parent repository container:
./.agents/skills/workspace-sync/scripts/workspace-sync.sh
To preview changes without altering any git refs or worktree checkouts:
./.agents/skills/workspace-sync/scripts/workspace-sync.sh --dry-run
To only sync trunk and feature branch status without touching PR worktrees:
./.agents/skills/workspace-sync/scripts/workspace-sync.sh --skip-pr-mirror
The script visibly echoes the underlying git commands by default (prefixed with [dry-run] during dry-run mode) and formats all worktree targets with actionable relative paths. If the sync report exceeds 7 KB, it automatically saves to a temporary file via mktemp and provides the path for lossless inspection via view_file (ADR 0003).
The script executes four deterministic stages:
git fetch --all --prune to refresh all remotes and clean up deleted remote-tracking refs.main):
main/ is clean before touching it.main to upstream/main (git merge --ff-only upstream/main).main to origin/main to keep your personal fork in sync.pr-<number>):
pr-[0-9]*.git status --porcelain) is skipped to prevent data loss.gh pr view) to see if the PR is MERGED or CLOSED. If so and the worktree is clean, automatically removes the worktree (git worktree remove) and deletes the local branch (git branch -D), keeping the workspace free of zombie checkouts.upstream pull/<number>/head and resets the local branch to FETCH_HEAD.package.json or package-lock.json changed during the update, reminds you to run npm ci in that worktree.<issue>-<slug>).main.git rebase main inside that worktree when the author is ready.No reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
Set up a git worktree to run and evaluate an upstream Pull Request locally in a flat worktree bare clone repository layout.
The English summary is being prepared. Showing the original description.
Run GitHub CLI commands and inspect GitHub Issues and Pull Requests cleanly without PTY Glamour terminal truncation or comment-stripping traps.
The English summary is being prepared. Showing the original description.
Evaluate Pull Requests for participant or experimenter UX changes, determine runtime behavioral impact, audit and synthesize Deliberate Lab's 7-part manual experiment test plans, and interactively co-author verification steps.
The English summary is being prepared. Showing the original description.
Reflect on pairing sessions from the AI perspective using the FAR framework (Friction, Ambiguity, Repetition), present observations conversationally, and anchor generalizable improvements as GitHub issues or comments.
The English summary is being prepared. Showing the original description.
Inspect the local Deliberate Lab workspace environment, Node.js version, bare repository worktrees, remotes, git status, and toolchain readiness.
The English summary is being prepared. Showing the original description.