Worktree ux pr

From different-ai/the-factory · View interactive version

Worktree ux pr is an AI agent skill from the GitHub repository different-ai/the-factory. Automate the worktree-based UX PR workflow: rebase against origin/dev, verify via Chrome MCP, and attach evidence. Triggers when user mentions: - "rebase against origin/dev and run chrome mcp" - "one pr per worktree with screenshots" - "worktree ux improvements PR flow

How to use this skill

Skill file

Quick Usage (Already Configured)

1) Sync repo and rebase worktrees

scripts/rebase-worktrees.sh ux-improvement-01 ux-improvement-02

Worktrees are expected under ./_worktrees at the enterprise root (override with WORKTREE_BASE).

2) Start UI + headless (optional)

scripts/start-ui.sh
scripts/start-headless.sh

3) Capture evidence

4) Upload screenshot and comment on PR

scripts/upload-catbox.sh /tmp/your-screenshot.jpg
scripts/comment-pr.sh 414 "Screenshot: https://files.catbox.moe/xyz.jpg"

What This Skill Does

Related skills

Scripts

Common Gotchas

pnpm --filter openwork-server build:bin

First-Time Setup (If Not Configured)

  1. Ensure dependencies are installed (pnpm install).
  2. Confirm gh auth status is logged in for GitHub comments.
  3. Optional: set overrides in .env.example and copy to .env.

Reference

Follow the official OpenCode skills docs: https://opencode.ai/docs/skills/

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.