Audit Course Docs

VerifiedCaution

Audit course documentation for accuracy and narrative cohesion, and assemble the PR with verified corrections.

Sby Skills Guide Bot
DocumentationIntermediate
8/21/2026
Claude Code
#documentation-audit#course-content#pr-review#verification#narrative-consistency

Recommended for

Automated summary

This skill defines a procedure for auditing course exercise documentation for factual accuracy and narrative cohesion, then assembling the resulting pull request.

Strengths

  • Requires reproducing every reported defect against the code before editing, and records cleared false positives in a dedicated "checked and left alone" PR-body section.
  • Adds a sequential read-through of forward pointers between lessons, catching duplicates and unfulfilled promises that per-file review misses.
  • Specifies concrete gates (make test and make test-problems) proving solutions stay green and problem stubs still start red.
  • Enforces a commit shape that separates authored narrative work from accuracy corrections, keeping both separately reviewable.

Limitations

  • Assumes a course layout with per-course Makefile `test` and `test-problems` targets, which the skill does not provide.
  • Depends on a read-only `exercise-auditor` subagent, a Claude Code-specific capability.
  • The manual sequential read-through is labour-intensive and unassisted (no linting or automated link/pointer checking).
When to use it

Use it before opening any PR that touches */exercises/ directories, or when asked to review exercise docs for accuracy.

When not to use it

Don't use it for PRs that change runtime behaviour (server.py, db.py, tests) or for pure style reviews with no correctness stakes.

Security analysis

Caution
Quality score92/100

The skill uses shell execution (make) for legitimate test verification during documentation audits. It is not destructive or malicious, but because it triggers command execution without declaring allowed tools, it warrants caution rather than a completely safe rating.

Findings
  • •Skill instructs running shell commands via `make -C <course> test` and `make -C <course> test-problems`, but no allowed tools are declared.
  • •Execution is limited to course directories and test targets; no destructive or exfiltrating behavior is evident.
How this analysis is made

Examples

Pre-PR audit of one course
Audit the exercise docs for the auth course before I open the PR — three commits touch auth/exercises/. Fan out an exercise-auditor, verify each finding against the code, and draft the PR body with corrections plus anything you checked and left alone.
Full audit across affected courses
Run the course docs audit on branch docs/db-lesson-refresh across every course directory it touches. Do the sequential read-through of forward pointers, run make test and make test-problems per course, and give me the verification transcript.
Scope check on a mixed branch
Check whether this branch is docs-only before I push — if there are server.py or db.py changes mixed in, cherry-pick the user commits intact and land any corrections as separate commits named for each defect.

name: audit-course-docs description: Audit course documentation for accuracy and narrative cohesion, and assemble the PR. Use when asked to audit/review exercise docs, or before opening any PR that touches */exercises/.

Audit course docs

The procedure that repeated shipped-then-corrected defects forced into existence. The expensive lesson underneath it: a wrong claim caught before commit is one edit; after push it is a correction commit plus a PR-body amendment. Front-load the checking.

Procedure

  1. Scope the diff. Confirm it is docs-only — no behavioral change to any server.py / db.py / test file. (Comment/docstring fixes are fine but get their own clearly-labelled commit.) If user-authored commits are being extracted from a mixed branch, cherry-pick them intact and land corrections as separate commits on top.

  2. Fan out one exercise-auditor agent per affected course (they are read-only; run them in parallel). Give each the exact commit/branch to audit and the course directory.

  3. Verify before fixing. Reproduce every reported defect against the code yourself before editing. The standing example: "your server says no five times" looked like a miscount against eleven scope-checked functions — but SUPPORTED_SCOPES also has five entries and the sentence is narrative, not a count. An illustrative number is not a defect; "fixing" it introduces an error. Every finding that fails verification goes in the PR body under "checked and left alone" — reporting the non-fix is part of the audit.

  4. Sequential read-through, pre-commit. Walk every forward pointer in course order and check each against the next lesson's actual task section (## Your task, ## What you're building, …). This is the gate that has caught what per-file review misses: adjacent blocks saying the same thing, pointers promising work the next lesson doesn't do, problem blocks echoing their solution twin.

  5. Gates, per affected course, before push:

    make -C <course> test            # every solution suite green
    make -C <course> test-problems   # every problem stub still starts red
    

    test-problems is also the proof no coursework leaked into the stubs.

  6. PR body contract:

    • Each correction: the exact old text quoted, the file:line of the code or test that contradicts it, what changed.
    • Checked and left alone: every suspected defect that verification cleared, with why.
    • Verification transcript (the two gate lines per course).
    • Observations that are not defects (pre-existing inconsistencies worth a separate change) go in the body, not the diff.

Commit shape

One commit for the additive narrative work, then one commit per accuracy defect, named for the defect — never bundled. Staging by name (story-commit rules apply). This keeps "what was authored" and "what the audit corrected" separately reviewable.

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/audit-course-docs-mt2h8juu/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/audit-course-docs-mt2h8juu' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/audit-course-docs-mt2h8juu/download' --output '.skill-downloads/audit-course-docs-mt2h8juu/SKILL.md.part' && mv '.skill-downloads/audit-course-docs-mt2h8juu/SKILL.md.part' '.skill-downloads/audit-course-docs-mt2h8juu/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/audit-course-docs-mt2h8juu/SKILL.md' && test -s '.skill-downloads/audit-course-docs-mt2h8juu/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/audit-course-docs' && cp -R '.skill-downloads/audit-course-docs-mt2h8juu' '.claude/skills/audit-course-docs'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/audit-course-docs-mt2h8juu'

openskills read 'audit-course-docs-mt2h8juu'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/audit-course-docs-mt2h8juu/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills