Catalogue / implementation-evidence-to-english-docs
implementation-evidence-to-english-docs
Older skill: source not recordedSignedAudits English developer documentation against repository implementation and proposes evidence-backed repairs for missing features, stale behavior, and navigation gaps. Use for documentation coverage reviews or synchronizing docs with a branch. Do not use for translation, excluded platform pages, or…--- name: implementation-evidence-to-english-docs description: >- Audits English developer documentation against repository implementation and proposes evidence-backed repairs for missing features, stale behavior, and navigation gaps. Use for documentation coverage reviews or synchronizing docs with a branch. Do not use for translation, excluded platform pages, or speculative product documentation. ---
Implementation evidence to English docs
Deliver a reviewable change proposal before editing. Documentation must describe supported behavior at the chosen revision, with a traceable implementation location for every correction.
Establish the comparison boundary
Identify the default branch, checked-out branch, working-tree changes, and requested revision. Resolve the local default branch name rather than assuming it is main. On the default branch, examine the complete public surface. On a feature branch, ordinarily constrain the review to additions, changes, removals, and renames relative to the default branch; record the base and head revisions. A merge-base comparison such as git diff main...HEAD covers committed branch changes only: explicitly account for relevant staged or unstaged work when requested.
Prefer read-only inspection of revisions, for example git show main:path/to/file, over changing the working checkout. A separate worktree is an option only after explicit confirmation of its target and creation. Do not disrupt local work.
The documentation root for this workflow is docs/src/content/docs. Review and edit English content only. Exclude the entire docs/src/content/docs/openai subtree from both coverage review and updates. Also exclude the ja, ko, and zh language subtrees. Check actual language and path boundaries before selecting files; do not treat every descendant as English.
Build a two-direction evidence map
Use one table to connect implementation and reader needs:
| Supported capability | Revision and code location | Observed behavior | Existing page and section | Required repair | | --- | --- | --- | --- | --- | | Export queue snapshot | base/head and public export symbol | optional limit is validated before execution | reference page, limits section | add allowed range and error case |
This example is a format illustration, not a claim about the inspected project. Record file paths and symbols or setting identifiers rather than dumping large source fragments.
Inspect public classes, functions, types, package entry points, configuration types and builders, defaults, environment settings, runtime flags, CLI commands, scripts, and supported examples. Search narrowly with rg for export declarations, option types, configuration accesses, and relevant identifiers; follow each match into the implementation. Include retry, timeout, streaming, error, logging, telemetry, and data-handling behavior. Track deprecations, removals, renamed settings, and changed ranges as well as new features.
Run both directions of the comparison:
- Starting from a page, identify promises and implied customization points. Verify names, types, default values, accepted ranges, opt-in controls, environment variables, and runtime outcomes. Find supported features that readers would reasonably expect in that page but cannot discover there.
- Starting from each inventoried capability, locate a page and section that explains it. An existing page title alone does not establish coverage. Mark absent explanations, unsupported claims, and features without a natural documentation home.
For platform API claims, consult current official developer documentation through an available approved documentation tool or official reference. Repository implementation remains authoritative for the SDK revision being documented; distinguish an SDK limitation from a newer platform capability when they diverge. For protocol SDK or AI SDK questions, an available documentation lookup service can accelerate discovery, but verify conclusions against the relevant SDK source. No companion skill or private reference bundle is required to carry out this workflow. If authoritative material is unavailable, mark that claim unverified rather than guessing.
Choose placement before drafting
Prefer a focused addition to an existing page when the audience and topic fit. Use package boundaries and existing navigation conventions to place features. Cross-cutting authentication, errors, streaming, and rate-limit behavior belong in conceptual guidance with links to relevant APIs. Keep quick starts concise and place advanced configuration in deeper pages.
Propose a structural change only when it improves a specific reader journey: mixed introductory and specialist audiences, duplicate concepts without links, overloaded pages, or a new feature area with no navigation home. Explain the reason and update affected cross-links in the proposal. Do not reorganize unrelated pages during a narrow branch review.
Classify each finding as missing coverage, inaccurate behavior, retired content, or discoverability. Document removals explicitly so obsolete instructions can be pruned rather than silently left behind.
Present the approval package
Return these sections in a concise report:
- Scope: branch/revisions, working-tree inclusion, documentation roots, exclusions, and unverified evidence.
- Reader-page findings: page/section, missing or inaccurate statement, implementation evidence, and proposed insertion or correction.
- Capability coverage: feature/setting, evidence, intended page/section, and whether a new page is needed.
- Retired or renamed behavior: old instruction, current behavior, and references that need repair.
- Navigation proposals: affected audience, proposed move/link, and rationale.
- Patch plan: exact files, concise change summaries, example destinations, validation commands and their side effects, plus unresolved questions.
Ask for explicit human confirmation before writing or replacing any documentation, creating example files or worktrees, running builds or tests that write output or launch processes, changing repository state, committing, or making an external change. Read-only findings do not authorize their application. If the requested scope is uncertain, complete the evidence-backed report and identify the unresolved boundary before proposing a mutation.
Apply and verify the approved patch
After confirmation, make only the agreed English changes, matching established tone, markup, and navigation. Place executable documentation snippets in examples/docs/<doc-filename>/, matching the target page's filename convention and neighboring examples. These are approved project outputs, not files shipped with this skill. Keep examples complete enough to build against the documented revision.
Check links, renamed anchors, defaults, option spelling, types, ranges, removals, and cross-references against the evidence map. Inspect the repository's existing script and package configuration before proposing pnpm -F docs-code build-check; if that command exists and its execution is approved, use it to verify documentation snippets and fix failures within the agreed scope. If the project uses a different validation command, report and use its verified equivalent after approval. Do not install missing dependencies or invent successful build results.
Finish with the changed files, covered findings, observed validation results, remaining unknowns, and any approved structural adjustments. A missing tool or failed check must remain visible at handoff.
Never
- Edit translations or review/update the excluded platform documentation subtree.
- Infer supported behavior from an old page, an option name, or a search hit without implementation evidence.
- Replace revision-specific SDK behavior with an undocumented assumption about a platform API.
- Switch branches, create worktrees, write files, run state-changing checks, commit, or contact external services without explicit human confirmation.
- Publish documentation, install dependencies, or claim snippets build when no successful check was observed.
- Leave removed features documented as supported or broaden a branch-specific review into an unrelated rewrite.
| File | Size | SHA-256 |
|---|---|---|
| SKILL.md | 8.3 kB | 11770fb375b4 |
| examples.json | 2.2 kB | 917da8d32353 |
Published verbatim from the pinned commit. Nothing is rewritten.
| Version | Pinned commit | Signed | |
|---|---|---|---|
| 1.0.0 Current | Not recorded | 2 Oct 2026 |
Locking a skill to one version needs Pro.