contentful/optimization/guide-source-verification

Claude Code and agent skill by contentful/optimization

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Verify a documentation guide's load-bearing SDK and migration claims — the technical-foundation review role — splitting each into interface vs. behavior. Interface claims are checked directly against the relevant source/types. Optimization SDK behavior is checked against verified facts in documentation/internal/sdk-knowledge/; legacy migration behavior is checked against documentation/internal/migration-knowledge/. Behavioral gaps escalate to sdk-knowledge-authoring or migration-knowledge-authoring. Use as the third authoring role (writer → newcomer reviewer → technical-foundation reviewer), after a guide is drafted or refreshed, or to fact-check a specific claim. Triggers on "technical review", "verify against source", "fact-check the guide", "is this API real", "foundation review". Not reader-experience review (guide-newcomer-review) and not prose authoring (optimization-guide-authoring).

Install

npx vskill@latest install contentful/optimization/guide-source-verification

SKILL.md

Verifying a guide: interface against source, behavior against fact stores

Every load-bearing SDK or migration claim a guide makes splits into two kinds, and each has its own authority:

  • Interface — a symbol's existence, signature, prop/config-key names & types, optionality, union

shape, return type, import path. The authority is the relevant types/source: for Optimization SDK claims, packages/**/src; for legacy migration claims, the legacy source checkout named by the migration knowledge file or task. This is a cheap, self-verifying lookup; reading source for interface is expected here, not forbidden.

  • Behavior — what a call does: fallback contracts, denied-consent handling, dynamic-render

forcing, batching/chunking, defaults, identifier ownership, cross-SDK semantics, and legacy migration boundaries. The authority is the relevant fact store: Optimization SDK behavior in documentation/internal/sdk-knowledge/; legacy behavior in documentation/internal/migration-knowledge/. Confirm behavioral claims against the fact store — do not re-trace them from source; re-tracing is the expensive work the fact store exists to prevent.

So you read source freely for interface, and you rely on the base for behavior. The distinction is the whole point: interface is O(1) and machine-checkable; behavior is expensive to derive and must not be re-derived per review.

Method

  1. List the load-bearing claims, and tag each interface or behavior. Every hook, component, prop,

config key, factory field, context field, return shape, cookie/identifier, event name, and behavioral assertion the guide states or shows in a snippet.

  1. Verify interface claims against the source/types. Confirm the symbol exists and its shape

(props, optionality, union, return) matches, directly in the relevant source. A mismatch (a prop that does not exist, a wrong return shape) is a guide bug → correction to the writer.

  1. Verify behavioral claims against the relevant fact store. Find the fact that backs the claim:

SDK facts in the relevant per-SDK file or shared/; legacy migration facts in documentation/internal/migration-knowledge/. pnpm knowledge:check must pass for SDK facts so their provenance pointers are structurally intact. Do not call that semantic re-verification: if the task includes source changes in the fact's behavior path, require the scoped knowledge-author review first. A claim the current, reviewed fact store contradicts is a guide bug.

  1. Escalate only a behavioral claim with no backing fact. If a behavioral claim has no

corresponding fact, do NOT trace it from source yourself. Escalate Optimization SDK behavior to `sdk-knowledge-authoring` and legacy behavior to `migration-knowledge-authoring`: either the base is missing a fact it should hold, or the claim is unfounded and comes out of the guide. An unbacked _interface_ claim is not an escalation — you just checked it against the source/types in step 2. Record each escalation as a finding; the guide is not "verified" until the behavioral fact exists or the claim is removed.

The one time this review still leans on a fresh KB is a bootstrap guide whose SDK has no KB file yet: it runs after sdk-knowledge-authoring has created the file, so behavior still checks against the base, not against a fresh trace of your own.

How to report

Return a verdict per load-bearing claim:

  • Claim — the exact assertion, with the guide location, tagged interface or behavior.
  • Verdict — confirmed / contradicted / no-backing-fact. For interface: confirmed or contradicted

against source/types. For behavior: confirmed or contradicted against an SDK KB or migration-knowledge fact, or no-backing-fact.

  • Evidence — for interface, the file:symbol in the relevant source; for behavior, the SDK KB or

migration-knowledge fact and file (or "none found").

  • Action — contradicted: the correction, handed to the writer. Behavioral no-backing-fact: an

escalation to sdk-knowledge-authoring or migration-knowledge-authoring naming the claim.

Hand guide corrections to the writer (optimization-guide-authoring); hand behavioral fact gaps to the knowledge author. Do not rewrite the guide and do not edit the knowledge base yourself.

Before you finish

  • Every interface claim is confirmed (or corrected) against source/types; every behavioral claim is

confirmed against an SDK KB or migration-knowledge fact, corrected against one, or escalated.

  • No behavioral claim was re-traced from source here — behavioral gaps went to

sdk-knowledge-authoring or migration-knowledge-authoring. (Interface lookups against the source and types are expected and fine.)

  • pnpm knowledge:check passes for SDK KB pointers and unresolved guide escalation markers.

Not in scope

  • Tracing behavior from source to derive new facts — that is sdk-knowledge-authoring for target

SDK behavior and migration-knowledge-authoring for legacy behavior. Escalate behavioral gaps; don't re-trace. (Reading source/types to check an interface claim is in scope.)

  • Reader-experience review (undefined jargon, skim mode, performable steps) — that is

guide-newcomer-review.

  • Prose authoring and structure — that is optimization-guide-authoring.
  • The knowledge base's format rules — that is sdk-knowledge-maintenance.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/contentful/optimization/guide-source-verification/badge)](https://verified-skill.com/skills/contentful/optimization/guide-source-verification)

Something wrong with this skill or its page? Tell us.