Official agent skill

Testing Course Samples

by microsoft in microsoft/ai-agents-for-beginners

Gunakan apabila diminta untuk mengesahkan, menguji, melakukan ujian asap, atau menjalankan buku nota dan contoh kod kursus terhadap konfigurasi Microsoft Foundry / Azure OpenAI secara langsung.

OfficialMITAuto-check: notesTesting & QA

Install Testing Course Samples

skills CLI
$ npx skills add microsoft/ai-agents-for-beginners --skill testing-course-samples -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install microsoft/ai-agents-for-beginners testing-course-samples --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/microsoft/ai-agents-for-beginners.git skills-src && mkdir -p .claude/skills && cp -r skills-src/translations/ms/.agents/skills/testing-course-samples .claude/skills/testing-course-samples && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
testing-course-samples
GitHub stars
77k
Token cost
~1.3k tokens
SKILL.md length
423 words
Files
1
Skills in repo
123
Repo updated
First seen
Licence
MIT

At a glance

Gunakan apabila diminta untuk mengesahkan, menguji, melakukan ujian asap, atau menjalankan buku nota dan contoh kod kursus terhadap konfigurasi Microsoft Foundry / Azure OpenAI secara langsung.

  • Works in 4 steps: Python 3.12+ dengan kebergantungan… → .env di akar repositori (salin dari… → az login telah selesai — contoh… → …
  • Tasks that involve Browser testing
  • SKILL.md covers Bila untuk digunakan, Prasyarat (semak dahulu), Menjalankan pengesahan and Memahami keputusan, plus 2 more sections
  • Calls pwsh, python and az

What it does

Testing Course Samples is an agent skill from microsoft/ai-agents-for-beginners, published by the product's own GitHub organization. Gunakan apabila diminta untuk mengesahkan, menguji, melakukan ujian asap, atau menjalankan buku nota dan contoh kod kursus terhadap konfigurasi Microsoft Foundry / Azure OpenAI secara langsung. Meliputi penyediaan persekitaran (.env, az login, pakej), skrip/validate-notebooks.ps1 sebagai pelancar, mentafsir keputusan LULUS/GAGAL, dan pelajaran mana yang memerlukan sumber tambahan (Azure AI Search, GitHub MCP, Foundry Local, Playwright).

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Testing & QA, covering Browser testing. It works with Playwright, Azure OpenAI, Microsoft Azure and Azure AI Search. The repository describes itself as: 18 Lessons to Get Started Building AI Agents. The licence is MIT.

When your agent uses it

  • Tasks that involve Browser testing

Example prompts

  • “/testing-course-samples”

Requirements

  • Python 3

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Python 3.12+ dengan kebergantungan kursus: python -m pip install -r requirements.txt
  2. .env di akar repositori (salin dari .env.example) dengan sekurang-kurangnya
  3. az login telah selesai — contoh mengesahkan dengan AzureCliCredential (Entra ID, tanpa kunci).
  4. Sahkan penempatan model wujud

What it can do on your machine

Read from SKILL.md and the folder at commit 25b7985. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • pwsh
    • python
    • az
    • playwright

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Testing Course Samples loads about 1.3k tokens when it runs. Until then it costs about 116 tokens; SKILL.md has 423 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~116
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:5
    gsung. Meliputi penyediaan persekitaran (.env,
  • NoteMentions a .env fileSKILL.md:29
    2. **`.env` di akar repositori** (salin dari [`.env.example`](../../../../../.env.example)) dengan sekurang-kurangnya:

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from microsoft/ai-agents-for-beginners at commit 25b7985, republished under its MIT licence (© microsoft). 423 words, ~1,262 tokens.

Download SKILL.mdSave it as .claude/skills/testing-course-samples/SKILL.md (or your agent's skills folder).
name
testing-course-samples
description
Gunakan apabila diminta untuk mengesahkan, menguji, melakukan ujian asap, atau menjalankan buku nota dan contoh kod kursus terhadap konfigurasi Microsoft Foundry / Azure OpenAI secara langsung. Meliputi penyediaan persekitaran (.env, az login, pakej), skrip/validate-notebooks.ps1 sebagai pelancar, mentafsir keputusan LULUS/GAGAL, dan pelajaran mana yang memerlukan sumber tambahan (Azure AI Search, GitHub MCP, Foundry Local, Playwright).

Menguji Contoh Kursus

Sahkan bahawa buku nota pelajaran dan contoh kod berjalan dengan setup langsung Microsoft Foundry / Azure OpenAI. Repositori menyediakan runner di scripts/validate-notebooks.ps1 yang menjalankan setiap buku nota Python tanpa kepala dan mencetak matriks LULUS/GAGAL.

Bila untuk digunakan

  • "Sahkan semua buku nota / contoh kepada langganan Azure saya."
  • "Ujian asap kursus selepas menaik taraf pakej atau menukar model."
  • "Pelajaran mana yang masih lulus / gagal secara langsung?"

Jangan gunakan ini untuk GitHub Action Ujian Asap AI (yang mengesahkan ejen hos yang dilancar — lihat tests/README.md). Kemahiran ini menjalankan buku nota secara tempatan.

Prasyarat (semak dahulu)

  1. Python 3.12+ dengan kebergantungan kursus: python -m pip install -r requirements.txt ditambah pelaksana: python -m pip install nbconvert ipykernel.
  2. .env di akar repositori (salin dari .env.example) dengan sekurang-kurangnya:
    • AZURE_AI_PROJECT_ENDPOINT — titik hujung projek Foundry (https://<account>.services.ai.azure.com/api/projects/<project>)
    • AZURE_AI_MODEL_DEPLOYMENT_NAME — penempatan yang tidak dilarang (contoh gpt-4.1-mini)
    • AZURE_OPENAI_ENDPOINT (https://<account>.openai.azure.com) dan AZURE_OPENAI_DEPLOYMENT untuk pelajaran yang memanggil Azure OpenAI secara langsung (Pelajaran 06, 02-azure-openai, 14 penyerahan/silangan manusia).
  3. az login telah selesai — contoh mengesahkan dengan AzureCliCredential (Entra ID, tanpa kunci).
  4. Sahkan penempatan model wujud: az cognitiveservices account deployment list -g <rg> -n <account> -o table.

Menjalankan pengesahan

powershell
# Semua buku nota Python (melangkau .NET, .venv, site-packages, terjemahan, aset kemahiran)
pwsh scripts/validate-notebooks.ps1

# Satu pelajaran sahaja, dengan masa tamat per-sel yang lebih panjang
pwsh scripts/validate-notebooks.ps1 -Filter '08-*' -Timeout 600

# Hanya senaraikan apa yang akan dijalankan (tanpa pelaksanaan)
pwsh scripts/validate-notebooks.ps1 -List

# Penafsir secara eksplisit (jika `python` tidak ada dalam PATH, contohnya alias Kedai Windows)
pwsh scripts/validate-notebooks.ps1 -Python "C:/path/to/python.exe"

Skrip menulis salinan yang dilaksanakan, log per-buku nota, dan results.json ke $env:TEMP\aiab-nbval dan keluar dengan bilangan kegagalan.

Memahami keputusan

  • PASS — buku nota berjalan dari awal hingga akhir tanpa ralat sel.
  • FAIL — baris *Error / *Exception pertama dipaparkan; buka log_*.txt yang sepadan dalam direktori output untuk traceback penuh.
  • Kegagalan satu buku nota dibatasi oleh -Timeout (setiap sel), jadi sel human-in-the-loop yang tersekat muncul sebagai StdinNotImplementedError dan bukannya tersekat.
Show full SKILL.md (180 more words)Show less

Pelajaran yang memerlukan sumber tambahan (dijangka gagal tanpa mereka)

PelajaranKeperluan tambahan
05 Agentic RAGAzure AI Search (AZURE_SEARCH_SERVICE_ENDPOINT, kunci) — ada laluan fallback dalam memori
11 MCP / GitHubPelayan GitHub MCP + PAT
13 memory (cognee)cognee dikonfigurasi dengan penyedia model
15 penggunaan pelayarPelayar Playwright dipasang (playwright install) + AZURE_OPENAI_CHAT_DEPLOYMENT_NAME
17 agen tempatanMasa jalan Foundry Local + model Qwen yang dimuat turun (di peranti, tiada awan)
buku nota *-dotnet-*Kernel .NET Interactive (dikecualikan secara lalai; gunakan -IncludeDotnet)

Melaporkan kembali

Rumuskan sebagai jadual LULUS/GAGAL yang dikelompokkan mengikut pelajaran. Pisahkan regresi sejati (pepijat kod/konfigurasi yang perlu diperbaiki) daripada kekurangan persekitaran (Search/Foundry Local/PAT hilang), dan nyatakan log_*.txt yang gagal untuk setiap kegagalan sebenar.


<!-- CO-OP TRANSLATOR DISCLAIMER START -->

Penafian: Dokumen ini telah diterjemahkan menggunakan perkhidmatan terjemahan AI Co-op Translator. Walaupun kami berusaha untuk ketepatan, sila ambil maklum bahawa terjemahan automatik mungkin mengandungi kesilapan atau ketidaktepatan. Dokumen asal dalam bahasa asalnya harus dianggap sebagai sumber yang sahih. Untuk maklumat penting, terjemahan oleh manusia profesional adalah disyorkan. Kami tidak bertanggungjawab terhadap sebarang salah faham atau salah tafsir yang timbul daripada penggunaan terjemahan ini.

<!-- CO-OP TRANSLATOR DISCLAIMER END -->

© microsoft, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in translations/ms/.agents/skills/testing-course-samples of microsoft/ai-agents-for-beginners.

Open the folder on GitHubat commit 25b7985

Compare with similar skills

Testing Course Samples next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Testing Course Samples compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Testing Course Samples this skillmicrosoft/ai-agents-for-beginners77k—~1.3kAutomated safety check: NotesMIT
Record E2E Giflablup/backend.ai-webui133—~907Automated safety check: NotesLGPL-3.0
Permission ManageraAAaqwq/AGI-Super-Team1051 repos~1.3kAutomated safety check: PassMIT
LangBot Environment Setuplangbot-app/LangBot18k—~496Automated safety check: NotesApache-2.0
Code Reviewnteract/semiotic2.7k—~1.5kAutomated safety check: PassApache-2.0
Playwright E2E Testsonyx-dot-app/onyx32k1 repos~2.8kAutomated safety check: NotesCustom licence

Similar skills

  • Record E2E Gif

    lablup/backend.ai-webui

    Record Playwright e2e tests as one GIF per test case (video → ffmpeg palette GIF) and return a markdown table for a PR description.

    133 GitHub stars~907 tokensUpdated today
    Testing & QAAuto-check: notes
  • Permission Manager

    aAAaqwq/AGI-Super-Team

    管理Claude Code的全局工具权限配置,自动将MCP命令或其他工具添加到allowedTools中,避免每次使用时都需要手动批准。工作流程:确认用户需要添加的命令 - 确认添加级别(默认全局~/.claude.json) - 执行添加 - 验证并提醒重启。

    105 GitHub starsUsed in 1 repo~1.3k tokens
    Testing & QAAuto-check passed
  • LangBot Environment Setup

    langbot-app/LangBot

    Prepares a LangBot development and testing environment for an agent, covering service startup, proxy settings and browser access through Computer Use or Playwright MCP.

    18k GitHub stars~496 tokensUpdated today
    DevelopmentAuto-check: notes
  • Code Review

    nteract/semiotic

    Review Semiotic pull requests for behavioral bugs, regressions, contract drift, and missing evidence.

    2.7k GitHub stars~1.5k tokensUpdated today
    DevelopmentAuto-check passed
  • Playwright E2E Tests

    onyx-dot-app/onyx

    Write and maintain Playwright end-to-end tests for the Onyx application.

    32k GitHub starsUsed in 1 repo~2.8k tokens
    Testing & QAAuto-check: notes
  • Shogun Screenshot

    yohey-w/multi-agent-shogun

    スクリーンショットの取得・加工を行う。ローカルスクショから最新画像を取得、 PlaywrightでWebページをキャプチャ、画像のトリミング・リサイズ、機微情報を黒塗りマスキング。

    1.4k GitHub stars~901 tokensUpdated 2 mo ago
    Testing & QAAuto-check: notes

More from microsoft/ai-agents-for-beginners

All 123 skills in this repo
  • Jupyter Notebook

    microsoft/ai-agents-for-beginners

    Official

    A skill your agent uses when the user asks to create, scaffold, or edit Jupyter notebooks (.ipynb) for experiments, explorations, or tutorials; prefer the bundled templates and run the helper script…

    77k GitHub starsUsed in 8 repos~1k tokens
    Auto-check passed
  • Azure Openai To Responses

    microsoft/ai-agents-for-beginners

    Official

    Migrate Python apps from Azure OpenAI Chat Completions to the Responses API.

    77k GitHub stars~6k tokensUpdated 18 days ago
    Auto-check: notes
  • Azure Openai To Responses

    microsoft/ai-agents-for-beginners

    Official

    Shift Python apps dem from Azure OpenAI Chat Completions go Responses API.

    77k GitHub stars~6k tokensUpdated 18 days ago
    Auto-check: notes
  • Jupyter Notebook

    microsoft/ai-agents-for-beginners

    Official

    Kasuta, kui kasutaja palub luua, üles ehitada või redigeerida Jupyteri märkmikke (.ipynb) katsetuste, uurimiste või juhendite jaoks; eelista kaasasolevaid malle ja käivita abiskript newnotebook.py…

    77k GitHub stars~1.2k tokensUpdated 18 days ago
    Auto-check passed
  • Jupyter Notebook

    microsoft/ai-agents-for-beginners

    Official

    Käytetään, kun käyttäjä pyytää luomaan, alustamaan tai muokkaamaan Jupyter-muistikirjoja (.ipynb) kokeita, tutkimuksia tai opetusohjelmia varten; käytä mieluummin mukana olevia mallipohjia ja…

    77k GitHub stars~1.3k tokensUpdated 18 days ago
    Auto-check passed
  • Jupyter Notebook

    microsoft/ai-agents-for-beginners

    Official

    À utiliser lorsque l'utilisateur demande de créer, structurer ou modifier des notebooks Jupyter (.ipynb) pour des expériences, explorations ou tutoriels ; privilégiez les modèles fournis et exécutez…

    77k GitHub stars~1.4k tokensUpdated 18 days ago
    Auto-check passed

Categories

Questions about Testing Course Samples

What does Testing Course Samples do?

Gunakan apabila diminta untuk mengesahkan, menguji, melakukan ujian asap, atau menjalankan buku nota dan contoh kod kursus terhadap konfigurasi Microsoft Foundry / Azure OpenAI secara langsung. Testing Course Samples is an agent skill from microsoft/ai-agents-for-beginners, published by the product's own GitHub organization. Gunakan apabila diminta untuk mengesahkan, menguji, melakukan ujian asap, atau menjalankan buku nota dan contoh kod kursus terhadap konfigurasi Microsoft Foundry / Azure OpenAI secara langsung.

When should I use Testing Course Samples?

Testing Course Samples fits situations like: tasks that involve Browser testing.

How do I install Testing Course Samples in Claude Code?

Run `npx skills add microsoft/ai-agents-for-beginners --skill testing-course-samples -a claude-code`. Or copy the skill folder (translations/ms/.agents/skills/testing-course-samples in microsoft/ai-agents-for-beginners) into .claude/skills/testing-course-samples in your project. Claude Code loads it when a task matches its description.

How do I install Testing Course Samples in Codex?

Run `npx skills add microsoft/ai-agents-for-beginners --skill testing-course-samples -a codex`. Or copy the skill folder (translations/ms/.agents/skills/testing-course-samples in microsoft/ai-agents-for-beginners) into .agents/skills/testing-course-samples in your project. Codex loads it when a task matches its description.

Can I use Testing Course Samples in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add microsoft/ai-agents-for-beginners --skill testing-course-samples -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/testing-course-samples, .gemini/skills/testing-course-samples, .github/skills/testing-course-samples and .opencode/skills/testing-course-samples in your project.

What does Testing Course Samples need to run?

Going by SKILL.md and its folder, Testing Course Samples needs the command-line tools its instructions call (pwsh, python, az and playwright). Our summary lists: Python 3.

Does Testing Course Samples access the network?

SKILL.md names 1 domain. As links in the text: github.com. This is read from the text; nothing was executed.

Is Testing Course Samples safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Testing Course Samples use?

Testing Course Samples is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Testing Course Samples use?

About 1.3k tokens (SKILL.md is roughly 5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Testing Course Samples?

Skills that share tags, products or a category with Testing Course Samples: Record E2E Gif (lablup/backend.ai-webui, 133 stars), Permission Manager (aAAaqwq/AGI-Super-Team, 105 stars), LangBot Environment Setup (langbot-app/LangBot, 18k stars) and Code Review (nteract/semiotic, 2.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Testing Course Samples?

microsoft (a GitHub organization, an official publisher) maintains it in microsoft/ai-agents-for-beginners, which has 76,567 GitHub stars. The repository holds 123 skills in this directory. The repository was last updated on September 19, 2026.

Source: microsoft/ai-agents-for-beginners on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.