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

evaluate-waza-copilot-customizations

Waza で個人(~/.copilot)/ ワークスペース / 任意パスの instructions / agents / skills をセットアップ、static/runtime 評価、gate 単体実行、結果要約、report 更新まで行う。

インストール方法を見る

含まれるファイル(2)

  • SKILL.md10.9 KB
  • LICENSE.txt5.2 KB

SKILL.md(原文)

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

<!-- syncToGlobal: true --> <!-- author: aktsmm --> <!-- repository: https://github.com/aktsmm/Agent-Customization --> <!-- license: CC BY-NC-SA 4.0 --> <!-- copyright: Copyright (c) 2025 aktsmm -->

WAZA evaluate copilot customizations

個人(~/.copilot)、現在のワークスペース、または任意パスの Copilot customization files を対象に、Waza 評価プロジェクトのセットアップ、static/runtime 評価、gate 単体実行、結果要約、report 更新を行う。

Scope

  • 既定の評価対象: $HOME\.copilot(instructions / skills / agents)
  • ワークスペース評価対象の例: <workspace>\.github
  • 任意評価対象の例: instruction / agent / skill を含むディレクトリまたは単一ファイル
  • 既定の Waza 評価プロジェクト: ~/waza-copilot-customization-evals
  • 既定の static eval: evals\copilot-customizations\eval.yaml
  • 既定の runtime eval: evals\copilot-customizations\runtime-eval.yaml
  • 既定の結果 JSON: results\customizations-eval.json
  • 既定の runtime 結果 JSON: results\runtime-customizations-eval.json
  • 既定の report: reports\YYYY-MM-DD-copilot-customizations-waza-report.md

Setup Links

この skill だけをコピーした場合は、まず setup guide を開く。evalProject が無い場合は template から始める。

引数

skill には入力変数の仕組みがない。依頼文と argument-hint から次の値を読み取り、指定がなければ既定を使う。

  • targetScope: personal(~/.copilot) / workspace / custom。既定は personal
  • targetPath: custom のときは必須。workspace で空なら <workspace>\.github、personal で空なら $HOME\.copilot
  • evalProject: 空なら ~/waza-copilot-customization-evals
  • action: setup / run / runtime / gate / report / full。既定は full
  • executionMode: static / runtime / both。既定は static
  • gateMode: metadata / agent-structure / token-budget / all。action が gate のときだけ使う。既定は all(3 モードを順次実行する論理指定)
  • maxFileTokens: 既定は 5000
  • maxTotalTokens: 既定は personal が 130000、workspace / custom が 60000
  • runtimePrompt: runtime のときに実行・記録する prompt。空なら target を要約する smoke prompt を使う
  • runtimeModel: runtime / copilot-sdk 用 model。空なら、現在の環境で使える model 名を確認して選ぶ
  • runtimeTaskStrategy: template / record。既定は template

