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 course maintainers who need to confirm that lessons still run after package or model changes.
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/ms/.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/ms/.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 how to run the scripts/validate-notebooks.ps1 runner, which executes each Python notebook headlessly and prints a PASS/FAIL matrix.
It describes how to read PASS and FAIL results and how transient failures such as HTTP 429 are retried automatically. It also lists which lessons need extra resources, such as Azure AI Search, GitHub MCP, Foundry Local or Playwright. It is aimed at course maintainers and developers who want to confirm the samples work with their own Azure subscription.
Written from the project's SKILL.md and checked against it.
What it can do
- Environment setup checkLists the prerequisites: Python 3.12+, a .env file, az login and a model deployment.
- Notebook runnerRuns scripts/validate-notebooks.ps1 to execute each Python notebook headlessly.
- Filtering and listingSupports -Filter, -Timeout, -List and -Python options to choose which notebooks run.
- Result interpretationExplains PASS and FAIL outcomes and where the per-notebook logs and results.json are written.
- Retry handlingRetries transient failures such as HTTP 429 using -Retries and -RetryDelaySeconds.
- Extra resource guidanceLists lessons that need Azure AI Search, GitHub MCP, Foundry Local or Playwright.
What you need
- Python 3.12+
- Microsoft Foundry project endpoint and a model deployment
- Azure CLI login with az login
- A .env file copied from .env.example
- nbconvert and ipykernel Python packages
Try asking
- Validate all course notebooks against my Azure subscription
- Smoke test the course after upgrading packages or changing models
- Which lessons still pass or fail against live Foundry?
Good to know
- Runs notebooks locally. It does not test the hosted AI smoke tests in GitHub Actions.
- .NET notebooks are excluded by default and need -IncludeDotnet.
- Lessons that need extra resources are expected to fail without them.
- A 429 error from a shared subscription quota is not fixed by raising single deployment capacity.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: translations/ms/.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 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 run the notebooks on my machine?
Yes. The runner executes each Python notebook locally and headlessly, and writes copies, logs and results to a temp folder.
How does it authenticate to Azure?
The samples authenticate with AzureCliCredential using Entra ID, without keys. You need to run az login first.
Why do some lessons fail?
Lessons such as 05 Agentic RAG and 11 MCP / GitHub need extra services or credentials, so failures are expected without them.
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 88 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.
