testing-course-samples
Skill by microsoft
Validates the course notebooks and code samples against a live Microsoft Foundry or Azure OpenAI setup. It runs each Python notebook and reports a PASS/FAIL matrix.
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/tl/.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/tl/.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
The testing-course-samples skill helps an AI assistant validate the lesson notebooks and code samples in the Microsoft course repository against a live Microsoft Foundry or Azure OpenAI setup. It covers environment setup, including the .env file, az login and Python packages, and the scripts/validate-notebooks.ps1 runner. The runner executes each Python notebook without a user interface and reports a PASS/FAIL matrix.
The skill explains how to read PASS and FAIL results and how to separate real regressions from missing environment resources. It retries transient errors such as HTTP 429 rate limits and timeouts. It also lists which lessons need extra resources, such as Azure AI Search, GitHub MCP, Foundry Local or Playwright. It is aimed at people who maintain or run the course and want to smoke-test samples after upgrading packages or changing models.
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 to run the course.
- validate-notebooks.ps1 runnerRuns each Python notebook without an interface and writes per-notebook logs and results.json.
- Result interpretationExplains PASS and FAIL results and points to the log file for the full traceback.
- Retry handlingAutomatically retries transient failures such as HTTP 429 rate limits, token hiccups and timeouts.
- Extra resource guideLists which lessons need Azure AI Search, GitHub MCP, Foundry Local or Playwright.
What you need
- Python 3.12 or later
- A Microsoft Foundry or Azure OpenAI model deployment
- A .env file in the repository root
- Azure CLI with az login
- PowerShell to run the validation script
Try asking
- Validate all the course notebooks against my Azure subscription.
- Run a smoke test on the course samples after I upgrade the packages.
- Which lessons pass and which fail when run live?
Good to know
- Runs notebooks locally and is not meant for the AI Smoke Test GitHub Action that checks deployed hosted agents.
- Some lessons need extra resources such as Azure AI Search, GitHub MCP, cognee, Playwright or Foundry Local.
- .NET notebooks are excluded by default and need the -IncludeDotnet flag.
- Frequent HTTP 429 errors may need a check of the subscription's GlobalStandard TPM quota.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: translations/tl/.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.md6 KB
Alternatives to testing-course-samples
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
testing-course-samples: common questions
Does this skill test deployed hosted agents?
No. The source says the AI Smoke Test GitHub Action checks deployed hosted agents, while this skill runs the notebooks locally.
What does a FAIL result mean?
The runner shows the first *Error or *Exception line. The full traceback is in the matching log_*.txt file in the output directory.
Which lessons need extra setup?
The source lists lesson 05 (Azure AI Search), lesson 11 (GitHub MCP with a PAT), lesson 13 (cognee), lesson 15 (Playwright browsers) and lesson 17 (Foundry Local with a downloaded Qwen 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 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: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