Operating Rules

  • 評価対象の instruction / agent / skill 本体は、この skill では変更しない。
  • 修正はユーザーが明示した場合だけ行う。評価だけなら Waza project 配下の eval 資産、結果 JSON、report だけ更新してよい。
  • secret、認証情報、個人アカウント値は report に書かない。問題がある場合はファイル名と観点だけを書く。
  • PowerShell 前提で、コマンドは非対話・単発・timeout 付きで実行する。
  • 結果の出力が長い場合は、summary、failed gate、issue、warning、next fix candidates だけを抽出して報告する。
  • action=setup または action=full では、必要なら Waza project 側の .waza.yaml、static/runtime eval、task、grader script、report script、results/、reports/` を作成または更新してよい。
  • action=report は既存の結果 JSON / report を優先して読み、無ければ run を実行してから report を作る。
  • runtime は copilot-sdk 前提。必要なら waza models、copilot login 状態、モデル名を確認する。
  • runtime で target 自体の実挙動を検証したい場合、既定では write-runtime-task.ps1 で deterministic task を作る。
  • waza new task from-prompt は exploratory には便利だが、一時パスや特定文面に過剰適合した grader を生成しやすい。既定では使わず、使う場合も生成後に task を必ず見直す。
  • runtimePrompt が空欄でも、target path と出力フォーマットを含む smoke prompt を自動生成してよい。
  • runtime task には未展開変数名(例: $resolvedTarget, $targetName)を残さず、解決済みの target path と basename が literal に入っていることを確認する。
  • runtime 実行前に task ファイルを一度読み、target path、期待見出し、grader の厳しさが意図どおりかを確認する。

Workflow

  1. evalProject が空欄なら Join-Path $HOME 'waza-copilot-customization-evals' を使う。
  2. targetScope と targetPath から評価対象を決める。
    • personal または空欄: targetPath が空なら $HOME\.copilot
    • workspace: targetPath が空なら <workspace>\.github
    • custom: targetPath を必須として扱う
    • 単一ファイルもディレクトリも可
    • maxTotalTokens が空なら、全個人資産を含む personal は130000、読み込み単位を想定する workspace / custom は60000を使う
  3. 評価対象が存在するか確認する。存在しない場合は、候補パスを出して停止する。
  4. action を決める。
    • setup: Waza project の存在確認と不足資産の作成/更新だけ行う
    • run: static eval を実行し、結果 JSON と report を更新する
    • runtime: copilot-sdk で runtime task を記録・実行し、結果 JSON と report を更新する
    • gate: 指定 gate だけ実行する
    • report: 既存結果の要約と report 更新を行う。必要なら実行を補完する
    • full または空欄: setup -> static run -> optional runtime -> report を順に行う
  5. 評価プロジェクトが存在するか確認する。
    • .waza.yaml
    • evals\copilot-customizations\eval.yaml
    • evals\copilot-customizations\runtime-eval.yaml
    • evals\copilot-customizations\scripts\grade-copilot-customizations.ps1
    • evals\copilot-customizations\scripts\write-copilot-customizations-report.ps1
    • 見つからない場合は、公開 repo の setup guide / companion template を案内し、template から初期化する案を優先する
  6. action=setup または full のとき、不足している資産を作成または更新する。
    • .waza.yaml
    • evals\copilot-customizations\eval.yaml
    • evals\copilot-customizations\runtime-eval.yaml
    • evals\copilot-customizations\tasks\customization-static.yaml
    • evals\copilot-customizations\runtime-tasks\
    • evals\copilot-customizations\scripts\grade-copilot-customizations.ps1
    • evals\copilot-customizations\scripts\write-copilot-customizations-report.ps1
    • results\
    • reports\
  7. Waza standalone が使えるか確認する。
    • waza --version
    • Get-Command waza
  8. 評価対象を $env:WAZA_CUSTOMIZATIONS_TARGET に入れる。
  9. action=run または full のとき static eval を実行する。
    • waza run evals\copilot-customizations\eval.yaml --output results\customizations-eval.json --no-update-check -v
  10. action=runtime、または action=full かつ executionMode=runtime/both のとき runtime task を作成・実行する。
  • 既定の runtimeTaskStrategy=template では write-runtime-task.ps1 を使う
  • runtimePrompt が空なら target を要約・制約抽出する smoke prompt を組み立てる
  • write-runtime-task.ps1 -TargetPath <target> -OutputPath evals\copilot-customizations\runtime-tasks\runtime-target.yaml
  • task 生成後、runtime-target.yaml を読み、literal な target path と Purpose:/Guardrails:/Usage: が入っていることを確認する
  • runtimeTaskStrategy=record のときだけ waza new task from-prompt ... --overwrite を使う
  • record を使った場合は task ファイルを読み、path_pattern 固定や過剰に厳しい contains_cs を緩めてから実行する
  • waza run evals\copilot-customizations\runtime-eval.yaml --output results\runtime-customizations-eval.json --no-update-check -v
  1. action=gate のとき gateMode に応じて必要な gate だけ実行する。
  • metadata
  • agent-structure
  • token-budget
  • all: grader に Mode all を渡さず、上記3モードを1回ずつ順次実行する
  1. 結果 JSON を読み、summary を抽出する。
  • total tests
  • succeeded / failed / errors
  • success rate
  • aggregate score
  1. 失敗 gate がある場合、または action=gate のとき、同じ $env:WAZA_CUSTOMIZATIONS_TARGET を指定したまま必要な個別 gate を単体実行して詳細を取る。
  2. action=report または run/runtime/full のあと、write-copilot-customizations-report.ps1 を使って reports\YYYY-MM-DD-copilot-customizations-waza-report.md を作成または更新する。
  • Date
  • Model: GitHub Copilot
  • Action
  • Evaluated source
  • Commands run
  • Waza summary
  • Gate results
  • Findings
  • Next fix candidates
  1. 最終回答では、action、execution mode、評価対象、結果、赤 gate、警告、次の一手を簡潔に出す。

Command Reference

代表的な static eval。workspace / custom target は Workflow の target 解決規則に従って $env:WAZA_CUSTOMIZATIONS_TARGET だけを変える。

$project = Join-Path $HOME 'waza-copilot-customization-evals'
Set-Location $project
$env:WAZA_CUSTOMIZATIONS_TARGET = Join-Path $HOME '.copilot'
waza run evals\copilot-customizations\eval.yaml --output results\customizations-eval.json --no-update-check -v
  • runtime、record、個別 gate、report のコマンドは Workflow 手順10〜14を正本とする。
  • record では生成taskを実行前に読み、固定された一時pathや過剰に厳しい contains_cs を修正する。
  • setup / repair では手順5の必須資産を Test-Path で確認し、不足分だけtemplateから復元する。

Final Response Format

## 結果
- Action: <setup/run/gate/report/full>
- Execution mode: <static/runtime/both>
- Target: <path>
- Waza eval: pass/fail
- Success rate: <value>
- Aggregate score: <value>
- Result JSON: <path>
- Report: <path>

## 赤 Gate
- <gate>: <issue>

## 警告
- <warning>

## 次の一手
1. <action>
2. <action>

赤 Gate や 警告 がない場合も、なし と明記する。

レビュー

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

コメント

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

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

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

0 / 1000 文字

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

同じリポジトリのスキル

Design, review, and debug agent workflows, and decide when a request should use a prompt, instruction, skill, agent, or hook before escalating to multi-agent design. Use for .agent.md / .instructions.md / .prompt.md / AGENTS.md work, workflow architecture, orchestration planning, scheduled automation model allocation, or when agent workflows may be overkill. Triggers on 'agent workflow', 'create agent', 'automation models', 'ワークフロー設計', 'orchestrator'.

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

aktsmm/Agent-Skills262026年10月18日 更新

Design, run, and review fair performance, token, and cost comparisons across GitHub Copilot CLI, Codex CLI, and direct model APIs. Use for AI CLI benchmark, Copilot vs Codex, prompt-cache diagnosis, cache read/write analysis, fresh-process latency measurement, token-cost comparison, or when a benchmark must separate provider caching from local CLI caches.

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

aktsmm/Agent-Skills262026年10月18日 更新

Analyze historical VS Code GitHub Copilot Chat sessions by model, reasoning effort, AIU, time, reliability, workflow behavior, and external quality evidence, or safely prune workspace-scoped local chat history by age. Use for session analysis, repeated-task retrospectives, model evaluation, cost/performance analysis, and old session cleanup.

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

aktsmm/Agent-Skills262026年10月18日 更新

Create reproducible animated infographic GIFs from structured data or measured results, with audience-language labels, explicit timing semantics, representative-frame QA, and a static fallback. Use when asked for GIF生成, animated infographic, 動的インフォグラフィック, 結果が流れる図, animated benchmark, or a blog/SNS animation whose displayed metrics must remain traceable to source data.

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

aktsmm/Agent-Skills262026年10月18日 更新

archify

無料

Create polished, validated architecture, workflow, sequence, data-flow, and lifecycle/state diagrams as explorable standalone HTML with inline SVG, dark/light themes, optional trace motion, and PNG/JPEG/WebP/SVG/WebM export. Accept plain-language requirements or pasted Mermaid flowchart, sequenceDiagram, and stateDiagram input; inspect repository evidence when the diagram must reflect real code. Use when the user asks to visualize system architecture, infrastructure, cloud/security/network topology, technical workflows, API call sequences, request lifecycles, data pipelines, ETL/ELT, data lineage, state machines, or to convert/beautify Mermaid. Also use for Archify, interactive or animated HTML diagrams, インタラクティブ図, 動く構成図. When an editable .drawio file is required, use the draw.io workflow instead and treat Archify HTML only as a supplement.

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

aktsmm/Agent-Skills262026年10月18日 更新

Generate ASCII-art text banners for terminals, READMEs, and CLI startup messages. Use when a user asks for an ASCII banner, text art, バナー, アスキーアート, or a decorative header for a script/README.

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

aktsmm/Agent-Skills262026年10月18日 更新

aktsmm のスキルをすべて見る

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