Token导航 LogoToken导航TokenDH.com
研究检索敏感数据githubverified来源可访问clear审计通过

docs-sync文档同步

Agent Skill

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

总安装

1,816

周安装

78

GitHub Stars

2,885

下载量

636
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:docs-sync(文档同步)
来源仓库:https://github.com/openai/openai-agents-js
仓库路径:skills/docs-sync
安装命令:
npx skills add https://github.com/openai/openai-agents-js --skill docs-sync
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/openai/openai-agents-js --skill docs-sync

简介

通过对比主干分支特性与文档结构识别覆盖缺口与错误。

  • 分析当前分支与 main 分支差异以精准定位待更新区域。
  • 构建特性映射表并提出针对性文档补充建议。
  • 避免跨分支操作干扰本地修改,必要时使用 git show 或 worktree。
  • 聚焦于发现缺失而非自动生成新内容。docs-sync 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Docs Sync

Overview

Identify doc coverage gaps and inaccuracies by comparing main branch features and configuration options against the current docs structure, then propose targeted improvements.

Workflow

  1. Confirm scope and base branch

- Identify the current branch and default branch (usually main). - Prefer analyzing the current branch to keep work aligned with in-flight changes. - If the current branch is not main, analyze only the diff vs main to scope doc updates. - Avoid switching branches if it would disrupt local changes; use git show main:<path> or git worktree add when needed.

  1. Build a feature inventory from the selected scope

- If on main: inventory the full surface area and review docs comprehensively. - If not on main: inventory only changes vs main (feature additions/changes/removals). - Focus on user-facing behavior: public exports, configuration options, environment variables, CLI commands, default values, and documented runtime behaviors. - Capture evidence for each item (file path + symbol/setting). - Use targeted search to find option types and feature flags (for example: rg "Options", rg "process.env", rg "export"). - When the topic involves OpenAI platform features, invoke $openai-knowledge to pull current details from the OpenAI Developer Docs MCP server instead of guessing, while treating the SDK source code as the source of truth when discrepancies appear. - For MCP SDK (modelcontextprotocol/typescript-sdk) or Vercel AI SDK (@ai-sdk/*) topics, optionally use Deepwiki MCP for quick lookups, and still treat the SDK source code as the source of truth.

  1. Doc-first pass: review existing pages

- Walk each relevant page under docs/src/content/docs (excluding docs/src/content/docs/openai). - Identify missing mentions of important, supported options (opt-in flags, env vars), customization points, or new features from packages/. - Propose additions where users would reasonably expect to find them on that page.

  1. Code-first pass: map features to docs

- Review the current docs information architecture under docs/src/content/docs. - Determine the best page/section for each feature based on existing patterns and package boundaries. - Identify features that lack any doc page or have a page but no corresponding content. - Note when a structural adjustment would improve discoverability.

  1. Detect gaps and inaccuracies

- Missing: features/configs present in main but absent in docs. - Incorrect/outdated: names, defaults, or behaviors that diverge from main. - Structural issues (optional): pages overloaded, missing overviews, or mis-grouped topics.

  1. Produce a Docs Sync Report and ask for approval

- Provide a clear report with evidence, suggested doc locations, and proposed edits. - Ask the user whether to proceed with doc updates.

  1. If approved, apply changes (English only)

- Edit only English docs in docs/src/content/docs/**. - Exclude docs/src/content/docs/openai from review and updates. - Do not edit docs/src/content/docs/ja, docs/src/content/docs/ko, or docs/src/content/docs/zh. - Keep changes aligned with the existing docs style and navigation. - Place any code snippets under examples/docs/<doc-filename>/ so the directory name matches the target doc file, mirroring existing patterns. - Verify doc code snippets build successfully with pnpm -F docs-code build-check and fix issues before handoff.

Output format

Use this template when reporting findings:

Docs Sync Report

  • Doc-first findings

- Page + missing content → evidence + suggested insertion point

  • Code-first gaps

- Feature + evidence → suggested doc page/section (or missing page)

  • Incorrect or outdated docs

- Doc file + issue + correct info + evidence

  • Structural suggestions (optional)

- Proposed change + rationale

  • Proposed edits

- Doc file → concise change summary

  • Questions for the user

References

  • references/doc-coverage-checklist.md

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

29.55%
按下载量换算188

OpenCode

24.38%
按下载量换算155

Cursor

14.96%
按下载量换算95

Gemini CLI

13.12%
按下载量换算83

windsurf

7.71%
按下载量换算49

Codex

3.6%
按下载量换算23

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills