ワンクリックで
team-orchestration
CTO-led design orchestration for features and bugs using local contracts and optional Linear persistence.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
CTO-led design orchestration for features and bugs using local contracts and optional Linear persistence.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | team-orchestration |
| description | CTO-led design orchestration for features and bugs using local contracts and optional Linear persistence. |
Treat the current Git repository and caller cmux workspace as the project. Keep Pi's native sessions and never change cmux focus automatically.
team_delivery_start without another confirmation.linear_list_*, linear_get_*, and linear_search_* tools from @alasano/pi-linear.team_scout for isolated repository research when useful.When the operator asks to open, file, log, add, or record a Linear bug, issue, or ticket, treat that as an administrative tracking request—not implementation design. Do not create a retrospective contract, call team_contract_approve, mention an implementation approval phrase, or ask for approval again. Gather only missing issue content or destination details, resolve canonical IDs with read tools, call linear_create_issue, and read the issue back. If the API/schema call fails, correct and retry; authorization is consumed only after successful creation. If an approved pending contract already exists, its creation authorization remains valid across failed calls and /reload.
Explicit operator requests to update priority, labels, assignment, scheduling, or dependencies/relations on named issues are administrative actions, not implementation contracts. Use the issue identifiers in the operator's request or immediately preceding proposal as the exact authorization scope. Resolve canonical issue/resource IDs with reads, perform only the requested linear_update_issue and linear_create_issue_relation operations, read results back, and stop. Never demand contract approval or tell the operator to apply these changes manually.
When the operator explicitly asks to publish, translate, sync, put, or move a completed plan into Linear, that instruction authorizes materialization without another contract or implementation phrase. Never call generic mcp_* tools. Use pi-linear reads to resolve teams and check projects. If the project does not exist, call linear_save_project in create mode only (omit projectId) with the planned name/content and read-proven teamIds. Create the plan's issues only in the returned project ID, read back the project and issues, summarize identifiers/URLs, and stop. Correct and retry failed calls without reapproval. Publication intent is restored from session history across /reload; a later “retry” continues it until the operator explicitly cancels. Do not implement, merge, or deploy.
Call team_contract_draft only with a complete Feature or Bug work order. For an explicit implementation directive it is internal and auto-approved: do not dump its Markdown or pause. Show full Markdown only when the operator requested review. /team-contract open is an optional explicit Zed review action; never open or focus Zed automatically.
For a review-first contract, call team_contract_approve whenever the operator clearly accepts or directs action. Do not require them to mention both the contract and implementation, and never make them repeat clear intent. team_contract_approve is an agent tool; /team-contract approve is not a valid command and must never be suggested. Examples include:
Only a genuinely non-actionable acknowledgement such as a bare “ok” or “looks good” is ambiguous. Ask once in that case. Unconsumed explicit approval remains valid through a retry or /reload; do not ask the operator to repeat it. A direct request to mark an existing active issue done is an operator workflow instruction, not a reason to invent a retrospective implementation contract. Resolve the team's completed status, update only the active issue's stateId, read the issue back, and report success only after the completed status is confirmed.
Authorization is stored locally first. If no Linear destination is configured, report exactly: GitHub/docs-only; no Linear mutation. If a destination is configured, use the exact pi-linear persistence plan returned by either auto-approved team_contract_draft or team_contract_approve.
pi install npm:@alasano/pi-linear; do not implement authentication./linear-auth, /linear-settings, and workspace selection are operator-controlled.linear_list_* or linear_get_* tool. Use canonical values in teamId, teamKey, projectId, stateId, and similar ID fields; never put a display name into an ID field.linear_get_issue and report success only when the requested destination/content/status is confirmed.linear_create_issue without an implementation contract; fields are restricted and destination IDs must be read-proven./reload; update/comment operations remain scoped to the active issue.linear_* tools.An internally authorized work order with complete delivery metadata starts through team_delivery_start when the operator clearly directs implementation; do not make them run a slash command after they already said to proceed. Use placement: "new-window" when they explicitly request a dedicated cmux window, otherwise use caller placement. Do not manually duplicate worker panes before invoking the tool. /team-delivery start remains an optional operator shortcut and idempotently resumes a failed run for the same approval. Confirm that the current contract hash still matches approval, optional Linear persistence is complete, and the Git/GitHub/cmux preflight succeeds. Delivery uses freshly fetched origin/<approved-base> in its isolated worktree; do not block on or mutate a dirty/behind caller checkout. Delivery prepares dependencies with a lockfile-compatible pinned Corepack pnpm. On new runs it records checks on the untouched base, then uses one isolated implementer and one independent reviewer. New check regressions trigger bounded automatic repair/re-review; base-red or environment-blocked checks are reported as validation warnings and do not discard reviewed work. A retry continues a still-matching reviewed diff instead of rerunning completed passes.
Use /team-delivery show for inspection, resume for idempotent reconciliation, abort to stop and retain diagnostics, and explicitly confirmed cleanup only for failed/aborted private state. Never infer permission to merge, deploy, mutate production, or perform destructive actions from work-order authorization.
Delivery may create a worktree/branch, commit, push normally, and open or reconcile the approved GitHub PR. It must stop before merge or deployment. Never force-push, delete branches/remotes, remove a successful worktree automatically, mutate Linear from a worker, or change/focus the operator's cmux workspace unless the operator explicitly requested new-window placement. A single cmux ... CLI invocation is topology control and is allowed in the CTO session; compound shell commands remain blocked.