Token导航 LogoToken导航

Agent Skill · 研究检索

docs-sync(文档同步)

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

docs-sync 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为需要联网;许可证为 MIT-0,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 11,002。

总安装 11,832周安装 498GitHub Stars 1下载 4,143核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.3

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install docs-sync

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

自动同步项目文档与代码变更,确保 PR 合并后 README 等内容及时更新。智能识别受影响文档清单,起草更新草案并纳入版本管理流程。减少人工维护成本,提升开源项目协作透明度与规范性水平。依赖 git hook 机制触发,需配置仓库 webhook 地址保证事件捕获正常。

敏感信息变更时应暂停自动同步,防止意外暴露机密数据。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install docs-sync;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

docs-sync 怎么安装?

在终端执行 openclaw skills install docs-sync。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

docs-sync 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

docs-sync 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

docs-sync 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

docs-sync 用的人多吗?

公开数据是累计安装 11,832 次,近一周安装 498 次,下载 4,143 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

docs-sync 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
docs-sync

文档同步 · 本页

11,8321需要联网MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
docs-sync
description
>

Docs Sync

Prerequisites

  • git
  • gh (GitHub CLI, authenticated via gh auth login)

Keep project documentation current with code changes. Three modes:

  1. Content sync — update doc content after code changes
  2. Site management — maintain doc site structure and navigation
  3. Docs audit — identify stale docs that need attention

Repo Discovery

Before doing anything, discover the project's documentation setup:

  1. Run git rev-parse --show-toplevel to find the repo root
  2. Check for .docs-sync.yml at the repo root — if it exists, read it and use its

values for all paths, roles, and site config

  1. If no config file, auto-discover:

- Doc site engine: look for mkdocs.yml, docusaurus.config.js, .vitepress/config.* - Doc directory: look for docs/, documentation/, wiki/ - Known doc files: scan for common patterns (see Doc Roles below) - Convention files: CLAUDE.md, AGENTS.md, CONTRIBUTING.md

  1. Run gh repo view --json name,owner to confirm the repo

Config File: .docs-sync.yml

Optional config file at repo root. All fields are optional — auto-discovery fills gaps. See docs-sync.yml in the skill directory for a starter.

# Map your doc files to roles so the skill knows what content belongs where
docs:
  - path: docs/features.md
    role: features

  - path: docs/architecture.md
    role: architecture

  - path: CHANGELOG.md
    role: changelog
    format: keep-a-changelog

  - path: CLAUDE.md
    role: conventions

  - path: README.md
    role: readme

# Doc site configuration (optional)
site:
  engine: mkdocs               # mkdocs | docusaurus | vitepress
  config: mkdocs.yml           # path to site config
  auto_nav: true               # update navigation when docs change

Doc Roles

Roles tell the skill what kind of content a file contains, so it knows *how* to update it.

RoleContentUpdated when...
featuresUser-facing feature descriptions, shortcuts, statusNew feature added, feature behavior changes
architectureApp structure, data flow, patterns, diagramsNew components, changed patterns, refactors
conventionsDev setup, coding rules, build commandsBuild process changes, new conventions adopted
changelogVersion-based change historyAny significant change (follows format: keep-a-changelog, conventional, custom)
readmeProject overview, install instructions, quick startMajor features, install process changes
apiAPI reference, endpoints, function signaturesPublic API changes
guideTutorials, how-tos, walkthroughsWorkflow changes, new capabilities
customAnything else — describe in the description fieldBased on your description

Auto-Detection (No Config)

Without a config file, the skill detects roles by filename:

PatternInferred role
*feature*, *capability*features
*architect*, *design*, *structure*architecture
CLAUDE.md, AGENTS.md, CONTRIBUTING.md, *convention*conventions
CHANGELOG*, CHANGES*, HISTORY*changelog
README*readme
*api*, *reference*, *endpoint*api
*guide*, *tutorial*, *howto*guide

