GitHub Copilot Coding Agent
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
]
開始行:
「[[マイクロソフト系技術情報 Wiki>http://techinfoofmicros...
-[[戻る>GitHub]]
--[[GitHub Actions]]
--[[GitHub Copilot]]
---GitHub Copilot Coding Agent
---[[GitHub Copilot CLI]]
* 目次 [#r1fb843b]
#contents
*概要 [#l5d4552a]
コーディング・エージェント・ツール
-Claude Codeをはじめとする各プロダクトの台頭に強い危機感...
-名前の通り、従来のクラス・メソッド生成、スニペット生成、...
-このブレークスルーは「従来のエージェントアーキテクチャの...
*詳細 [#f478f222]
使い方については[[参考>#o3a62225]]を参照。
**実装可能な機能 [#dbca2bef]
[[Claude Code>https://dotnetdevelopmentinfrastructure.oss...
***エージェント [#a24cb275]
-my-reviewer.agent.mdなどとして(拡張子:.agent.md)以下...
--ヘッダ部は「YAMLフロントマター(メタデータ)」ボディ部...
--ヘッダ部には、name、tools、model などを任意で設定できる...
---
name: my-reviewer
description: バグやセキュリティ問題に特化したコードレビ...
---
# Code Reviewer
あなたは、バグやセキュリティ問題の検出に特化したコードレ...
コードレビュー時には、必ず以下を確認してください:
- SQLインジェクションの脆弱性
- エラーハンドリングの不足
- ハードコードされたシークレット情報
-ファイルの置き場は以下の2箇所
--リポジトリ:.github/agents/
--個人設定:~/.copilot/agents/
-エージェントは、以下のように呼出すことが出来る。
--Slashコマンド風に明示的に(/agent名)。
--Prompt中で、Slashコマンド風に明示的に。
--PromptとDescriptionの対応で暗黙的に。
-ポイント
--専門性の高いエージェントを定義し、会話履歴に残して複数...
--なお、定義が長すぎる(30,000文字制限に引っかかる)場合...
-参考
--https://zenn.dev/microsoft/articles/264b7b02b406f0
--https://qiita.com/chomado/items/54a6721a5aff60fa8631
--https://learn.microsoft.com/ja-jp/visualstudio/ide/copi...
--https://github.com/github/awesome-copilot/tree/main/age...
--https://github.com/github/copilot-cli-for-beginners/blo...
---hello-world.agent.md
---pytest-helper.agent.md
---python-reviewer.agent.md
***スキル [#lfcf3a01]
-SKILL.mdを以下のように定義する。
--ヘッダ部は「YAMLフロントマター(メタデータ)」、ボディ...
--ヘッダ部には、license、compatibility、metadata、allowed...
---
name: echo-skill
description: 入力されたテキストをそのままユーザーに返し...
---
# Echo Skill
このスキルは、入力されたテキストを受け取り、それをそのま...
-SKILL.md ファイルの置き場は以下の2箇所
--リポジトリ:.github/skills/スキル名(ココではechoなど)
--個人設定:~/.copilot/skills/スキル名(ココではechoなど)
-複雑なスキルには~
サンプルコードやスクリプトを用意できる。
.github/skills/
└── my-skill/
├── SKILL.md # 必須:スキル定義と指示
├── examples/ # 任意:参照用サンプルコード
│ └── sample.py
└── scripts/ # 任意:スキルで使用するスク...
└── validate.sh
-互換性(Claude Code)
--置き場を替えるだけ(.github/.copilot → .claude)
--発火しない場合は description の調整が必要
--allowed-tools フィールドは削除(Copilot では実験的機能)
-スキルは、以下のように呼出すことが出来る。
--Slashコマンド風に明示的に(/skill名)。
--Prompt中で、Slashコマンド風に明示的に。
--PromptとDescriptionの対応で暗黙的に。
-ポイント
--自動ロード:スキル・ディレクトリに配置するだけで、適切...
--標準化:オープン標準に基づいているため、異なるツール間...
-参考
--https://zenn.dev/microsoft/articles/a9d4f6ec2a05c2
--https://qiita.com/chomado/items/86295bdd04a0fe4685b2
--https://learn.microsoft.com/ja-jp/visualstudio/ide/copi...
--https://github.com/github/awesome-copilot/tree/main/ski...
--https://github.com/github/copilot-cli-for-beginners/blo...
---code-checklist
---commit-message
---hello-world
---pytest-gen
**レガシー対応 [#m435f87c]
-なお、[[GitHub Copilot]]同様、[[Visual Studio Code]] か...
-特に、[[Visual Studio 20XX>Visual Studio]] の [[.NET Fra...
--PJファイルの編集は、IDEにロックされている中で、スクリプ...
--また、VSの一部の?ファイルは既定でBOM付きUTF-8である必...
-検証
--みたいな:https://github.com/codecypher/NorthwindForms
--[[Northwindを用いて生成した仕様>https://dotnetdevelopme...
--ココでの方式は、[[プロ用(フェーズ毎の検収)>https://do...
***[[Northwind WinForms>https://github.com/OpenTouryoProj...
-GHC、[[Visual Studio 2026>Visual Studio]]、[[NET Framewo...
-なお、AGENTS.mdとSPEC.mdから、...\.copilot\plans\plan*.m...
***[[Northwind WebForms>https://github.com/OpenTouryoProj...
-GHC、[[Visual Studio 2026>Visual Studio]]、[[NET Framewo...
-なお、AGENTS.mdとSPEC.mdから、...\.copilot\plans\plan*.m...
***Claude Codeでもイケるらしい。 [#gbc9245e]
-根拠:
--GHCでも専用のツールやスキルは無しの状態で動いたのだから。
--ClaudeCode自身が「オレ、WinForms実装できるで。」って言...
--発生したのは「BOM付き・BOM無し系の問題」程度だった。
-参考
--Claude Codeで .NET Framework を使った C# の開発を行う -...
https://touch-sp.hatenablog.com/entry/2026/01/24/123713
--VS2026でclaude codeにプログラム(Windows Forms アプリの...
https://zenn.dev/ilumination1879/articles/246184f5f72ef4
--【生成AI活用】InputMan for Windows FormsのE2Eテストを試...
https://qiita.com/RYA234/items/a3f1ad221a9658fe3daf
***WinUI agent pluginが出ているらしい。 [#xbba769e]
-[[winapp CLI>Windows App Development CLI(winapp CLI)]]...
-[[WinUI 3>Windows App SDK#t5f03be5]]の評判は、カナリ悪い...
-参考
--WinApp CLIを試す(vscode+WinApp Extension) #VSCode - Qii...
https://qiita.com/kashin777/items/652be43d609e2c6610f3
--Microsoft 公式の WinUI agent plugin で WinUI 3 アプリ開...
https://zenn.dev/microsoft/articles/winui-agent-plugin
--Introducing WinUI agent plugin for GitHub Copilot and C...
https://devblogs.microsoft.com/ifdef-windows/build-native...
--WinUI agent plugin for GitHub Copilot CLI and Claude Co...
https://learn.microsoft.com/en-us/windows/apps/develop/ai...
-使い方
--GitHub Copilot
# Add the WinUI plugin to GitHub Copilot CLI
/plugin install winui@awesome-copilot
# Run the winui-setup skill to install all prerequisites
/winui:winui-setup
あとはカスタムエージェント winui-dev を選んで、「WinUI 3 ...
--Claude Code
claude plugin marketplace add microsoft/win-dev-skills
claude plugin install winui@win-dev-skills
インストール後、Claude Codeのプロンプト先頭に `@winui-dev...
*参考 [#o3a62225]
**開発基盤部会 Wiki [#e05fa6c5]
***費用対効果の話 [#p366b908]
-Copilotから、Anthropic・OpenAIのモデルを使用する場合、[[...
-そもそも、法人向けは高額(Claude CodeもAWS版は従量課金で...
-費用を抑え Claude Sonnet 4.5 などにダウングレードすると ...
***[[Master Vibe Coding with AI Coding Agents:Claude Cod...
***[[オリジナル・コンテンツ(イキナリLLMコーディング・エ...
----
Tags: [[:.NET開発]], [[:構成管理ツール]], [[:CI]], [[:BI/...
終了行:
「[[マイクロソフト系技術情報 Wiki>http://techinfoofmicros...
-[[戻る>GitHub]]
--[[GitHub Actions]]
--[[GitHub Copilot]]
---GitHub Copilot Coding Agent
---[[GitHub Copilot CLI]]
* 目次 [#r1fb843b]
#contents
*概要 [#l5d4552a]
コーディング・エージェント・ツール
-Claude Codeをはじめとする各プロダクトの台頭に強い危機感...
-名前の通り、従来のクラス・メソッド生成、スニペット生成、...
-このブレークスルーは「従来のエージェントアーキテクチャの...
*詳細 [#f478f222]
使い方については[[参考>#o3a62225]]を参照。
**実装可能な機能 [#dbca2bef]
[[Claude Code>https://dotnetdevelopmentinfrastructure.oss...
***エージェント [#a24cb275]
-my-reviewer.agent.mdなどとして(拡張子:.agent.md)以下...
--ヘッダ部は「YAMLフロントマター(メタデータ)」ボディ部...
--ヘッダ部には、name、tools、model などを任意で設定できる...
---
name: my-reviewer
description: バグやセキュリティ問題に特化したコードレビ...
---
# Code Reviewer
あなたは、バグやセキュリティ問題の検出に特化したコードレ...
コードレビュー時には、必ず以下を確認してください:
- SQLインジェクションの脆弱性
- エラーハンドリングの不足
- ハードコードされたシークレット情報
-ファイルの置き場は以下の2箇所
--リポジトリ:.github/agents/
--個人設定:~/.copilot/agents/
-エージェントは、以下のように呼出すことが出来る。
--Slashコマンド風に明示的に(/agent名)。
--Prompt中で、Slashコマンド風に明示的に。
--PromptとDescriptionの対応で暗黙的に。
-ポイント
--専門性の高いエージェントを定義し、会話履歴に残して複数...
--なお、定義が長すぎる(30,000文字制限に引っかかる)場合...
-参考
--https://zenn.dev/microsoft/articles/264b7b02b406f0
--https://qiita.com/chomado/items/54a6721a5aff60fa8631
--https://learn.microsoft.com/ja-jp/visualstudio/ide/copi...
--https://github.com/github/awesome-copilot/tree/main/age...
--https://github.com/github/copilot-cli-for-beginners/blo...
---hello-world.agent.md
---pytest-helper.agent.md
---python-reviewer.agent.md
***スキル [#lfcf3a01]
-SKILL.mdを以下のように定義する。
--ヘッダ部は「YAMLフロントマター(メタデータ)」、ボディ...
--ヘッダ部には、license、compatibility、metadata、allowed...
---
name: echo-skill
description: 入力されたテキストをそのままユーザーに返し...
---
# Echo Skill
このスキルは、入力されたテキストを受け取り、それをそのま...
-SKILL.md ファイルの置き場は以下の2箇所
--リポジトリ:.github/skills/スキル名(ココではechoなど)
--個人設定:~/.copilot/skills/スキル名(ココではechoなど)
-複雑なスキルには~
サンプルコードやスクリプトを用意できる。
.github/skills/
└── my-skill/
├── SKILL.md # 必須:スキル定義と指示
├── examples/ # 任意:参照用サンプルコード
│ └── sample.py
└── scripts/ # 任意:スキルで使用するスク...
└── validate.sh
-互換性(Claude Code)
--置き場を替えるだけ(.github/.copilot → .claude)
--発火しない場合は description の調整が必要
--allowed-tools フィールドは削除(Copilot では実験的機能)
-スキルは、以下のように呼出すことが出来る。
--Slashコマンド風に明示的に(/skill名)。
--Prompt中で、Slashコマンド風に明示的に。
--PromptとDescriptionの対応で暗黙的に。
-ポイント
--自動ロード:スキル・ディレクトリに配置するだけで、適切...
--標準化:オープン標準に基づいているため、異なるツール間...
-参考
--https://zenn.dev/microsoft/articles/a9d4f6ec2a05c2
--https://qiita.com/chomado/items/86295bdd04a0fe4685b2
--https://learn.microsoft.com/ja-jp/visualstudio/ide/copi...
--https://github.com/github/awesome-copilot/tree/main/ski...
--https://github.com/github/copilot-cli-for-beginners/blo...
---code-checklist
---commit-message
---hello-world
---pytest-gen
**レガシー対応 [#m435f87c]
-なお、[[GitHub Copilot]]同様、[[Visual Studio Code]] か...
-特に、[[Visual Studio 20XX>Visual Studio]] の [[.NET Fra...
--PJファイルの編集は、IDEにロックされている中で、スクリプ...
--また、VSの一部の?ファイルは既定でBOM付きUTF-8である必...
-検証
--みたいな:https://github.com/codecypher/NorthwindForms
--[[Northwindを用いて生成した仕様>https://dotnetdevelopme...
--ココでの方式は、[[プロ用(フェーズ毎の検収)>https://do...
***[[Northwind WinForms>https://github.com/OpenTouryoProj...
-GHC、[[Visual Studio 2026>Visual Studio]]、[[NET Framewo...
-なお、AGENTS.mdとSPEC.mdから、...\.copilot\plans\plan*.m...
***[[Northwind WebForms>https://github.com/OpenTouryoProj...
-GHC、[[Visual Studio 2026>Visual Studio]]、[[NET Framewo...
-なお、AGENTS.mdとSPEC.mdから、...\.copilot\plans\plan*.m...
***Claude Codeでもイケるらしい。 [#gbc9245e]
-根拠:
--GHCでも専用のツールやスキルは無しの状態で動いたのだから。
--ClaudeCode自身が「オレ、WinForms実装できるで。」って言...
--発生したのは「BOM付き・BOM無し系の問題」程度だった。
-参考
--Claude Codeで .NET Framework を使った C# の開発を行う -...
https://touch-sp.hatenablog.com/entry/2026/01/24/123713
--VS2026でclaude codeにプログラム(Windows Forms アプリの...
https://zenn.dev/ilumination1879/articles/246184f5f72ef4
--【生成AI活用】InputMan for Windows FormsのE2Eテストを試...
https://qiita.com/RYA234/items/a3f1ad221a9658fe3daf
***WinUI agent pluginが出ているらしい。 [#xbba769e]
-[[winapp CLI>Windows App Development CLI(winapp CLI)]]...
-[[WinUI 3>Windows App SDK#t5f03be5]]の評判は、カナリ悪い...
-参考
--WinApp CLIを試す(vscode+WinApp Extension) #VSCode - Qii...
https://qiita.com/kashin777/items/652be43d609e2c6610f3
--Microsoft 公式の WinUI agent plugin で WinUI 3 アプリ開...
https://zenn.dev/microsoft/articles/winui-agent-plugin
--Introducing WinUI agent plugin for GitHub Copilot and C...
https://devblogs.microsoft.com/ifdef-windows/build-native...
--WinUI agent plugin for GitHub Copilot CLI and Claude Co...
https://learn.microsoft.com/en-us/windows/apps/develop/ai...
-使い方
--GitHub Copilot
# Add the WinUI plugin to GitHub Copilot CLI
/plugin install winui@awesome-copilot
# Run the winui-setup skill to install all prerequisites
/winui:winui-setup
あとはカスタムエージェント winui-dev を選んで、「WinUI 3 ...
--Claude Code
claude plugin marketplace add microsoft/win-dev-skills
claude plugin install winui@win-dev-skills
インストール後、Claude Codeのプロンプト先頭に `@winui-dev...
*参考 [#o3a62225]
**開発基盤部会 Wiki [#e05fa6c5]
***費用対効果の話 [#p366b908]
-Copilotから、Anthropic・OpenAIのモデルを使用する場合、[[...
-そもそも、法人向けは高額(Claude CodeもAWS版は従量課金で...
-費用を抑え Claude Sonnet 4.5 などにダウングレードすると ...
***[[Master Vibe Coding with AI Coding Agents:Claude Cod...
***[[オリジナル・コンテンツ(イキナリLLMコーディング・エ...
----
Tags: [[:.NET開発]], [[:構成管理ツール]], [[:CI]], [[:BI/...
ページ名: