本文へ移動
cccskills
無料GitHub で公開

kandev-escalation

Escalate to a human when required information, access, credentials, or a product decision blocks completion and no reasonable default is available.

日本語の概要は準備中です。原文の説明を表示しています。

kdlbs/kandevスター 1,020(GitHub 1,020 + cccskills 0)

実行スコア 未検証

インストール方法を見る

含まれるファイル(1)

  • SKILL.md3.2 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Escalating to a Human

Use this pattern when you cannot proceed without human input: a design decision, missing credentials, ambiguous requirements, or access you do not have.

When to escalate

Escalate when ALL of the following are true:

  1. You cannot make the decision yourself based on available context.
  2. The decision is required to complete your task.
  3. You have already checked comments and memory for prior guidance.

Do NOT escalate for routine technical choices you can make independently.

Escalation procedure

Step 1: Create the human task

Create a new task with a clear question as the title. Leave it unassigned (or assign to $KANDEV_HUMAN_USER_ID if that variable is set in your environment).

HUMAN_TASK=$(
  $KANDEV_CLI kandev task create \
    --title "Decision needed: <your specific question here>" \
    --description "Context: <1-2 sentences of background>

Question: <the specific decision the human needs to make>

Options considered:
- Option A: <brief description>
- Option B: <brief description>

Blocked task: $KANDEV_TASK_ID" \
    2>/dev/null
)
HUMAN_TASK_ID=$(echo "$HUMAN_TASK" | jq -r '.task_id')

Step 2: Cross-reference from the blocked task

$KANDEV_CLI kandev tasks message --id "$KANDEV_TASK_ID" \
  --prompt "Escalated to human task $HUMAN_TASK_ID. Waiting for decision on: <question>"

The Office CLI does not currently expose a secure operation for adding a blocker relationship. The human task description links back to the blocked task, and the comment above links the blocked task to the human task. Do not comment on the new human task: a run may only message tasks granted by its signed runtime scope. These references do not create a task dependency.

Step 3: Set blocked status

$KANDEV_CLI kandev task update --status blocked

Step 4: Exit

Your session ends. Because this flow does not create a blocker relationship, the task_blockers_resolved wake reason will NOT occur for this manual cross-reference flow. The human or coordinator must post the decision on the blocked task or update it through the normal task workflow.

On human response

Resume from the normal task comment or task update event. Parse $KANDEV_WAKE_PAYLOAD_JSON first; if it is absent, read the JSON file at $KANDEV_WAKE_PAYLOAD_PATH. Confirm the decision is present on the blocked task, move it back to the appropriate active status, and continue the work.

Rules

  • Keep the question in the title specific and actionable. "Decision needed: use PostgreSQL or SQLite for the cache layer?" is good. "I need help" is not.
  • Include enough context in the description that the human can decide without reading your full task history.
  • One escalation per decision. Do not create multiple human tasks for the same question.
  • If you need to escalate multiple independent decisions at once, create one human task per decision.
  • If you can make a reasonable default choice, prefer that over escalating.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

acp-debug

無料

Debug an ACP agent CLI by spawning it, speaking raw JSON-RPC, and capturing every frame to a JSONL file. Use when the user asks to probe an agent's capabilities, compare agents, test a prompt against an agent, inspect raw ACP wire frames, or investigate why an agent fails to initialize.

日本語の概要は準備中です。原文の説明を表示しています。

kdlbs/kandev1,0202026年10月26日 更新

Add a new third-party integration (Jira/Linear-style) — per-workspace credentials, 90s auth-health poller, settings page, link/import buttons. Use when scaffolding a new external service integration.

日本語の概要は準備中です。原文の説明を表示しています。

kdlbs/kandev1,0202026年10月26日 更新

Delete local branches whose remote has been deleted ([gone]), including their worktrees. Use for branch cleanup after merging PRs.

日本語の概要は準備中です。原文の説明を表示しています。

kdlbs/kandev1,0202026年10月26日 更新

Review changed code for quality, security, and architecture compliance. Use only when the user explicitly requests local review or a PR finding requires it.

日本語の概要は準備中です。原文の説明を表示しています。

kdlbs/kandev1,0202026年10月26日 更新

commit

無料

Stage and commit changes using Conventional Commits. Use when there are dirty/staged files to commit, the user says "commit", or before pushing a PR.

日本語の概要は準備中です。原文の説明を表示しています。

kdlbs/kandev1,0202026年10月26日 更新

Curate the right project context before coding or debugging. Use when starting a new session, switching areas of the codebase, output quality is drifting, a task spans backend/frontend/docs, or external instructions need to be reconciled with Kandev conventions.

日本語の概要は準備中です。原文の説明を表示しています。

kdlbs/kandev1,0202026年10月26日 更新

kdlbs のスキルをすべて見る

このスキルの問題を報告する