「マイクロソフト系技術情報 Wiki」は、「Open棟梁Project」,「OSSコンソーシアム .NET開発基盤部会」によって運営されています。
参考を参照。
(全プラットフォーム)
npm install -g @github/copilot
winget install GitHub.Copilot
curl -fsSL https://gh.io/copilot-install | bash
brew install copilot-cli
copilot
copilot --autopilot
copilot --continue
copilot --resume
copilot --resume abc123
copilot --agent python-reviewer
copilot --no-custom-instructions
/login
Normal、Plan、 Auto Pilot の3種類のモード
copilot --autopilot copilot --plan(Issueに上がっている)
「Shift+Tab」で切り替え。
/plan /allow-all(エイリアス /yolo
Claude Codeと同じ。
仕様状況の確認
AIモデルの確認・切り替え
プロジェクトInstructionファイルを生成
実行モード
計画のみで実装しない。
/plan "<プロンプト>"
オートパイロット
/allow-all "<プロンプト>" /yolo "<プロンプト>"
フツーにCLIのChatで実行する。
copilot -p "<プロンプト>"
# コミットメッセージを自動生成 COMMIT_MSG=$(copilot -p "次の差分に対するコミット・メッセージを生成してください: $(git diff --staged)") git commit -m "$COMMIT_MSG" # ファイルレビュー copilot --allow-all -p "@myfile.py の問題点をレビューしてください"
/session
/rename
/resume
/context
/clear
/compact
/share
/allow-all
/add-dir <directory>
/list-dirs
/diff
/review
/research
/terminal-setup
/agent
/agent python-reviewer
/delegate
/fleet
/tasks
/init
/plan または Shift+Tab(モード切替)
/review
自動実行
自動実行
/skills
/skills list
/skills info <name>
/skills add <name>
/skills remove <name>
/skills reload
/mcp
AIを介さずに コマンド(git status) を直接実行
!git status
@ファイルやパスを指定
*
**