agentleFS
MicrosoftKnown publishermicrosoft/mcs-labs/.github/skills/lab-review/SKILL.md

lab-review

Skill152 starsChanged 7 days agoMITView on GitHub

Review an MCS Labs hands-on lab (classic README/_labs format or the guided missions format) for broken anchors and images, README and site copies drifting apart, invalid front matter, durations that disagree with Lab Details or event agendas, retired product names, out-of-date product claims, and wordy or hard-to-follow instructions. Produces a prioritized report with file and line evidence and proposed fixes. Use when asked to review, audit, check, QA, lint or health-check a lab, an event's labs, all labs, or a lab PR, or to find what needs updating after a product change. Read-only; hand fixes to lab-update and live testing to lab-runthrough.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Add --format markdown for a report table or --format json for further processing.

    line 20
  2. Distinctive:

    Do not repeat findings that are expected:

    line 27
  3. Distinctive:

    System of record: When learners check results in a business app (a CRM, for example), the prerequisites and Lab Details link it and say …

    line 61
  4. Very specific:

    Do not run the lab here. When a step needs proof in the product, recommend lab-runthrough, and say which mission or use case.

    line 64
  5. Very specific:

    Every finding has severity, file:line, evidence (audit code, quote or source URL) and a concrete fix.

    line 72

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

Review a lab

Review is read-only. It ends with a report, not edits. Start with the deterministic audit, then add the judgment no script can make.

1. Pick the scope

RequestCommand
One or more labsnpm run audit:labs -- <slug> [<slug> ...]
Labs touched by a branch or PRnpm run audit:labs -- --changed (defaults to origin/main; pass --changed=<base>)
Everythingnpm run audit:labs -- --all (warnings and errors only unless you add --min-severity info)
An eventRead _data/agendas/<event_id>.yml (or the event's labs: list), then audit those slugs

Add --format markdown for a report table or --format json for further processing. The exit code is 1 when there are errors (or warnings with --strict). A slug can also be given as a path such as _labs/<slug>.md.

2. Read the audit

references/audit-codes.md explains every code, why it matters and how to fix it. Do not repeat findings that are expected:

  • anchor-broken is real even when the link looks right. GitHub keeps U+FE0F in ids, so ## 🛠️ Instructions needs #️-instructions.
  • copy-drift compares the two copies after removing heading emoji, anchor prefixes and front matter. Some labs intentionally differ; say so instead of "fixing" them.
  • Info findings (image-orphan, image-shared, fm-order-duplicate, size-words, agenda-usage) are context. Mention them only when they affect the request.

3. Judge what the script cannot

Work through references/review-rubric.md. In particular:

  1. Product truth. For each product name, UI label, limit, license or preview claim, check the current Microsoft Learn page (use the Microsoft Learn MCP tools when available, otherwise web search). Quote the source and its date. A label that changed is drift; a capability that changed is a content issue for the owner.
  2. Retired terms. The audit flags names in scripts/lab-audit-terms.json. When you confirm a new rename, propose adding it there with since and a Microsoft source URL. Historical mentions ("formerly …") are allowed.
  3. Learning design. Score the lab with references/learning-design.md: outcome first, action within the first screen, verbs first, one idea per step, prompts copyable, reveal after the experience, checks that target misconceptions.
  4. Timing. Compare duration, the Lab Details row, use-case or mission minutes and every agenda slot that lists the lab (agenda-usage). A 45-minute lab in a 30-minute slot is a delivery risk even if the files agree.
  5. Accessibility. Alt text describes the state shown, not "screenshot". Link text is meaningful. No instruction depends on color alone.
  6. Missions labs. Prompts verbatim across front matter, _labs body and README; reveals explain why; one correct option per check; optional missions marked; cleanup stops anything recurring the lab created. help reads as a complete click path, because the layout opens it by default. Nothing in the lab contradicts the layout's note that checkmarks, answers and the reflection stay in the browser until the learner saves a PDF copy.
  7. System of record. When learners check results in a business app (a CRM, for example), the prerequisites and Lab Details link it and say what to check there.

Do not run the lab here. When a step needs proof in the product, recommend lab-runthrough, and say which mission or use case.

4. Report

Fill in templates/review-report.md. Rules:

  • Lead with a one-line verdict: ready, ready with fixes or blocked.
  • Every finding has severity, file:line, evidence (audit code, quote or source URL) and a concrete fix. No vague advice such as "improve clarity".
  • Separate drift (product changed; fix the lab) from defects (the lab was wrong) from suggestions (better learning design).
  • Group fixes into proposed PRs, one coherent change each, so lab-update can pick them up.
  • Name what you could not verify.

Save the report outside the repository, or paste it into the conversation or PR. Do not commit review reports.

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.