home/dot_agents/skills/copilot-agent-task/SKILL.md
This skill should be used when the user asks about "copilot agent", "Copilot coding agent", "agent-task", "agent task", "セッションログ", "session log", or discusses managing GitHub Copilot coding agent tasks. Provides operations for listing tasks, viewing session logs, and creating new tasks.
npx skillsauth add kryota-dev/dotfiles copilot-agent-taskInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
GitHub Copilot coding agent のタスクとセッションログを操作するスキルです。
gh agent-task コマンドはプレビュー機能であり、予告なく変更される可能性があります。
# 利用可能なサブコマンド
gh agent-task --help
# エイリアス
gh agent-tasks, gh agent, gh agents
タスクは以下の形式で指定できます:
123fd97268c-d813-4a7e-9477-d7a9016dd354https://github.com/copilot/tasks/pull/PR_kwDOxxxxxx?session_id=SESSION_ID# 最近のタスク一覧を表示
gh agent-task list
# セッションIDで指定
gh agent-task view fd97268c-d813-4a7e-9477-d7a9016dd354
# PR番号で指定(カレントリポジトリ)
gh agent-task view 123
# PR番号で指定(リポジトリを明示)
gh agent-task view --repo OWNER/REPO 123
# PR参照形式で指定
gh agent-task view OWNER/REPO#123
# セッションログを表示
gh agent-task view SESSION_ID --log
# リポジトリを指定してセッションログを取得
gh agent-task view SESSION_ID --log -R OWNER/REPO
# ファイルに保存(大きなログの場合)
gh agent-task view SESSION_ID --log -R OWNER/REPO > session_log.txt
# 実行中のタスクのログをリアルタイムで追跡
gh agent-task view SESSION_ID --follow
# タスクをブラウザで開く
gh agent-task view 123 --web
# カレントリポジトリにタスクを作成
gh agent-task create "Improve the performance of the data processing pipeline"
# リポジトリを指定して作成
gh agent-task create --repo OWNER/REPO "Fix the authentication bug"
# Step 1: タスク一覧を確認
gh agent-task list
# Step 2: 特定のセッションログを取得
SESSION_ID="fd97268c-d813-4a7e-9477-d7a9016dd354"
REPO="<OWNER>/<REPO>"
# ログを表示
gh agent-task view $SESSION_ID --log -R $REPO
# ログをファイルに保存(大きなログの場合に有用)
gh agent-task view $SESSION_ID --log -R $REPO > /tmp/copilot_session_log.txt
# ファイルの行数を確認
wc -l /tmp/copilot_session_log.txt
# PR番号からタスク情報を取得
gh agent-task view --repo OWNER/REPO 8606
# 複数のセッションがある場合、セッションIDを指定
gh agent-task view SESSION_ID --log -R OWNER/REPO
| オプション | 説明 |
|-----------|------|
| --log | セッションログを表示 |
| --follow | ログをリアルタイムで追跡 |
| -R, --repo | リポジトリを指定 (OWNER/REPO 形式) |
| -w, --web | ブラウザで開く |
development
`cc-code-review` エージェントを起動して独立したコンテキストでコードレビューを実行する。 現在のセッションのバイアスのないフレッシュな視点で、プロジェクトの CLAUDE.md を踏まえたレビューを行う。 トリガー: "cc-code-review", "ccでレビュー", "別の視点でレビュー", "セカンドオピニオン" 使用場面: (1) PRのコードレビュー (2) ブランチ差分のレビュー (3) 特定ファイルのレビュー (4) 現在の変更のレビュー
tools
Comprehensive guide for the `wtp` (Worktree Plus) CLI by satococoa — an enhanced Git worktree manager. Use this whenever the user wants to create, list, remove, or navigate Git worktrees with wtp, mentions `wtp add`/`wtp cd`/`wtp list`/`wtp remove`/`wtp exec`, asks about automatic worktree paths from branch names, post-create hooks (copy/symlink/command) in `.wtp.yml`, branch tracking for worktrees, or shell integration (`wtp shell-init`, `wtp hook`, tab completion, auto-cd). Trigger this even when the user just describes the workflow — e.g. 'spin up a worktree for this feature branch', 'jump to my auth worktree', 'clean up the worktree and its branch' — without naming wtp explicitly, as long as wtp is the available tool.
tools
Use when doing ANY task involving Supabase. Triggers: Supabase products (Database, Auth, Edge Functions, Realtime, Storage, Vectors, Cron, Queues); client libraries and SSR integrations (supabase-js, @supabase/ssr) in Next.js, React, SvelteKit, Astro, Remix; auth issues (login, logout, sessions, JWT, cookies, getSession, getUser, getClaims, RLS); Supabase CLI or MCP server; schema changes, migrations, security audits, Postgres extensions (pg_graphql, pg_cron, pg_vector).
data-ai
Postgres performance optimization and best practices from Supabase. Use this skill when writing, reviewing, or optimizing Postgres queries, schema designs, or database configurations.