testing-course-samples
Skill by microsoft
Guides an AI assistant through validating course notebooks and code samples against a live Microsoft Foundry or Azure OpenAI setup. Aimed at people who want to run the lessons locally and read the PASS/FAIL results.
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/no/.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/no/.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 agent skill guides an AI assistant through testing the course notebooks and code samples against a live Microsoft Foundry or Azure OpenAI setup. It covers environment setup, including a .env file, az login and Python packages. It also explains how to run the validate-notebooks.ps1 script, which runs each Python notebook headlessly and prints a PASS/FAIL matrix.
The skill explains how to read PASS and FAIL results, separating real regressions from environment gaps. It lists which lessons need extra resources such as Azure AI Search, a GitHub MCP server, Foundry Local or Playwright. It is for people who want to run the Microsoft course samples locally against their own Azure subscription.
Written from the project's SKILL.md and checked against it.
What it can do
- Environment checkChecks Python packages, the .env file, az login and the model deployment before a run.
- Notebook validatorRuns validate-notebooks.ps1 with options for filtering lessons, timeouts, retries and listing.
- Result interpretationExplains PASS and FAIL output and where to find per-notebook logs and results.json.
- Extra resource guideLists lessons that need Azure AI Search, GitHub MCP, Foundry Local or Playwright.
- Report summaryProduces a PASS/FAIL table grouped by lesson and separates regressions from environment gaps.
What you need
- Python 3.12 or later
- A Microsoft Foundry or Azure OpenAI deployment
- A .env file with the project endpoint and model deployment name
- Azure CLI signed in with az login
- Optional: Azure AI Search, GitHub PAT, Foundry Local, Playwright for specific lessons
Try asking
- Validate all course notebooks against my Azure subscription.
- Run a quick test of lesson 08 with a 600 second timeout.
- Which lessons are failing live, and why?
Good to know
- Runs notebooks locally, so it is not the AI Smoke Test GitHub Action for hosted agents.
- .NET notebooks are skipped by default unless -IncludeDotnet is used.
- Some lessons need extra resources and are expected to fail without them.
- Retries handle temporary errors such as HTTP 429, but exhausted subscription quota can still block runs.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: translations/no/.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
What does the notebook validator check?
It runs each Python notebook headlessly and prints a PASS or FAIL matrix. Run copies, logs and results.json are written to a temp folder.
Which lessons need extra services?
Lesson 05 needs Azure AI Search, lesson 11 needs a GitHub MCP server and PAT, lesson 15 needs Playwright, and lesson 17 needs Foundry Local.
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.
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 89 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.
