browser-automation
Browser automation for rendered UI exploration, validation, screenshots,
Creates isolated git worktrees for parallel development. Use when starting
$ npx -y skills add alexei-led/cc-thingz --skill using-git-worktrees --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/using-git-worktreesContext preview
The summary Claude sees to decide when to auto-load this skill.
Creates isolated git worktrees for parallel development. Use when starting
description: Creates isolated git worktrees for parallel development. Use when starting feature work needing isolation or working on multiple branches simultaneously. NOT for simple branch switching, bulk branch cleanup (use cleanup-git), or git hook/config setup (use configuring-git-hygiene). name: using-git-worktrees
Use one sibling worktree root per project: `<project>.worktrees/<branch-slug>`. Keep the main worktree clean on the integration branch by default. Trivial solo one-liners may stay in the main worktree when a worktree would add pointless ceremony.
Treat a worktree as a disposable branch folder. Remove it and its branch after the PR merges.
Use this skill when:
Do not use this skill for:
Check state before any `git worktree add`:
git status --short git branch --show-current git worktree list
If the current worktree is dirty, leave those changes intact. Use `--allow-dirty` when the user has authorized creating an isolated worktree while preserving them; otherwise ask before proceeding. Do not stash silently.
Use the helper when available:
scripts/setup-worktree.sh <branch> [--base <ref>] [--setup] [--test]
The helper creates `<project>.worktrees/<branch-slug>` from the main worktree root, handles existing local/remote branches, refuses path conflicts, and refuses dirty state unless `--allow-dirty` is passed after user approval.
`--setup` selects the declared package manager and lockfile, uses frozen installs, and uses uv for Python. Conflicting lockfiles or manager declarations stop setup. `--test` runs the detected baseline command. A skipped setup or test is not a pass. Existing branch divergence is reported from local refs without fetching or merging.
Manual fallback lives in [workflow.md](references/workflow.md).
For one named worktree after PR merge:
scripts/cleanup-worktree.sh [branch]
The helper refuses unless `gh` confirms the PR is `MERGED`. Pass `--force` only after the user confirms the merge without `gh` or confirms the branch should be abandoned.
For bulk cleanup, stale worktrees, gone upstreams, or merged local branches, use `cleanup-git`.
Do not run `git pull` as part of cleanup. Pull the integration branch only after confirming the main worktree is checked out and clean.
WORKTREE READY ============== Action: CREATE | CLEANUP Branch: <branch> Path: <project>.worktrees/<slug> Status: DONE | BLOCKED Next: - cd <path> and open the editor there, or - pull the integration branch yourself after confirmed cleanup
For cleanup, report `DONE` only when the PR is confirmed `MERGED` or `--force` was used deliberately. Otherwise report `BLOCKED` with the script's reason.
Portable skills, agents, hooks, and Pi-native extensions for Claude Code, Codex CLI, GitHub Copilot, Cursor, Grok, and Pi. Gemini is retired.
Repo: alexei-led/cc-thingz
Browser automation for rendered UI exploration, validation, screenshots,
Support-only Playwright runtime/reference for browser-automation — dev-server
Create normal git commits with logical grouping. Use when committing,
Create or update human-facing docs, agent-facing instructions, architecture
Fix code defects with a reproducible feedback loop, root-cause diagnosis,
Improve test design, speed, and coverage with behavior-focused tests,