Conduct an interview before starting work to align understanding, then proceed with execution.
ちょっとした作業を依頼する際に使用する。 作業開始前にインタビューを行い、認識齟齬を防いでから作業を実行する。
[1/3] インタビュー(質問生成→回答収集)
↓
[2/3] 確認(要約提示→ユーザー承認)
↓
[3/3] 実行
$ARGUMENTSが存在する場合: そのまま使用$ARGUMENTSが空の場合: AskUserQuestionで取得$ARGUMENTSが空の場合:
AskUserQuestion({
questions: [
{
question: "どのようなタスクを実行しますか?",
header: "タスク",
options: [
{ label: "入力", description: "タスク内容を入力してください" }
],
multiSelect: false
}
]
})
タスク内容を分析し、認識齟齬を防ぐための質問を生成する。
質問の観点:
重要なルール:
質問が不要な場合: タスクが十分に明確で、追加質問が不要と判断した場合はインタビューをスキップして[2/3]へ進む。
タスク: 「このバグを修正して」
AskUserQuestion({
questions: [
{
question: "バグの再現手順や期待される動作を教えてください",
header: "バグ詳細",
options: [
{ label: "入力", description: "詳細を入力" }
],
multiSelect: false
}
]
})
タスク: 「この関数にバリデーションを追加して」
AskUserQuestion({
questions: [
{
question: "バリデーションで検証すべき項目は何ですか?",
header: "検証項目",
options: [
{ label: "必須チェック", description: "空でないことを確認" },
{ label: "型チェック", description: "正しい型であることを確認" },
{ label: "範囲チェック", description: "値が有効範囲内であることを確認" },
{ label: "フォーマットチェック", description: "正しい形式であることを確認" }
],
multiSelect: true
}
]
})
インタビュー結果を要約し、ユーザーに承認を求める。
## タスク概要
**依頼内容**: [ユーザーが依頼した内容]
**実行する作業**:
- [具体的な作業1]
- [具体的な作業2]
- ...
**スコープ**: [対象ファイル/機能]
**制約・注意点**: [あれば記載]
AskUserQuestion({
questions: [
{
question: "上記の内容で作業を開始してよろしいですか?",
header: "確認",
options: [
{ label: "承認", description: "作業を開始する" },
{ label: "修正", description: "内容を修正する" }
],
multiSelect: false
}
]
})
「承認」の場合: [3/3] 実行へ進む
「修正」または「Other」の場合: ユーザーの指摘に基づき[1/3]に戻って再度インタビュー
承認後、タスクを実行する。
タスク管理:
実行時の注意:
作業完了後、実行結果を簡潔に報告する:
## 完了報告
**実行した作業**:
- [作業1]
- [作業2]
**変更ファイル**:
- [ファイルパス1]
- [ファイルパス2]
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer