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
In this repository26 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- ai-slop-detectorSkill
- azure-aigatewaySkill
- azure-aiSkill
- excalidraw-diagramSkill
- frontend-designSkill
- grillingSkill
- grill-meSkill
- humanize-writingSkill
- impeccableSkill
- microsoft-foundrySkill
- rvap-brandSkill
- unslopSkill
- writing-for-agentsSkill
- agentic-workflowsSkill
- customer-activity-forgeSkill
- foundry-hosted-agentsSkill
- foundry-iq-knowledge-basesSkill
- foundry-modelsSkill
- foundry-observabilitySkill
- foundry-projects-resourcesSkill
- foundry-toolboxesSkill
- foundry-workflowsSkill
- impeccableSkill
- use-case-mapperSkill
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
- Distinctive: line 80
Use these categories and severities (details in the checklist):
- Distinctive: line 99
When a fix changes an env var / path / version, update every occurrence repo-wide.
- Very specific: line 100
After fixing code or validators, re-run the relevant validate.py to confirm green.
- Distinctive: line 117
Don't invent or "fix" URLs: Only verify URLs already present.
≈ “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.
Files
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
| Area | What to check |
scenarios/*/lessons/*.md | Instructions, code snippets, environment variables, and lesson order |
scenarios/*/accelerator/README.md, facilitator-reference.md | Commands match the implementation and its checks |
scenarios/*/accelerator/**/*.py | Imports and signatures exist; checks match the stated behavior |
docs/*.html | Navigation and user-facing explanations match the scenarios |
docs/assets/data/ | Generated — compare with scenarios/; do not hand-edit |
.github/skills/*/SKILL.md | Stub install commands, env-var names, "gotcha" claims still valid |
infra/*.bicep, azure.yaml, scripts/*.sh | Resource/API versions, command flags, output→.env contract |
.env.sample, requirements.txt | Var names authoritative & consistent everywhere; pinned versions exist |
README.md, CONTRIBUTING.md, PRODUCT.md, scenarios/README.md | Cross-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 +
apiVersionvalues - 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-docsMCP (microsoft_docs_search, thenmicrosoft_docs_fetchfor depth;microsoft_code_sample_searchfor 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.azureMCP — resource types, RBAC, quota, BicepapiVersionreality.- 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.mdactually passvalidate.py? Do env-var names match.env.sampleandinfra/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 runnpm run buildto regeneratedocs/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.pyto 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.mdsteps still satisfy the matchingvalidate.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 withnpm 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.dagreference is itself a finding to remove — do not "correct" it, flag it. - Keyless-first. Flag examples that use keys where
DefaultAzureCredentialis the convention. - Don't mass-rewrite for style. Stay scoped to correctness, currency, and pacing unless asked.
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
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.

