testing-course-samples
Skill by microsoft
Runs and checks the course notebooks and code samples against live Microsoft Foundry or Azure OpenAI settings. It is for learners who want a pass or fail report on their own Azure setup.
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/th/.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/th/.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 whether the lessons, notebooks and code samples in the course work with a live Microsoft Foundry or Azure OpenAI setup. It uses the scripts/validate-notebooks.ps1 runner, which executes every Python notebook without a user interface and prints a pass or fail table. The skill also covers setup, including the .env file, az login, Python packages and a check that the model deployment still exists.
Failed notebooks show the first error line, and full tracebacks are in log files. Transient errors such as HTTP 429 rate limits are retried automatically. The skill also lists which lessons need extra resources, such as Azure AI Search, GitHub MCP, Foundry Local or Playwright. It suits people who want to validate the course on their own subscription after upgrading packages or changing models. It is not the AI Smoke Test GitHub Action.
Written from the project's SKILL.md and checked against it.
What it can do
- Run all notebooksRuns every Python notebook in the course without a user interface using validate-notebooks.ps1.
- Filter lessonsThe -Filter option runs a single lesson, for example '08-*', with an optional -Timeout.
- List modeThe -List option shows which notebooks would run without executing them.
- Pass or fail reportPrints a pass or fail table and writes results.json and a log file for each notebook.
- Automatic retriesRetries transient failures such as HTTP 429 with -Retries and -RetryDelaySeconds.
- Environment setup checksCovers the .env file, az login, Python packages and listing model deployments with the Azure CLI.
- Extra resource mapLists which lessons need Azure AI Search, GitHub MCP, cognee, Playwright or Foundry Local.
- Result interpretationSeparates real code or configuration bugs from missing environment resources.
What you need
- Python 3.12 or later
- Azure AI Foundry project endpoint and an Azure OpenAI model deployment in .env
- Azure CLI login with az login
- PowerShell (pwsh) to run the validation script
Try asking
- Run all course notebooks and show which lessons pass or fail.
- Run only lesson 08 with a 600 second timeout.
- List the notebooks that would run without executing them.
Good to know
- Runs notebooks against live Azure resources, so a working subscription is required.
- .NET notebooks are excluded by default and need -IncludeDotnet.
- Some lessons fail without extra resources such as Azure AI Search or a GitHub PAT.
- Not for the AI Smoke Test GitHub Action, which checks the hosted agents.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: translations/th/.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.md9 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 replace the AI Smoke Test GitHub Action?
No. The source says the GitHub Action checks the hosted agents in use, while this skill runs the notebooks locally.
What should I do about repeated HTTP 429 errors?
The runner retries them automatically. The source says that if a deployment keeps returning 429, you should check the GlobalStandard TPM quota for the subscription, because raising one deployment's capacity will not help.
Which lessons need extra services?
The source lists lesson 05 for Azure AI Search, lesson 11 for GitHub MCP, lesson 13 for cognee, lesson 15 for Playwright and lesson 17 for Foundry Local.
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.
