Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

testing-course-samples

Skill by microsoft

Explains how to validate the course's notebooks and code samples against a live Microsoft Foundry or Azure OpenAI setup. Built for learners and maintainers who want PASS/FAIL results from the validation runner.

  • Score 90
  • 81k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install testing-course-samples

Built from the published package, never by AI.

git clone --depth 1 https://github.com/microsoft/ai-agents-for-beginners /tmp/ai-agents-for-beginners && mkdir -p ~/.claude/skills && cp -r /tmp/ai-agents-for-beginners/.agents/skills/testing-course-samples ~/.claude/skills/testing-course-samples

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install testing-course-samples in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The testing-course-samples skill tells an AI assistant how to validate the lesson notebooks and code samples in the course repository against a live Microsoft Foundry or Azure OpenAI setup. It covers environment setup with a .env file, az login and Python packages, then explains how to run the scripts/validate-notebooks.ps1 runner. The runner executes each Python notebook headlessly and prints a PASS/FAIL matrix, writing logs and results.json to a temp folder.

The skill also explains how to read PASS and FAIL results and how transient errors such as HTTP 429 rate limits are retried. It lists which lessons need extra resources, such as Azure AI Search, a GitHub MCP server, Foundry Local or Playwright, and says those are expected to fail without them. It is aimed at course users who want to smoke-test the samples after upgrading packages or changing models. It runs notebooks locally and is not the AI Smoke Test GitHub Action.

Written from the project's SKILL.md and checked against it.

What it can do

  • Environment setupCovers the .env file, az login, and Python packages needed to run the course samples.
  • Notebook validation runnerUses scripts/validate-notebooks.ps1 to execute Python notebooks headlessly and report results.
  • Result interpretationExplains PASS and FAIL output, log files, and how to find the first error in a failing notebook.
  • Extra resource guideLists which lessons need Azure AI Search, GitHub MCP, Foundry Local, or Playwright.
  • Failure reportingDescribes summarising results by lesson and separating code regressions from environment gaps.

What you need

  • Python 3.12 or later
  • An Azure subscription with a Microsoft Foundry or Azure OpenAI model deployment
  • Azure CLI signed in with az login
  • A .env file at the repo root
  • PowerShell (pwsh) to run the validation script

Try asking

  • Validate all the course notebooks against my Azure subscription.
  • Run only the lesson 08 notebooks with a 600 second timeout.
  • Which lessons still pass or fail live? Group the results by lesson.

Good to know

  • Runs notebooks locally and does not validate deployed hosted agents.
  • Some lessons need extra resources and are expected to fail without them.
  • .NET notebooks are excluded by default and need the -IncludeDotnet flag.
  • Shared subscription quota limits can cause HTTP 429 errors.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .agents/skills/testing-course-samples/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md4 KB

Alternatives to testing-course-samples

All alternatives →
deploy-release-testvercel
94

Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.

AAA Skill 144k
deepeval-tracingconfident-ai
94

Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.

AAA Skill 20k
azure-container-registry-cligithub
94

Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.

AAA Skill 42k
crabbox-appsopenclaw
94

Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.

AAA Skill 395k
gke-batch-hpcgoogle
94

Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.

AAA Skill 25k
gke-cost-analysisgoogle
94

Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.

AAA Skill 25k

Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli

testing-course-samples: common questions

Do all lessons pass without extra setup?

No. The skill lists lessons that need Azure AI Search, a GitHub MCP server with a PAT, cognee, Playwright, or Foundry Local, and says they are expected to fail without them.

Is this the same as the AI Smoke Test GitHub Action?

No. The source says the GitHub Action validates deployed hosted agents, while this skill runs the notebooks locally.

Where does the validation runner write its output?

The script writes executed notebook copies, per-notebook logs, and results.json to the TEMP folder under aiab-nbval.

How do I install testing-course-samples?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is testing-course-samples free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is testing-course-samples safe to use?

It scores 90 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to testing-course-samples?

Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.

testing-course-samples Install

Add to stack

Loading.