一键导入
orchestrate
Run the full implement → test → CI → review → PR pipeline for a task. Coordinates implementer, test-writer, ci-validator, and code-reviewer agents.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run the full implement → test → CI → review → PR pipeline for a task. Coordinates implementer, test-writer, ci-validator, and code-reviewer agents.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | orchestrate |
| description | Run the full implement → test → CI → review → PR pipeline for a task. Coordinates implementer, test-writer, ci-validator, and code-reviewer agents. |
| argument-hint | <asana-task-id-or-url> |
| disable-model-invocation | true |
Run the complete agent pipeline for a task: branch setup, implement, test, CI validate, review, push, and create PR.
/orchestrate <asana-task-id-or-url>
Accepts either:
1213560067347874https://app.asana.com/0/1234567890/1213560067347874Parse the Asana task ID from the argument:
Read the Asana task to get:
Create a feature branch from main:
git checkout main && git pull origin mainfeat/<ticket>-<slug>
QVAC-123)feat/QVAC-123-add-rag-support-for-lancedbfeat/<task-title-slug>git checkout -b <branch-name>Inform the user of the setup:
Task: <task-title>
Branch: <branch-name>
Before any implementation, create a plan for the user to approve:
Launch the implementer agent with the Asana task ID and the approved plan.
Implement Asana task <task-id>. Follow this approved plan:
<paste the approved plan here>
Write code within scope of the plan, verify build/tests pass, and commit working changes.
Wait for completion. If the implementer reports failure (e.g., ambiguous requirements, build failures after 3 retries), stop the pipeline and report to the user.
After implementation, analyze the changed files and the Asana task to decide what's needed next.
Run git diff --name-only main...HEAD and apply these rules:
Native addon packages — if changed files match a package in the CI Package Mapping table in .agent/knowledge/ci-validation.md, CI is needed. Use the short name from that table. If multiple addon packages changed, run CI for each.
SDK / TS packages (packages/qvac-sdk/**, packages/rag/**, packages/cli/**) — SDK CI runs automatically via pr-checks-sdk-pod on PR creation. No manual trigger needed.
Everything else (simple libraries, docs, workflows, config, markdown) — no CI needed.
If CI is needed, inform the user which packages will be validated and why.
Determine if new tests are needed by checking:
| Signal | Tests needed? |
|---|---|
| New public API / exported functions added | Yes |
| New feature with user-facing behavior | Yes |
| Bug fix (regression test) | Yes |
| Asana task acceptance criteria mention testable behavior | Yes |
| Refactoring with no behavior change | No |
| Documentation / config / CI workflow only | No |
| Changes already have corresponding test updates from implementer | No — skip |
Read the Asana task acceptance criteria. If they describe specific behaviors or scenarios, those should become tests.
If Phase 1.5 determined tests are needed, launch the test-writer agent:
Write automated tests for the changes on the current branch. Task ID: <task-id>. Focus on new public APIs, new behavior, and edge cases. Match existing test patterns.
Wait for completion. If the test-writer discovers code bugs, launch the implementer again with the bug details before proceeding.
If tests are not needed, skip to Phase 2.
If Phase 1.5 determined CI is needed:
git push -u origin HEADIf CI is not needed, skip to Phase 3.
Launch the code-reviewer agent:
Review all changes on the current branch against main. Task ID: <task-id>. Check requirements match, bugs, conventions, security, scope, and test coverage. Fix issues directly and commit fixes.
Wait for completion. Collect the review summary.
If the reviewer committed any fixes AND Phase 1.5 determined CI was needed:
If no CI needed or no reviewer fixes, proceed to reporting.
Push the branch to origin:
git push -u origin HEAD
Determine PR type from the changed files:
packages/qvac-sdk/ or other TS packages → SDK PRCreate the PR using gh pr create:
<ticket> <prefix>[tags]: <task-title-summary> (following commit format from CLAUDE.md)/qv-addon-pr-create/qv-sdk-pr-createmaingh pr create --base main --title "QVAC-123 feat: add RAG support" --body "..."
Link the PR to the Asana task: comment on the task with the PR URL.
Produce a final summary:
Pipeline complete for task <task-id>:
Branch: <branch-name>
PR: <pr-url>
Implementation:
- [summary from implementer]
- Files changed: [list]
Tests:
- [added/skipped, with reason]
- Tests added: [count and brief descriptions]
- Code bugs found by tests: [count or none]
CI Validation:
- [pass/fail/skipped]
- Packages tested: [list or "n/a — no native addon changes"]
- Platforms: [list]
Review:
- Issues found and fixed: [count]
- Issues flagged but not fixed: [count, with details]
Status: [ready for human review / needs attention]
Update the Asana task:
Team-wide PR dashboard for the SDK pod. Shows open PRs touching SDK pod paths or authored by SDK roster members, sorted oldest-first, grouped by author tier (SDK Core / Platform / External) into needs-your-re-review / stale / needs-review / fully-approved, with merge-conflict and CI-red warnings. Use when checking team SDK pod PR status or invoking /qv-sdk-pr-status.
Generate NOTICE files with third-party attributions for all packages in the monorepo.
Generate changelogs for SDK pod packages using tag-based GitFlow. Use when preparing a release, generating changelog, or creating CHANGELOG_LLM.md.
Inspect GitHub Actions self-hosted runner queues when a developer provides a run URL, job URL, runner label, or reports a blocked CI job, or invokes /qv-devops-runner-queue.
Benchmark an optimization (PR or branch) on a Device Farm device via the vlm-benchmark framework — baseline vs optimized, quality-regression-aware.
Generate PR descriptions for SDK pod packages following template and format rules. Use when creating an SDK pod PR or invoking /qv-sdk-pr-create.