agentleFS
MicrosoftKnown publishermicrosoft/frontier-agentic-cobuild-rvas/.github/skills/content-accuracy-audit/SKILL.md

content-accuracy-audit

Skill5 starsChanged 58 days agoMITView on GitHub

Audit scenario lessons, READMEs, accelerator code, solution guides, docs, skills, infrastructure, and scripts for correctness, currency, hallucinations, broken cross-references, and pacing. Cross-check Azure / Microsoft Foundry SDK signatures, CLI commands, environment variables, and API surfaces against official Microsoft Learn docs via the microsoft-docs MCP and the live web. USE WHEN: review content for errors, fact-check docs, check currency, verify API signatures, validate scenario instructions, check pacing, or find broken links. Produces a ranked findings report and applies confirmed fixes.

  • Reads credentials

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use these categories and severities (details in the checklist):

    line 80
  2. Distinctive:

    When a fix changes an env var / path / version, update every occurrence repo-wide.

    line 99
  3. Very specific:

    After fixing code or validators, re-run the relevant validate.py to confirm green.

    line 100
  4. Distinctive:

    Don't invent or "fix" URLs: Only verify URLs already present.

    line 117

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

Content Accuracy Audit

Systematic review of this session's learning content for correctness, currency, hallucinations, broken references, and pacing. The golden rule of this repo applies: Search Before Implement — never trust a memorized API signature. Every Azure / Foundry SDK call, CLI command, env var, and preview-feature claim must be verified against the current official docs before you mark it correct or rewrite it.

When to Use

  • "Review/audit all our content for errors of any kind"
  • "Check the docs for hallucinations / outdated SDK calls / wrong API signatures"
  • "Are the scenario instructions still accurate and up to date?"
  • "Verify the env vars, CLI commands, and code snippets actually work"
  • "Check pacing and difficulty progression across lessons"
  • "Find broken cross-references / dead links / stale file paths"

Inputs

  • Scope (optional argument): a path or area (e.g. scenarios/ai-grounding, docs/, .github/skills/). If omitted, audit the whole repo content surface (below).
  • The audit is read-heavy; fixes are applied only after findings are confirmed.

Content surface to audit

AreaWhat to check
scenarios/*/lessons/*.mdInstructions, code snippets, environment variables, and lesson order
scenarios/*/accelerator/README.md, facilitator-reference.mdCommands match the implementation and its checks
scenarios/*/accelerator/**/*.pyImports and signatures exist; checks match the stated behavior
docs/*.htmlNavigation and user-facing explanations match the scenarios
docs/assets/data/Generated — compare with scenarios/; do not hand-edit
.github/skills/*/SKILL.mdStub install commands, env-var names, "gotcha" claims still valid
infra/*.bicep, azure.yaml, scripts/*.shResource/API versions, command flags, output→.env contract
.env.sample, requirements.txtVar names authoritative & consistent everywhere; pinned versions exist
README.md, CONTRIBUTING.md, PRODUCT.md, scenarios/README.mdCross-links resolve; claims match the implementation

Procedure

Work one area at a time. Use the detailed audit checklist for the full per-category criteria. Track progress with a todo list when scope is large.

1. Inventory the scope

Enumerate the files in scope. For large scope, group by area (table above) and audit area-by-area so findings stay organized.

2. Extract verifiable claims

From each file, pull out every checkable assertion:

  • SDK imports, classes, methods, kwargs (e.g. AIProjectClient, configure_azure_monitor)
  • CLI commands & flags (az, azd, azd ai agent, func)
  • Env var names and the values they expect
  • Package names + pinned versions in requirements.txt
  • Bicep resource types + apiVersion values
  • Preview/GA status claims and "this feature does X" statements
  • Cross-file references (file paths, anchor links, "see Step N")

3. Verify against official sources (Search Before Implement)

For each claim, confirm against the current source of truth — do not rely on memory:

  • microsoft-docs MCP (microsoft_docs_search, then microsoft_docs_fetch for depth; microsoft_code_sample_search for real code) — primary for SDK/CLI/env signatures.
  • foundry-mcp — Foundry-native ops (model catalog, agents, toolboxes, KBs, evals) to confirm feature names, capabilities, and current availability.
  • azure MCP — resource types, RBAC, quota, Bicep apiVersion reality.
  • Live web (fetch_webpage) — only for official Microsoft/Azure URLs already cited in the content, to confirm they resolve and still say what we claim. Do not invent URLs.
  • Repo ground truth — does facilitator-reference.md actually pass validate.py? Do env-var names match .env.sample and infra/ outputs exactly?

Record the authoritative source (doc URL or MCP result) for every confirmed or refuted claim.

4. Classify findings

Use these categories and severities (details in the checklist):

  • Hallucination — API/feature/flag that does not exist → Critical
  • Outdated — real but superseded/renamed/deprecated signature → High
  • Incorrect — wrong value, wrong step order, solution won't pass validator → High
  • Inconsistent — env var / path / version mismatch across files → Medium
  • Broken reference — dead link, wrong file path, stale "Step N" → Medium
  • Pacing — difficulty jump, missing prerequisite, unexplained concept → Low/Medium
  • Style/clarity — ambiguous or sloppy wording → Low

5. Report

Produce a ranked findings report using the report template: one row per finding with file+line link, category, severity, the verified source, and the proposed fix. Present findings before mass-editing.

6. Apply fixes (after confirmation)

  • Fix source files (scenarios/, site HTML/JS/CSS, .github/skills/), then run npm run build to regenerate docs/assets/data/.
  • Make minimal, targeted edits — correct the inaccuracy, don't rewrite surrounding prose.
  • When a fix changes an env var / path / version, update every occurrence repo-wide.
  • After fixing code or validators, re-run the relevant validate.py to confirm green.
  • Re-verify each fixed signature one last time against the doc source you cited.

Quality bar (completion checks)

  • Every flagged SDK/CLI/env claim has a cited authoritative source (doc URL or MCP result).
  • No fix introduces a signature you did not verify this session.
  • Env-var names, file paths, and pinned versions are consistent across all files.
  • facilitator-reference.md steps still satisfy the matching validate.py (re-run where feasible).
  • Generated docs/assets/data/ drift is reported, not hand-patched.
  • Findings report lists residual/unverifiable items explicitly (don't silently drop them).

Pitfalls

  • Don't hand-edit docs/assets/data/. Fix the source and rebuild with npm run build.
  • Don't guess preview status. Foundry features move fast and many are preview — confirm GA/preview wording against current docs every time.
  • Don't invent or "fix" URLs. Only verify URLs already present; never fabricate links.
  • Prompt Flow is removed from this curriculum. Any promptflow / .flow.dag reference is itself a finding to remove — do not "correct" it, flag it.
  • Keyless-first. Flag examples that use keys where DefaultAzureCredential is the convention.
  • Don't mass-rewrite for style. Stay scoped to correctness, currency, and pacing unless asked.

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.