testing-course-samples
Skill by microsoft
Validates the course's notebook and code samples against a live Microsoft Foundry or Azure OpenAI setup. It is for learners and maintainers who want to check that the samples run in their own Azure 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/fi/.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/fi/.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 guides an assistant through checking the course's notebook and code samples against a live Microsoft Foundry or Azure OpenAI configuration. It covers environment setup with a .env file, az login and Python packages. It then runs scripts/validate-notebooks.ps1, which executes the Python notebooks without a user interface and prints a PASS/FAIL matrix.
The skill explains how to read PASS and FAIL results, how transient errors such as HTTP 429 are retried, and which lessons need extra resources such as Azure AI Search, GitHub MCP, Foundry Local or Playwright. It is meant for people running the course who want to confirm the samples work in their own Azure subscription.
Written from the project's SKILL.md and checked against it.
What it can do
- Environment setup checkWalks through Python packages, the .env file, az login and the model deployment check.
- Run all notebooksRuns all Python notebooks through scripts/validate-notebooks.ps1 without a user interface.
- Filter by lessonRuns a single lesson with -Filter and a custom per-cell -Timeout.
- List modeUses -List to show which notebooks would run without executing them.
- Interpreter selectionAccepts an explicit Python path with -Python when python is not on PATH.
- Automatic retriesRetries temporary failures such as HTTP 429 using -Retries and -RetryDelaySeconds.
- PASS/FAIL reportingSummarizes results by lesson and points to log files and results.json for failures.
- Quota check guidanceSuggests checking subscription GlobalStandard TPM quota when a deployment keeps getting 429 errors.
What you need
- Python 3.12 or later
- An Azure subscription with a Microsoft Foundry project and model deployment
- Azure CLI signed in with az login
- PowerShell (pwsh) to run the validation script
Try asking
- Run the course notebooks against my Azure OpenAI setup and show a PASS/FAIL table
- Run only the 08 lesson notebooks with a 600 second timeout
- Which lessons fail without Azure AI Search or Playwright installed?
Good to know
- Runs notebooks locally, so it is not the hosted AI Smoke Test GitHub action
- .NET notebooks are skipped unless -IncludeDotnet is used
- Some lessons need extra resources such as Azure AI Search, a GitHub PAT or Foundry Local
- Retries do not help when the subscription quota itself is used up
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: translations/fi/.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
Is this the same as the AI Smoke Test GitHub action?
No. The source says the AI Smoke Test validates installed hosted agents, while this skill runs the notebooks locally.
Which lessons need extra resources?
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 a Foundry Local runtime with a Qwen model.
What happens when a run hits rate limits?
Temporary failures such as HTTP 429 are retried automatically, 2 times by default with a 20 second delay between attempts.
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: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
