agentleFS
MicrosoftKnown publishermicrosoft/ai-agents-for-beginners/translations/pcm/.agents/skills/testing-course-samples/SKILL.md

testing-course-samples

Skill76k starsChanged 5 months agoMITView on GitHub

Use wen dem ask you to validate, test, smoke-test, or run di course notebook

  • Reads credentials
  • Installs packages

Adopted by

Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data

Week of Oct 4: 0 new projectsWeek of Oct 11: 0 new projectsWeek of Oct 18: 0 new projectsWeek of Oct 25: 0 new projectsWeek of Nov 1: 0 new projectsWeek of Nov 8: 0 new projectsWeek of Nov 15: 0 new projectsWeek of Nov 22: 0 new projects
Oct 2026Nov 2026Nov 2026
New projects taking a version of this file each week, over the 8 weeks our latest run read: only 0 in all, so this is a hint, not a trend.

Who's talking about microsoft/ai-agents-for-beginners

The biggest 5 of 88 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 88

Talked about on GitHub, Bluesky and Hacker News (88 times).

On GitHub · 50

45 more on GitHub

On Bluesky · 35

30 more on Bluesky

On Hacker News · 3

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Make sure say di lesson notebooks and code samples dey run well well for one live Microsoft Foundry / Azure OpenAI setup.

    line 11
  2. Very specific:

    No use am for di AI Smoke Test GitHub Action (wey dey check *deployed* hosted agents — see tests/README.md).

    line 21
  3. Very specific:

    Make sure say di model deployment dey: az cognitiveservices account deployment list -g <rg> -n <account> -o table.

    line 35

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Testing di Course Samples

Make sure say di lesson notebooks and code samples dey run well well for one live Microsoft Foundry / Azure OpenAI setup. Di repo get one runner wey dey for scripts/validate-notebooks.ps1 wey dey run every Python notebook without display and e go show PASS/FAIL matrix.

Wen you go use am

  • "Make sure say all di notebooks / samples dey work for my Azure subscription."
  • "Quick check di course after you upgrade packages or change models."
  • "Which lessons still dey pass / fail for live?"

No use am for di AI Smoke Test GitHub Action (wey dey check deployed hosted agents — see tests/README.md). Dis skill dey run di notebooks for local machine.

Wetin you go need (check first)

  1. Python 3.12+ with all di course dependencies: python -m pip install -r requirements.txt plus di executor: python -m pip install nbconvert ipykernel.
  2. .env for di root of di repo (copy am from .env.example) with at least:
    • AZURE_AI_PROJECT_ENDPOINT — Foundry project endpoint (https://<account>.services.ai.azure.com/api/projects/<project>)
    • AZURE_AI_MODEL_DEPLOYMENT_NAME — one deployment wey no old (e.g. gpt-5-mini)
    • AZURE_OPENAI_ENDPOINT (https://<account>.openai.azure.com) and AZURE_OPENAI_DEPLOYMENT for di lessons wey dey call Azure OpenAI directly (Lesson 06, 02-azure-openai, 14 handoff/human-loop).
  3. You don do az login finish — di samples dey use AzureCliCredential (Entra ID, no need key).
  4. Make sure say di model deployment dey: az cognitiveservices account deployment list -g <rg> -n <account> -o table.

How to run the validation

# All Python notebooks (no go include .NET, .venv, site-packages, translations, skill assets)
pwsh scripts/validate-notebooks.ps1

# One lesson, wit longer time wey e fit run per cell
pwsh scripts/validate-notebooks.ps1 -Filter '08-*' -Timeout 600

# Only show wetin go run (no dey run anything)
pwsh scripts/validate-notebooks.ps1 -List

# Clear interpreter (if `python` no dey for PATH, like Windows Store alias)
pwsh scripts/validate-notebooks.ps1 -Python "C:/path/to/python.exe"

Di script dey write di runs copy, per-notebook logs, and results.json go $env:TEMP\aiab-nbval and e go exit with di number of failures.

Temporary failures (shared-subscription HTTP 429 rate limits, one-time AzureCliCredential token wahala, or timeout) e go try again automatically (-Retries, default 2, plus -RetryDelaySeconds backoff, default 20). If one model deployment dey always 429, check di subscription's GlobalStandard TPM quota (az cognitiveservices usage list -l <region>) — even if you raise one deployment capacity e no go help if di subscription quota don finish.

How to understand di results

  • PASS — di notebook run finish without any cell error.
  • FAIL — di first *Error / *Exception line dey appear; open di right log_*.txt for di output folder to see di full problem.
  • One single notebook failure dey controlled by -Timeout (per cell), so if one human-in-the-loop cell jam, e go show StdinNotImplementedError instead of hang.

Lessons wey need extra things (dem go fail if no get dem)

LessonExtra requirement
05 Agentic RAGAzure AI Search (AZURE_SEARCH_SERVICE_ENDPOINT, key) — get fallback way wey dey memory
11 MCP / GitHubGitHub MCP server + PAT
13 memory (cognee)cognee setup with one model provider
15 browser-usePlaywright browsers installed (playwright install) + AZURE_OPENAI_CHAT_DEPLOYMENT_NAME
17 local agentFoundry Local runtime + Qwen model wey you don download (on-device, no cloud)
*-dotnet-* notebooks.NET Interactive kernel (no include by default; use -IncludeDotnet)

How to report back

Summarize am as PASS/FAIL table grouped by lesson. Separate real regressions (code/config bugs wey need fix) from environment problems (missing Search/Foundry Local/PAT), and talk about di failing log_*.txt for each real failure.


<!-- CO-OP TRANSLATOR DISCLAIMER START -->

Disclaimer: Dis document don translate wit AI translation service Co-op Translator. Even tho we dey try make am correct, abeg make you know say automated translation fit get errors or mistakes. Di original document for dia own language na im be di correct source. For important info, make person wey sabi human translation do am. We no go responsible for any misunderstanding or wrong understanding wey fit happen because of dis translation.

<!-- CO-OP TRANSLATOR DISCLAIMER END -->

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.