Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

testing-course-samples

Skill by microsoft

Validates the notebooks and code samples of a Microsoft course against a live Microsoft Foundry or Azure OpenAI setup. It is for course maintainers and learners who want to confirm the samples run.

  • Score 89
  • 81k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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/mr/.agents/skills/testing-course-samples ~/.claude/skills/testing-course-samples

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install testing-course-samples in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill checks that the notebooks and code samples in a Microsoft course run against a live Microsoft Foundry or Azure OpenAI configuration. It covers environment setup, including a .env file, az login and Python packages, and explains how to use the scripts/validate-notebooks.ps1 runner.

The runner executes each Python notebook headlessly and prints a PASS or FAIL matrix. It writes per-notebook logs and a results.json file, and it retries transient failures such as HTTP 429 rate limits. The skill also lists which lessons need extra resources, such as Azure AI Search, GitHub MCP, Foundry Local or Playwright. It does not cover the AI Smoke Test GitHub action for hosted agents.

Written from the project's SKILL.md and checked against it.

What it can do

  • Environment setup checkWalks through Python 3.12+, the .env file, az login and the model deployment check.
  • Notebook validation runnerRuns scripts/validate-notebooks.ps1 to execute each Python notebook headlessly and print PASS or FAIL.
  • Lesson filteringRuns a single lesson with -Filter and a longer per-cell timeout with -Timeout.
  • Dry run listingLists the notebooks that would run with -List, without executing them.
  • Automatic retriesRetries transient failures such as HTTP 429 limits, timeouts and credential hiccups.
  • Result interpretationExplains PASS and FAIL results and where to find log files and results.json.
  • Extra resource mappingLists which lessons need Azure AI Search, GitHub MCP, cognee, Playwright or Foundry Local.

What you need

  • Python 3.12 or later
  • Microsoft Foundry project endpoint and model deployment
  • Azure OpenAI endpoint and deployment for some lessons
  • Azure CLI login with az login
  • A .env file in the repository root

Try asking

  • Validate all course notebooks against my Azure subscription.
  • Run the course smoke test after I upgrade packages or change models.
  • Which lessons still pass or fail in my Foundry setup?

Good to know

  • Not for the AI Smoke Test GitHub action or hosted agents.
  • .NET notebooks are skipped unless -IncludeDotnet is used.
  • Some lessons need extra resources such as Azure AI Search, a GitHub PAT or Foundry Local, and fail without them.
  • Repeated HTTP 429 errors can come from the subscription GlobalStandard TPM quota.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: translations/mr/.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 →
openclaw-github-repo-commandersickn33
94

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.

AAA Skill 50k
gradiogradio-app
94

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.

AAA Skill 44k
hig-components-menussickn33
94

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.

AAA Skill 50k
fastapi-templateswshobson
94

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.

AAA Skill 43k
appfunctionsandroid
94

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.

AAA Skill 11k
agent-qa-authoringsickn33
94

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.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

testing-course-samples: common questions

What does the validate-notebooks.ps1 script do?

It runs each Python notebook in the course headlessly and prints a PASS or FAIL matrix. It writes logs and results.json to the temp folder.

Why do some lessons fail even when the setup is correct?

The source says some lessons need extra resources such as Azure AI Search, GitHub MCP with a PAT, cognee, Playwright or Foundry Local. Lessons without them can fail.

Can this skill test hosted agents?

No. The source says the AI Smoke Test GitHub action is used for hosted agents, and this skill runs notebooks locally.

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.

testing-course-samples Install

Add to stack

Loading.