docs-sync_skill

This skill analyzes main branch doc coverage to identify gaps and propose updates for English docs only, with a readiness to report and seek approval.
  • TypeScript
  • Official

2.2k

GitHub Stars

1

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill openai/openai-agents-js --skill docs-sync

  • SKILL.md4.4 KB

Overview

This skill audits the repository's main-branch implementation and configuration to find missing, incorrect, or outdated English documentation under docs/src/content/docs/**. It compares code and config against the docs, produces a prioritized Docs Sync Report with evidence and proposed edits, and asks for approval before making any changes. It never touches translated docs (ja, ko, zh) or the docs/src/content/docs/openai directory.

How this skill works

The skill builds a feature inventory from the selected scope (full main branch or diff vs main) by scanning public exports, config options, env vars, CLI commands, and runtime behavior. It performs a doc-first pass across docs/src/content/docs, then a code-first pass mapping uncovered features to appropriate pages. Findings are compiled into a structured Docs Sync Report with evidence, suggested locations, and concise edit summaries. If you approve, the skill applies edits only to English docs and verifies snippet builds before handoff.

When to use it

  • Audit documentation coverage after a release or major feature merge to main
  • Sync docs with in-flight branch changes by analyzing diffs vs main
  • Identify and fix incorrect defaults, names, or behaviors documented in docs
  • Propose structural documentation changes to improve discoverability
  • Prepare a focused list of doc edits before opening a documentation PR

Best practices

  • Confirm analysis scope (current branch vs main) before starting
  • Treat source code as the source of truth; cite file paths and symbols as evidence
  • Limit edits to English docs under docs/src/content/docs/** and exclude openai and translated folders
  • Place example code under examples/docs/<doc-filename>/ to mirror existing patterns
  • Run pnpm -F docs-code build-check to validate doc snippet builds before committing

Example use cases

  • A new TypeScript package export was added but lacks a docs page — produce a report and suggested page placement
  • Configuration option names or defaults changed in main — list outdated doc lines and proposed fixes
  • A feature was added on a feature branch — provide a diff-focused doc checklist to sync only relevant pages
  • Detect overloaded pages that should be split and propose a new docs structure with rationale
  • Validate that environment variables and CLI flags referenced in docs match the codebase

FAQ

No. Edits are limited to English files under docs/src/content/docs/**. Translated folders (ja, ko, zh) are never modified.

Do you change code or config?

No. The skill only inspects code and configuration to produce evidence-backed doc changes; it does not modify source code or configuration files.

What happens after the report?

I will ask for your approval. If approved, I apply edits to English docs, place examples under examples/docs/<doc-filename>/, and run build checks before finalizing edits.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational
docs-sync skill by openai/openai-agents-js | VeilStrat