Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

conductor-worktree-hitl

БесплатноЗапускает вложенные скриптыНе проверен

Manage asynchronous task implementation in Git Worktrees using Conductor++ and GitHub Issues for low-friction HITL choice prompting and screenshot verification.

palladiusот palladius★ 45 звёзд на GitHub

Об этом скилле

Conductor++ Asynchronous Git Worktree & GHI HITL Skill

This skill guides the agent to execute parallel software development tasks using Git Worktrees, Conductor quality gates, and GitHub Issues (GHI) for Human-in-the-Loop (HITL) communication.

Core Flow & Execution Steps

1. Worktree Isolation Setup

Before performing any task modifications, create an isolated Git Worktree:

  1. Verify that the main repository is clean (git status).
  2. Add a new worktree check-out under .worktrees/issue-<number>-<role>:
    git worktree add .worktrees/issue-<number>-<role> -b feature/issue-<number>
    
  3. Navigate your context into the worktree directory. All subsequent tool runs (editing, compiling, testing) must happen within this worktree.
  4. Symlink the Conductor Folder & Shared Secrets: Inside the worktree directory, create symbolic links pointing back to the main repository's conductor/ directory and .env file (if present) to ensure shared configuration/secrets sync:
    ln -s ../../conductor conductor
    if [ -f ../../.env ]; then ln -s ../../.env .env; fi
    
    This ensures a single point of sync/truth for all Conductor++ metadata and environment configurations.
  5. Configure Git Hygiene: To prevent the subagent from accidentally tracking or staging the conductor symlink, track metadata, or .env files to its feature branch, add them to the worktree's local exclude file:
    echo "conductor" >> $(git rev-parse --git-dir)/info/exclude
    echo ".env" >> $(git rev-parse --git-dir)/info/exclude
    
  6. If conflicts arise, find a way to solve these conflicts deterministically. Eg, say different agents work on different worktrees and need to spin up a web server on port 8080, use this DEFAULT OVER CONFIGURATION instead: use port 42000 + GitHub Issue.
  7. Copy Conductor Scripts: Copy the scripts in scripts/ to the repository's conductor/bin/ folder (create it if it doesn't exist). This should be done during setup or whenever the skill scripts are updated:
    mkdir -p conductor/bin
    # ./scripts/ is relative to this skill's directory (resolved automatically by Gemini CLI)
    cp ./scripts/* conductor/bin/
    chmod +x conductor/bin/*
    
    At startup, run a diff to make sure you use the latest version.

2. Conductor Quality Gates, Assessment Verdict & Plan Roast

  1. Verify the track's metadata.json configuration. Populate the "worktree", "github_issue", and "agent" blocks. You MUST explicitly set "agent": "<AgentName>" at the root level of metadata.json so that the conductor inspector knows exactly which agent is assigned to the track, avoiding incorrect inference from reused or generic worktree directory paths.
  2. Injecting GitHub Issues as Tasks: If specific tasks inside the track are tracked in separate GitHub Issues, use the inject-ghi utility to import them into the track's "tasks" database:
    ./scripts/inject-ghi --issue <number>
    
  3. Handling Task-Specific Issues:
    • If a task has a github_issue_url specified, fetch the issue's contents and comments for context or human input before starting.
    • When the task is complete, post a confirmation comment on the issue page.
  4. Cross-Artifact Consistency & /roastme Gate: Before coding, execute the Conductor /roastme command to analyze plan.md against spec.md, product guidelines, and code style rules:
    • Verify that every Functional Requirement and Acceptance Criterion in spec.md maps to at least one actionable task in plan.md.
    • Mark independent tasks that touch disjoint files with [P] (- [ ] Task: [P] ...) so Agostina can parallelize work across subagent worktrees when beneficial.
  5. 3-Way Assessment Verdict (go | needs-clarification | non-automateable):
    • 🟢 go (agy-actionable): Spec and plan are clear and aligned. Proceed to implementation.
    • 🟡 needs-clarification (agy-request-info): Unresolved design constraints or ambiguities exist. Proceed immediately to Section 3 (ask_me + agy-request-info GHI label).
    • 🔴 non-automateable (agy-non-automateable): Task strictly requires physical human presence or private hardware; tag the GHI with agy-non-automateable and halt cleanly.

3. Asynchronous Multiple-Choice Choice (ask_me & agy-request-info Sync)

If you require clarification on a design choice, UI asset, or logic condition (needs-clarification):

  1. Format the Question: Create a numbered multiple-choice list with clear context, recommended option first ((Recommended)), and a write-in option (option 4/other).
  2. Attach Screenshots (UI Tasks):
    • If the query is visual, capture a screenshot of the local preview or simulator.
    • Save the screenshot to the track's assets folder (e.g. subtasks/TODAY/assets/).
    • Reference the raw GitHub URL or path of the screenshot in the comment.
  3. **Publis
Полный SKILL.md на GitHub

Установить conductor-worktree-hitl в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

CHANGELOG.mddocs/USER_MANUAL.mdprompts/multi-worktree-starter-prompt.mdreferences/inspector-execution.txtreferences/justfilereferences/question-answered.jsonreferences/question-awaiting.jsonreferences/track-assigned.jsonreferences/track-initial.jsonscripts/conductor-inspectorscripts/git-status-patched.shscripts/git_status_patched.pyscripts/git_status_patched_test.pyscripts/inject-ghiscripts/poll_ghi_questions.py

FAQ

Что делает скилл conductor-worktree-hitl?

Manage asynchronous task implementation in Git Worktrees using Conductor++ and GitHub Issues for low-friction HITL choice prompting and screenshot verification.

Как установить скилл conductor-worktree-hitl?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл conductor-worktree-hitl запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить conductor-worktree-hitl с