install-atk

bởi microsoft

Cài đặt hoặc cập nhật M365 Agents Toolkit (ATK) CLI và tiện ích mở rộng VS Code. Kích hoạt: "install atk", "update atk", "install agents toolkit", "update agents…

npx skills add https://github.com/microsoft/skills --skill install-atk

Install ATK

Install or update the M365 Agents Toolkit (ATK) CLI and/or VS Code extension.

Telemetry Tagging

Before running any atk CLI commands, set the session environment variable so all CLI invocations are tagged as skill-initiated:

export ATK_CLI_SKILL=true

Run this once at the start of the session. All subsequent atk commands in the same terminal will inherit it.

Triggers

This skill activates when the user asks to:

  • Install or update ATK / Agents Toolkit / the toolkit
  • Install or update the ATK CLI
  • Install or update the ATK VS Code extension / VSIX
  • Set up ATK / get started with ATK

Behavior

ATK CLI commands use npx -y --package @microsoft/m365agentstoolkit-cli atk which automatically downloads and runs the latest version — no global installation is needed.

When triggered, determine what the user wants:

User intentAction
Install/update everything or just "ATK"Verify CLI works + install VSIX
Install/update CLI onlyVerify CLI works (npx handles it automatically)
Install/update extension / VSIX onlyInstall VSIX only
AmbiguousVerify CLI works + install VSIX

Commands

Step 1: Verify ATK CLI works

npx -y --package @microsoft/m365agentstoolkit-cli atk --version
  • If this succeeds (prints a version): ATK CLI is available. The npx prefix automatically downloads the latest package on first use and caches it for subsequent runs.
  • If this fails: Check that Node.js 18+ and npm are installed. The npx command requires a working Node.js environment.

Step 2: ATK VS Code Extension (if requested)

code --install-extension TeamsDevApp.ms-teams-vscode-extension

Execution

  1. Verify ATK CLI works by running npx -y --package @microsoft/m365agentstoolkit-cli atk --version
  2. Report the result (version number / failure)
  3. Install VS Code extension if requested
  4. Explain that all ATK commands use the npx -y --package @microsoft/m365agentstoolkit-cli atk prefix — no global install needed

Safety Rules

  • MUST NOT skip errors — report failures clearly to the user
  • MUST use the exact package names and extension IDs above — do not substitute with other names or links

Thêm skills từ microsoft

oss-growth
microsoft
Cá tính tăng trưởng OSS
official
accessibility-aria-expert
microsoft
Phát hiện và sửa các vấn đề về khả năng tiếp cận trong giao diện web React/Fluent UI. Sử dụng khi xem xét mã để đảm bảo tương thích với trình đọc màn hình, sửa nhãn ARIA, đảm bảo…
official
generate-canvas-app
microsoft
[DEPRECATED — sử dụng canvas-app thay thế] Tạo một ứng dụng canvas Power Apps hoàn chỉnh.
official
django
microsoft
Các phương pháp tốt nhất cho phát triển web Django bao gồm models, views, templates và testing.
official
github-issue-creator
microsoft
Chuyển đổi ghi chú thô, nhật ký lỗi, ghi âm giọng nói hoặc ảnh chụp màn hình thành báo cáo vấn đề markdown sắc nét theo phong cách GitHub. Sử dụng khi người dùng dán thông tin lỗi, lỗi…
official
python-package-management
microsoft
Sử dụng uv để quản lý phụ thuộc và poethepoet để tự động hóa tác vụ.
official
runtime-validation
microsoft
Xác thực thời gian chạy cho các ứng dụng đã di chuyển — bao gồm chiến lược kiểm thử (giai đoạn lập kế hoạch) và thực thi kiểm thử (giai đoạn xác thực): xác minh khởi động,…
official
azure-postgres-ts
microsoft
Kết nối đến Azure Database for PostgreSQL Flexible Server bằng gói pg (node-postgres) với hỗ trợ xác thực mật khẩu và Microsoft Entra ID (không mật khẩu).
official