Orchestrate

From vultisig/vultisig-windows · View interactive version

Orchestrate is an AI agent skill from the GitHub repository vultisig/vultisig-windows. God-mode orchestrator. Takes a Linear ticket OR PR and handles the ENTIRE workflow end-to-end — branch creation, implementation, testing, commits, PR creation, Linear updates, OR exhaustive PR review with parallel agents. Use for complete feature delivery or deep PR audits.

How to use this skill

Skill file

Orchestrator: End-to-End Workflow

Two operating modes:

Mode A — Feature Delivery (default)

Takes a Linear ticket ID and handles the entire pipeline:

  1. Fetch and understand the ticket
  2. Create a git branch
  3. Plan implementation
  4. Implement across all files with maximum parallelism
  5. Build-review-fix loop until clean
  6. Smart test generation
  7. Commit, push, create PR
  8. Update Linear ticket

Mode B — PR Review (`--review`)

Takes a PR branch name or URL and performs an exhaustive audit:

  1. Fetch all commits and changed files
  2. Spawn parallel review agents across every domain
  3. Report findings with file:line references and fix suggestions

Parallelization Philosophy

Use as many parallel agents as needed to complete tasks in the fastest, most efficient, and highest-quality way possible. There is no artificial cap on concurrency — spawn agents aggressively for independent work streams. The goal is perfection at maximum speed.

Worker Coordination Protocol

When spawning parallel agents:

  1. File-based coordination — Each agent works on independent files. Never assign two agents to the same file.
  2. Cross-agent synthesis — When Agent A produces output that Agent B needs, the orchestrator reads A's deliverables and feeds relevant context to B. Workers never talk directly — the orchestrator is the routing layer.
  3. Quality gates with push-back — No agent's work is marked done until deliverables are reviewed. Bad output gets pushed back for fixes.
  4. Stall detection — If an agent is stuck (repeated failures, no progress), reassess the approach and push with specific unblocking instructions.
  5. Convergence criteria — When parallel agents start producing overlapping concerns (e.g., shared types, cross-module imports), collapse remaining work to sequential. Parallel is for independent work; the moment dependencies emerge, go sequential.

Parallelization Stages (Feature Delivery)

Stage 1 — Gather Context (PARALLEL, unlimited agents):

Stage 2 — Plan (SEQUENTIAL):

Stage 3 — Implement (PARALLEL, unlimited agents):

Stage 3.5 — Skill Passes:

Stage 4 — Build-Review-Fix Loop (SEQUENTIAL, persistent):

Stage 5 — Ship (SEQUENTIAL):

Parallelization Stages (PR Review)

Stage 1 — Gather PR Context (PARALLEL):

Stage 2 — Deep Review (PARALLEL, one agent per domain):

Spawn an agent for EACH of these review dimensions across ALL changed files:

Stage 3 — Synthesize & Report (SEQUENTIAL):


Implementation Standards

Follow ALL .claude/rules/ strictly. The rules are the source of truth for TypeScript, React, pattern matching, styling, file structure, error handling, code quality, and testing.

Key orchestrate-specific reminders:


Step-by-Step: Feature Delivery (Mode A)

Step 1: Fetch Ticket

Call Linear MCP get_issue:

Step 2: Git Branch Setup

git checkout main && git pull
git checkout -b {branch-name-from-linear}

If branch exists: git checkout {branch} && git rebase origin/main

Step 3: Plan Implementation

  1. Understand requirements and acceptance criteria
  2. Map architecture: which packages/modules are affected
  3. Identify files to modify and their dependencies
  4. Create detailed plan with parallelization strategy
  5. Present to user (unless --auto)

Step 4: Implement

Follow ALL .claude/rules/ + standards above.

Step 5: Build-Review-Fix Loop

This is a persistent loop. Do NOT stop until ALL gates pass.

while true:
  1. Run `yarn check` (typecheck + lint:fix + knip)
  2. If fails → read output, fix issues, go to 1
  3. Run `/simplify` on changed files
  4. If simplify suggests improvements → apply, go to 1
  5. Run context-appropriate skills
  6. If issues found → fix, go to 1
  7. All gates pass → break

Step 6: Smart Test Generation

After quality checks pass, evaluate what tests are needed:

Step 6.1 — Evaluate:

Analyze what was built and determine test coverage:

Step 6.2 — Generate Tests (PARALLEL):

Step 6.3 — Run and Fix:

yarn test  # Run all tests, fix failures, repeat until passing

Step 7: Commit

git add <specific-files>
git commit -m "$(cat <<'EOF'
feat(scope): imperative description

- Detail 1
- Detail 2
EOF
)"

Conventional commits enforced. No Co-Authored-By trailer.

Step 8: Push + Roborev Loop

This is a persistent loop. Do NOT stop until reviews pass.

git push -u origin {branch-name}

Design review first, then code review:

while true:
  1. /roborev-design-review-branch — catches architectural issues before polishing code
  2. If design findings → fix structure/approach, yarn check, amend commit, go to 1
  3. Design passes → /roborev-review-branch — code-level review
  4. If code findings → /roborev-fix to auto-fix, then yarn check, go to 3
  5. If still failing after fix → manually address, amend commit, go to 3
  6. Both reviews pass clean → break

If remaining findings depend on product decisions or external actions after two iterations, stop and surface the blocker to the user.

When branch is already pushed, update with git push --force-with-lease.

Step 9: Create PR

gh pr create --title "feat(scope): description" --body "$(cat <<'EOF'
## Summary
- What and why

## Test Plan
- [ ] `yarn check` passes
- [ ] `yarn test` passes
- [ ] Tested on desktop dev server (yarn dev:desktop)
- [ ] Visual verification at http://localhost:8081
- [ ] `/roborev-review-branch` passes clean

## Related
- Closes VUL-XXXX
EOF
)" --draft

Step 10: Update Linear

Set status to "In Review", add PR link comment.


Pre-Submit Gate

All items must pass before the branch is considered ready:

Run with: /orchestrate VUL-1234 or /orchestrate antonio/branch-name --review

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.