Token导航 LogoToken导航TokenDH.com
研究检索执行命令clawhub未标认证来源可访问clear审计通过

docs-refresh文档刷新

Agent Skill

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

总安装

3,066

周安装

132

GitHub Stars

1

下载量

1,045
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install docs-refresh

简介

基于路由机制渐进式刷新权威文档内容,保持信息时效性。

  • 适合多分支协作场景下同步不同版本的说明材料。
  • 可根据用户角色或任务类型推送差异化文档片段避免信息过载。
  • 需评估文档变更影响范围,避免高频刷新导致系统负载升高。
  • docs-refresh 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
docs-refresh
description
Refresh authoritative docs through a routed progressive-disclosure workflow.

Docs Refresh

Use this to close out work by syncing durable docs with the repository's real state. It is not a general writing prompt.

Keep the workflow platform-neutral. Host-specific aliases, launcher syntax, and metadata belong in adapters.

Shared Rules

  • The repository is the record system. Durable knowledge belongs in versioned docs near the code, not in chat.
  • AGENTS.md is a map, not a manual. Keep it short, stable, and navigational.
  • Update the smallest authoritative doc that owns the fact.
  • Prefer the bundled collector before manual routing, but do not block on it if it cannot be run from the skill directory.
  • Never run git add, git commit, or automatic VCS cleanup.

Route First

  1. Read repository guidance first. Start with AGENTS.md when present, then follow only the pointers needed to find authority, ownership, freshness rules, and doc-lint requirements.
  2. Resolve the directory containing this SKILL.md.
  3. If you can run bundled files from the skill directory, run the collector from that skill directory against [repo-root]. Do not assume the target repo has its own scripts/collect_changed_context.sh.
  4. If the collector succeeds, read its [routing] section and open only the matching mode file from preferred_mode_doc.
  5. If the collector is unavailable, cannot be resolved from the skill directory, or shell execution is unavailable, manually collect git status --short, staged and unstaged changed files, untracked files, diff stat, and the repository docs layout.
  6. Use the manual routing fallback below to choose exactly one mode file.
  7. Use the current workspace state as the source of truth: staged diff, unstaged diff, untracked files, and generated artifacts when the repository treats them as authoritative outputs.
  8. Inspect only the code, schema, generated artifacts, and current docs needed to confirm the real behavior change.
  9. Stop after explaining what changed or why no doc change was needed.

Manual Routing Fallback

Use this only when the bundled collector cannot be run from the skill directory or its routing output is unavailable.

  • bootstrap: no split docs tree exists, and the repository does not yet have a stable docs system beyond README.md or a few incidental docs. README.md only is still bootstrap.
  • minimal: no split docs tree exists, but the repository already has one or more stable living docs such as AGENTS.md, ARCHITECTURE.md, or durable top-level current-state docs. A repo can be minimal even if AGENTS.md is absent.
  • structured: split docs domains already exist, such as docs/design-docs/, docs/product-specs/, docs/references/, docs/generated/, or docs/exec-plans/.
  • repair: a real docs system exists, but its map or authority is broken enough that content edits would deepen drift: missing index pages, stale or broken AGENTS.md or ARCHITECTURE.md, broken cross-links, or no usable navigation path from entry docs to owning pages.
  • Missing AGENTS.md alone does not mean repair.
  • Sparse docs alone do not mean repair.
  • When in doubt between minimal and repair, choose minimal unless the repository already has a real docs system whose map is broken.

Shared Decision Rules

  • Usually no documentation edits for tests-only, docs-only, comments-only, formatting-only, or internal refactors that do not change public behavior, architecture, state semantics, runtime operation, or external contracts.
  • Force a documentation review when the change touches APIs, schema, CLI flags, run modes, scheduler behavior, trigger flow, core architecture, state model, external contracts, durable entry points, documented core beliefs, or stale navigation.
  • If the signal is ambiguous, inspect the diff before deciding. Do not update docs just because code changed.

Shared Authority Rules

  • Prefer this authority order unless the repository defines a stricter one:

1. code, tests that prove behavior, schema, and authoritative generated artifacts 2. current-state architecture, design, product, reliability, security, and reference docs 3. navigation docs and indexes such as AGENTS.md, ARCHITECTURE.md, and docs/**/index.md 4. plans, decision logs, and history documents

  • AGENTS.md never outranks code or the deeper docs it points to.

Modes

  • modes/bootstrap.md: Repos with no real docs system yet. Start with phased growth from README.md, AGENTS.md, and only add deeper structure when durable domains appear.
  • modes/minimal.md: Repos with core living docs but no split docs taxonomy. Prefer updating those docs and only create the first subtree when it has earned a second durable page.
  • modes/structured.md: Repos that already have split docs domains. Preserve the existing taxonomy and converge to the smallest authoritative page.
  • modes/repair.md: Repos whose docs system exists but navigation or authority surfaces are stale. Repair the map and indexes before expanding content.
  • Each mode file supports both collector-selected routing and the manual fallback rules above.

Explain The Result

If no documentation change is needed, say so explicitly and explain why.

If documentation changed, report:

  • which documents changed
  • why those documents were the right convergence points
  • whether AGENTS.md stayed unchanged on purpose, or why its navigation changed
  • why you reused existing docs instead of creating new files
  • what remains stale, uncovered, or needs manual follow-up

Stop after the explanation. Do not stage or commit anything.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

88.84%
按下载量换算928

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install docs-refresh 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills