skills/amia-git-worktree-operations/SKILL.md
Use when processing parallel PRs. Trigger with git worktree or parallel development requests. Loaded by ai-maestro-integrator-agent-main-agent.
npx skillsauth add emasoft/ai-maestro-integrator-agent amia-git-worktree-operationsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Manage git worktrees for parallel PR processing with isolated branch directories sharing a single repository database.
git --version)python scripts/amia_create_worktree.py --pr <number> --base-path /tmp/worktreespython scripts/amia_worktree_commit_push.py --worktree-path <path> --message "<msg>"python scripts/amia_cleanup_worktree.py --worktree-path <path>Copy this checklist and track your progress:
python scripts/amia_verify_worktree_isolation.py --worktree-path <path>| Output Type | Description | |-------------|-------------| | Worktree Directory | Checked-out PR branch at specified path | | Worktree List | JSON listing active worktrees with paths and branches | | Verification Report | Isolation check status and any boundary violations | | Commit/Push Confirmation | Success/failure with commit hash or remote status | | Cleanup Report | Removal confirmation with warnings if uncommitted changes exist |
Output discipline: All scripts support
--output-file <path>.
See references/ directory for all reference documents.
Script failures return non-zero exit codes. Check stderr for details. See the detailed guide in Resources for common error scenarios.
# Create worktrees
python scripts/amia_create_worktree.py --pr 101 --base-path /tmp/worktrees
python scripts/amia_create_worktree.py --pr 102 --base-path /tmp/worktrees
python scripts/amia_create_worktree.py --pr 103 --base-path /tmp/worktrees
# Assign each to a subagent, work in isolation, then cleanup
python scripts/amia_cleanup_worktree.py --worktree-path /tmp/worktrees/pr-101
See references/ directory — 107 reference documents. Full guide: detailed-guide:
development
Use when enforcing TDD via RED-GREEN-REFACTOR. No production code without a failing test first. Trigger with /enforce-tdd. Loaded by ai-maestro-integrator-agent-main-agent.
data-ai
Use when resuming sessions. Trigger with session resumption. Loaded by ai-maestro-integrator-agent-main-agent.
devops
Software release management and coordination. Use when creating releases, bumping versions, or rolling back deployments. Trigger with release tasks or /amia-create-release. Loaded by ai-maestro-integrator-agent-main-agent.
testing
Use when enforcing quality gates. Trigger with /amia-enforce-gates. Loaded by ai-maestro-integrator-agent-main-agent.