testing-course-samples
Skill by microsoft
Validates the course notebooks and code samples against a live Microsoft Foundry or Azure OpenAI setup. It is for users who want to confirm the lessons still run on their own Azure configuration.
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/translations/pcm/.agents/skills/testing-course-samples ~/.claude/skills/testing-course-samplesRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/microsoft/ai-agents-for-beginners /tmp/ai-agents-for-beginners && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/ai-agents-for-beginners/translations/pcm/.agents/skills/testing-course-samples ~/.gemini/antigravity-cli/skills/testing-course-samplesAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install testing-course-samples in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill checks that the lesson notebooks and code samples in the course run against a live Microsoft Foundry or Azure OpenAI configuration. It covers environment setup, including a .env file, az login and Python packages. It also explains the runner at scripts/validate-notebooks.ps1, which runs each Python notebook without display and produces a PASS/FAIL matrix.
The runner can filter to one lesson, set a per-cell timeout, list the notebooks it would run, and retry temporary failures such as HTTP 429 rate limits. The skill explains how to read PASS and FAIL results and which lessons need extra resources such as Azure AI Search, GitHub MCP, Foundry Local or Playwright. It runs locally and is not the deployed-agent 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 the Python packages needed for the course.
- Notebook validation runnerRuns every Python notebook through scripts/validate-notebooks.ps1 and produces a PASS/FAIL matrix.
- Single-lesson runsUses the -Filter, -Timeout and -List options to run or preview a subset of notebooks.
- Retry handlingRetries temporary failures such as 429 rate limits and token errors using -Retries and -RetryDelaySeconds.
- Result readingExplains what PASS and FAIL mean and where the run copies, logs and results.json are written.
- Extra resource guideLists which lessons need Azure AI Search, GitHub MCP, Foundry Local, Playwright or the .NET kernel.
- Report formatGroups results by lesson and separates code regressions from environment problems.
What you need
- Python 3.12 or later
- An Azure subscription with a Microsoft Foundry or Azure OpenAI model deployment
- Azure CLI with az login completed
- A .env file with the Foundry project and Azure OpenAI endpoints
Try asking
- Check that all the course notebooks still work on my Azure subscription.
- Run the validation script for lesson 08 with a 600 second timeout.
- Summarize which lessons pass and fail, grouped by lesson.
Good to know
- Runs notebooks locally and is not the deployed-agent AI Smoke Test GitHub Action.
- Lessons 05, 11, 13, 15 and 17 need extra resources or setup to pass.
- Dotnet notebooks are skipped by default and need the -IncludeDotnet option.
- Raising a deployment's capacity does not help when the subscription quota is used up.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: translations/pcm/.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.md5 KB
Alternatives to testing-course-samples
All alternatives →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.
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.
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.
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.
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.
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.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
testing-course-samples: common questions
Which lessons need extra resources to pass?
Lesson 05 needs Azure AI Search, lesson 11 needs a GitHub MCP server and PAT, lesson 13 needs cognee, lesson 15 needs Playwright browsers and lesson 17 needs Foundry Local with a Qwen model.
What do PASS and FAIL mean?
PASS means the notebook finished without any cell error. FAIL means the first error line appeared, and the matching log file in the output folder shows the full problem.
Does this replace the AI Smoke Test GitHub Action?
No. The source says that action checks deployed hosted agents, while this skill runs the notebooks on the local machine.
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.
