From zzaia-workspace
Orchestrate implementation of multiple work items by analyzing dependencies and dispatching parallel or sequential execution
npx claudepluginhub zzaia/zzaia-agentic-workspace --plugin zzaia-workspace--work-items <id-list> --portal <azure|github> --project <name> --target-branch <branch> --description <text>commands/orchestrator/implement/## PURPOSE Retrieve all work items, analyse their relationships to identify dependencies and parallelism opportunities, then orchestrate each implementation via `/workflow:remote:implement` — dispatching independent items in parallel and dependent items sequentially. The orchestrator decides execution strategy autonomously. ## EXECUTION 1. **Retrieve all work items** - For each ID in `--work-items`, call `/behavior:devops:work-item --action read --id <id> --project <project> --platform <portal>` - Collect per-item: title, type, parent, child links, related work-item IDs, and **rep...
/SKILLGenerates CLAUDE.md project config file via interactive phases: detects environment and tools, collects developer profile, selects testing methodology and tech stack.
/SKILLCreates conventional git commit from conversation intent using git-agent and pushes to remote. Accepts optional Claude model name for co-author.
/SKILLResolves GitHub issue via isolated worktree, TDD workflow, and auto-closing PR creation.
/SKILLCreates a GitHub pull request with automated quality validation, security scanning, issue linking, and compliance checks. Accepts optional description or issue reference.
/SKILLStarts git-flow release: validates <version> semver, creates release/<version> branch, bumps version in project files, commits, and pushes to origin.
/SKILLReviews SwiftUI and Swift code for best practices, modern APIs, data flow, navigation, accessibility, performance. Outputs issues by file with before/after fixes and prioritized summary.
Retrieve all work items, analyse their relationships to identify dependencies and parallelism opportunities, then orchestrate each implementation via /workflow:remote:implement — dispatching independent items in parallel and dependent items sequentially. The orchestrator decides execution strategy autonomously.
Retrieve all work items
--work-items, call /behavior:devops:work-item --action read --id <id> --project <project> --platform <portal>repo per work item using this priority order:
workspace/ for a worktree or folder name that aligns with the work item's domain/titleworkspace/<repo>.worktrees/; if absent, call /behavior:workspace:repo --action new --repo <repoName|repoUrl> --branch <working-branch> --target-branch <target-branch> to clone and set it up before dispatchingAnalyse dependencies
{ id → [blocked-by ids] }Build invocation strings
working-branch as feature/wi-<id>--description content: wrap in quotes and replace any internal quotes with \" to prevent invocation parsing failuresrepo per item:
/workflow:remote:implement --work-item <id> --portal <portal> --project <project> --repo <resolved-repo> --target-branch <target-branch> --working-branch feature/wi-<id> --description <description> --auto-continue
Dispatch by execution plan
/behavior:workspace:agent-teams --mode parallel --context "<shared-context>" --tasks "<group-invocations>" --description "Implement group <n>: <ids>" --max-agents 5/behavior:workspace:ask-user-question --question "Group <n> complete. PRs are open for: <pr-urls>. Review and approve the pull requests before continuing. Proceed to group <n+1>?" --options "Continue; Abort" and wait for user confirmation before dispatching the next groupConsolidate results
work_item_id, branch, pr_url, status (completed | failed | partial), error, groupstatus: failed with error: "missing structured result"sequenceDiagram
participant U as User
participant W as /orchestrate:implement
participant WI as /behavior:devops:work-item
participant AT as /behavior:workspace:agent-teams
U->>W: --work-items <ids> --portal <p> --project <pr> --target-branch <tb>
loop Retrieve each work item
W->>WI: --id <id> --project <project> --platform <portal>
WI-->>W: title, type, relationships, repo reference
W->>W: Resolve repo from description or workspace
end
W->>W: Build dependency map and execution plan
loop For each group in plan
W->>AT: --mode parallel --tasks [impl-A, impl-B, ...]
par Parallel agents
AT-->>W: work_item_id, branch, pr_url, status (A)
AT-->>W: work_item_id, branch, pr_url, status (B)
end
W->>W: Check failures; block dependents if any failed
alt Has next sequential group
W->>U: ask-user-question — review PRs and confirm to continue
U-->>W: Continue or Abort
end
end
W-->>U: Delivery summary table
/behavior:workspace:repo --action new before dispatchagent-teams --mode parallelwork_item_id, branch, pr_url, status, error, group/orchestrator:implement --work-items 1605,1606,1607 --portal azure --project my-project --target-branch develop --description "Implement provider module features"
/orchestrator:implement --work-items 1610,1611,1612 --portal github --project my-org/my-project --target-branch main --description "Add gateway routing features"
| Work Item | Group | Branch | PR URL | Status |
|---|---|---|---|---|
| 1605 | 1 (parallel) | feature/wi-1605 | https://... | completed |
| 1606 | 1 (parallel) | feature/wi-1606 | https://... | completed |
| 1607 | 2 (after 1605) | feature/wi-1607 | https://... | completed |