Refresh the knowledge base
Each certification's wiki is written against a specific exam guide version,
recorded in its wiki/exam/blueprint.md. Claude Code, the Agent SDK, MCP, and the
Claude API all move faster than those guides. This skill re-checks a wiki's
technical claims against live documentation and records divergence.
Resolve the certification first
This repository holds several certification study kits under certifications/.
Before reading anything, decide which one you are working in:
- If the user names one (
ccar-f), usecertifications/<slug>/. - If only one directory exists under
certifications/, use it without asking. - If several exist and the request is ambiguous, ask which.
Everything below is relative to that certification directory — wiki/,
questions/, and progress/ all live inside it.
The governing principle
The guide stays authoritative for the exam. Current docs are recorded as drift.
Never silently rewrite a note to match current documentation. An item writer built
the exam against the guide, so a note "corrected" to match today's docs can turn a
right answer into a wrong one. Divergence goes in wiki/exam/drift-log.md, and the
note gets an "In production, beyond the guide" section pointing at it.
Scope
| Argument | Verify |
|---|---|
<task-statement> e.g. 2.4 | That note and its linked concepts |
--domain N | All task statements in that domain |
--all (default) | Everything with a verified frontmatter field |
If the user gives no argument, offer --domain 3 as a triage scope and --all as
the honest one, and let them pick. Domain 3 is where the drift log has most of its
entries, because it is anchored to named commands, flags, and frontmatter fields, so
it is the best value per minute. Say plainly that it is not a safe scope: any domain
that names identifiers can drift — Agent SDK tool names sit in Domain 1 — and a domain
with no drift-log entries has only been found stable in the passes already run, not
proven stable. Before exam day, --all is the one that answers the question.
Verify
For each note in scope:
-
Read its frontmatter —
verifieddate and anysources. -
Identify the checkable claims: exact file paths, flag names, frontmatter field names, configuration keys, API parameter values, numeric limits. Prose about judgment and architecture is not checkable and is not in scope.
-
Fetch the authoritative source. Use these first:
Area Source CLAUDE.md, rules, memory code.claude.com/docs/en/memorySkills, slash commands code.claude.com/docs/en/skillsCLI flags code.claude.com/docs/en/cli-referenceMCP code.claude.com/docs/en/mcpAgent SDK sessions code.claude.com/docs/en/agent-sdk/sessionsSubagents code.claude.com/docs/en/sub-agentsClaude API invoke the claude-apiskill, orplatform.claude.com/docsFor API questions the
claude-apiskill is faster and more reliable than fetching docs pages — use it. -
Compare claim by claim and classify:
Tag Meaning CONFIRMED Docs match the guide EXTENDED Guide still correct; the feature has grown CHANGED Behaviour or terminology differs INVERTED Docs describe the mechanism differently in kind — highest risk
Report before writing
Present the findings first, grouped by tag, most severe first. For each non-CONFIRMED finding give:
- The note and the specific claim
- What the guide says
- What current docs say, with the source URL
- Your classification and why
- Whether the exam answer changes — it usually does not
Then ask before editing. Do not touch files until the user has seen the findings.
Update
On approval:
wiki/exam/drift-log.md— add or update the entry under the right domain heading, keeping the tag vocabulary and the existing structure. Updatelast_verifiedin the frontmatter.- The note — add or update its "In production, beyond the guide" section, linking to the drift log anchor. Leave the Knowledge and Skills sections alone unless the guide itself was misread, which is a correction rather than drift.
- Frontmatter — set
verifiedto today's date and record thesourcesURLs you actually fetched. - For an INVERTED finding, add a ⚠️ marker in both the note and the drift log, and state explicitly which framing to use on the exam.
When a source cannot be reached
Say so; do not guess. Leave the note's verified date unchanged rather than
stamping it with an unverified pass — a stale date that is honest is more useful
than a fresh one that is not.
Always stamp the date
Whenever a verification pass completes — including a completely clean one — set
last_verified in wiki/exam/drift-log.md to today.
That field is what the SessionStart hook reads to decide whether to prompt for a refresh. A clean pass that does not stamp it leaves the hook asking again tomorrow, and a user who is nagged daily stops reading the notice.
Stamp it even when nothing changed. If some sources could not be reached, stamp it anyway but say in the drift log which areas went unchecked — a partial pass recorded honestly beats an unrecorded one.
Close
Summarise: notes checked, findings by tag, and whether any exam answer changed. If nothing drifted, say that plainly — a clean pass is a real result, and it means the material can be trusted as written.
Finally, remind the user that a new exam guide version would be a bigger event
than tooling drift: it could change the blueprint itself. The version in force is
recorded in wiki/exam/blueprint.md.