Files not matching any pattern are skipped unless listed in the config.

Workflow: Content Sync

When the user says docs need updating (or after a PR merge):

  1. Identify what changed — determine the scope of code changes:

- If a PR number is provided: gh pr view <N> --json files,title,body - If a commit range: git diff --name-only <range> - If unspecified: git diff --name-only HEAD~1 (last commit) - Read the actual diffs for changed files to understand *what* changed, not just *which* files

  1. Map changes to affected docs — for each changed file, determine which doc

roles are affected: - New UI component → features, architecture - Changed data model → architecture - New keyboard shortcut → features - Changed build command → conventions - Bug fix → changelog (if tracking fixes) - New API endpoint → api, readme (if it's a headline feature)

  1. Read current docs — read each affected doc file to understand current content,

structure, and style

  1. Draft updates — write the specific changes needed for each doc:

- Match the existing writing style and structure - Add to existing sections rather than creating new ones (unless clearly needed) - For changelog: add entry under the appropriate version/section - For features: add or update the feature entry, not rewrite the whole file - For architecture: update the affected section, preserve diagrams

  1. Apply or propose — based on user preference:

- Direct apply: edit the files, commit to a branch, report what changed - Review first: show the proposed changes and ask for approval - Issue: create a GitHub issue listing which docs need updating and why

Quality Checklist

Before committing doc updates:

  • [ ] Each update matches the existing style of that doc file
  • [ ] No content was removed that's still accurate
  • [ ] New entries are placed in the correct section (not appended randomly)
  • [ ] Cross-references between docs are consistent
  • [ ] Changelog entries follow the file's existing format
  • [ ] Feature descriptions are user-facing (not implementation details)

Workflow: Site Management

When docs are added, moved, or deleted — keep the site structure current.

mkdocs

  1. Read mkdocs.yml and parse the nav: section
  2. For new docs: determine the correct nav section based on the doc's role and path
  3. Add the entry to nav: in the right position
  4. For moved docs: update the nav path
  5. For deleted docs: remove the nav entry

docusaurus

  1. Check sidebars.js or sidebars.ts
  2. For auto-generated sidebars: ensure the doc has correct frontmatter (sidebar_position, sidebar_label)
  3. For manual sidebars: add/update/remove entries

vitepress

  1. Check .vitepress/config.* for sidebar configuration
  2. Add/update/remove sidebar entries as needed

General Rules

  • Preserve existing organization — don't reorganize the nav, just maintain it
  • Follow naming patterns — if existing entries use Title Case, match that
  • Respect ordering — add new entries at logical positions, not always at the end
  • Update indexes — if a section has an index.md with a list, update it too

Workflow: Docs Audit

When the user asks "which docs are stale?" or "audit my docs":

  1. Discover all doc files (see Repo Discovery)
  2. For each doc file, check git log -1 --format="%ar" -- <path> for last modified
  3. Compare with recent code changes in related areas
  4. Report docs that may be stale:

- Doc hasn't been updated in a long time but related code changed recently - Doc references files/functions/patterns that no longer exist - Doc describes behavior that the code no longer implements

  1. Suggest specific updates needed for each stale doc

Important Rules

  • Match existing style — read the doc before updating it. Don't impose a new format.
  • Be surgical — update the specific section that changed, don't rewrite entire docs
  • Features are user-facing — don't write "Added SyncSettingsView.swift", write

"Added sync settings with enable/disable toggle, status indicator, and Sync Now button"

  • Don't remove accurate content — only remove content that's now wrong
  • Commit to a branch — never push directly to main
  • One concern per update — if a PR changed both features and architecture, update

both docs but keep the changes focused on what actually changed

  • Respect repo conventions — if the repo has CLAUDE.md or CONTRIBUTING.md, read

and follow its branch naming, commit message, and PR conventions

平台分布

OpenClaw

84.31%
按下载量换算3,493

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

未展示

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills