testing-course-samples
Skill by microsoft
Runs the Python notebooks and code samples of a Microsoft Foundry or Azure OpenAI course against a live setup and reports PASS or FAIL per lesson. Built for course maintainers and learners checking their environment.
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/km/.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/km/.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 course notebooks and code samples run against a working Microsoft Foundry or Azure OpenAI setup. It drives the repository script scripts/validate-notebooks.ps1, which executes all Python notebooks without a UI and prints a PASS or FAIL result for each one. Results and logs are saved to a temporary folder, and the script exits with the number of failed steps.
Before running, the skill checks the environment: Python 3.12 or later with the course packages, a .env file with the Foundry project endpoint and model deployment name, a completed az login, and an existing model deployment. Transient errors such as HTTP 429 throttling are retried automatically. The skill also notes which lessons need extra resources, such as Azure AI Search, a GitHub MCP server, Foundry Local, or Playwright. It is meant for people who run the course on their own Azure subscription, not for the GitHub AI Smoke Test.
Written from the project's SKILL.md and checked against it.
What it can do
- Run all notebooksExecutes every Python notebook in the course with scripts/validate-notebooks.ps1.
- Filter lessonsRuns only the lessons that match a filter, such as 08-*, with a custom per-cell timeout.
- List without runningShows which notebooks would run, without executing them.
- Set interpreterUses an explicit Python path when python is not on PATH.
- Retry transient failuresRetries rate limit, token, and timeout failures automatically, with configurable retry count and delay.
- Report PASS or FAILGives a PASS or FAIL result per notebook and points to the first error line and the log file.
- Check prerequisitesVerifies Python packages, the .env file, az login, and the model deployment before running.
- Flag lessons needing extra resourcesLists lessons that expect Azure AI Search, GitHub MCP, cognee, Playwright, or Foundry Local.
What you need
- Python 3.12 or later
- Azure account with a Microsoft Foundry or Azure OpenAI project
- A .env file with the Foundry project endpoint and model deployment name
- Azure CLI login with az login
- PowerShell (pwsh) to run the validation script
Try asking
- Validate all the course notebooks on my Azure subscription.
- Run the validation for lesson 08 with a 600 second timeout.
- Which lessons still fail or need extra resources on my setup?
Good to know
- .NET notebooks are not included by default and need the -IncludeDotnet option.
- Some lessons need extra resources such as Azure AI Search, a GitHub PAT, Playwright, or Foundry Local.
- Adding deployment capacity does not help if the subscription quota itself is used up.
- This skill is not for the GitHub AI Smoke Test, which checks already deployed agents.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: translations/km/.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.md10 KB
Alternatives to testing-course-samples
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
testing-course-samples: common questions
Does this skill run the course notebooks against live Azure services?
Yes. It runs the Python notebooks in place against the Microsoft Foundry or Azure OpenAI setup defined in the .env file.
What does a FAIL result mean?
A FAIL means a notebook cell raised an error or exception. The skill shows the first error line and points to the matching log file for the full output.
Which lessons need more than an Azure login?
Lesson 05 needs Azure AI Search, lesson 11 needs a GitHub MCP server and PAT, lesson 13 needs cognee, lesson 15 needs Playwright, and lesson 17 needs Foundry Local with a downloaded model.
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: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
