Token导航 LogoToken导航

Agent Skill · 效率

update-docs-on-code-change(更新代码更改文档)

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

update-docs-on-code-change 是效率类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描已通过,按安装量在效率类的 21,003 个 Skill 里排第 14,038。

总安装 3,510周安装 142GitHub Stars 公开资料未说明下载 1,102核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install update-docs-on-code-change

这个 Skill 是做什么的

效率类 Skill 把重复的整理、汇总、转换工作交给助手完成,减少手工复制粘贴。

在应用程序代码修改后自动同步更新 README 和相关文档。适用于添加新功能或调整接口时保持文档一致性的开发流程。可识别变更点并生成对应文档段落,减少人工维护成本。安装前请确认具备读写项目文档目录的权限,避免权限不足导致失败。建议结合版本控制系统使用,以便追溯文档变更历史。

update-docs-on-code-change 属于效率类 Skill,可作为该场景下的辅助能力补充。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

update-docs-on-code-change 怎么安装?

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

update-docs-on-code-change 支持哪些 AI 工具?

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

update-docs-on-code-change 需要什么权限?

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

update-docs-on-code-change 是免费的吗?

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

update-docs-on-code-change 用的人多吗?

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

update-docs-on-code-change 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

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

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理效率类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

效率类 Skill 对比

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

GitHub 代码协作 · OpenClaw

7,632,918545需要联网MIT-0通过
nano-pdf

Nano PDF 文档 · OpenClaw

4,249,476231需要联网MIT-0通过
auto-updater

自动更新程序 · OpenClaw

2,964,063386操作浏览器MIT-0通过
video-frames

视频帧 · OpenClaw

2,621,304112需要联网MIT-0通过
gemini

Gemini 助手 · OpenClaw

2,547,39648需要联网MIT-0有提醒
update-docs-on-code-change

更新代码更改文档 · 本页

3,510—接触敏感数据MIT-0通过

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

SKILL.md 原文

name
update-docs-on-code-change
description
Automatically update README.md and documentation files when application code changes require documentation updates. Use when adding new features, changing APIs, modifying configuration options, updating installation procedures, or making breaking changes. Triggers on code modifications that affect user-facing documentation, changelog entries, migration guides, or code examples.

Update Documentation on Code Change

A skill for keeping documentation synchronized with code changes. Automatically detects when README.md, API documentation, configuration guides, and other documentation files need updates based on code modifications.

When to Use This Skill

  • Adding new features or functionality
  • Changing API endpoints, methods, or interfaces
  • Introducing breaking changes
  • Modifying dependencies or requirements
  • Changing configuration options or environment variables
  • Updating installation or setup procedures
  • Modifying CLI commands or scripts
  • When code examples in documentation become outdated

Prerequisites

  • Understanding of the project's documentation structure
  • Access to code changes being made
  • Knowledge of documentation files that may need updates

Documentation Update Workflows

README.md Updates

Update README.md when:

  1. Adding new features or capabilities

- Add feature description to "Features" section - Include usage examples if applicable - Update table of contents if present

  1. Modifying installation or setup process

- Update "Installation" or "Getting Started" section - Revise dependency requirements - Update prerequisite lists

  1. Adding new CLI commands or options

- Document command syntax and examples - Include option descriptions and default values - Add usage examples

  1. Changing configuration options

- Update configuration examples - Document new environment variables - Update config file templates

API Documentation Updates

Sync API documentation when:

  1. New endpoints are added

- Document HTTP method, path, parameters - Include request/response examples - Update OpenAPI/Swagger specs

  1. Endpoint signatures change

- Update parameter lists - Revise response schemas - Document breaking changes

  1. Authentication or authorization changes

- Update authentication examples - Revise security requirements - Update API key/token documentation

Code Example Synchronization

Verify and update code examples when:

  1. Function signatures change

- Update all code snippets using the function - Verify examples still compile/run - Update import statements if needed

  1. API interfaces change

- Update example requests and responses - Revise client code examples - Update SDK usage examples

Changelog Management

Add changelog entries for:

  • New features (under "Added" section)
  • Bug fixes (under "Fixed" section)
  • Breaking changes (under "Changed" section with BREAKING prefix)
  • Deprecated features (under "Deprecated" section)
  • Removed features (under "Removed" section)
  • Security fixes (under "Security" section)

Changelog format:

## [Version] - YYYY-MM-DD

### Added
- New feature description with reference to PR/issue

### Changed
- **BREAKING**: Description of breaking change
- Other changes

### Fixed
- Bug fix description

Migration Guides

Create migration guides when:

  1. Breaking API changes occur

- Document what changed - Provide before/after examples - Include step-by-step migration instructions

  1. Major version updates

- List all breaking changes - Provide upgrade checklist - Include common migration issues and solutions

  1. Deprecating features

- Mark deprecated features clearly - Suggest alternative approaches - Include timeline for removal

Documentation File Structure

Maintain these documentation files and update as needed:

  • README.md: Project overview, quick start, basic usage
  • CHANGELOG.md: Version history and user-facing changes
  • docs/: Detailed documentation

- installation.md: Setup and installation guide - configuration.md: Configuration options and examples - api.md: API reference documentation - contributing.md: Contribution guidelines - migration-guides/: Version migration guides

  • examples/: Working code examples and tutorials

Documentation Quality Standards

Writing Guidelines

  • Use clear, concise language
  • Include working code examples
  • Provide both basic and advanced examples
  • Use consistent terminology
  • Include error handling examples
  • Document edge cases and limitations

Code Example Format

### Example: [Clear description of what example demonstrates]

\`\`\`language
// Include necessary imports/setup
import { function } from 'package';

// Complete, runnable example
const result = function(parameter);
console.log(result);
\`\`\`

**Output:**
\`\`\`
expected output
\`\`\`

API Documentation Format

### `functionName(param1, param2)`

Brief description of what the function does.

**Parameters:**
- `param1` (type): Description of parameter
- `param2` (type, optional): Description with default value

**Returns:**
- `type`: Description of return value

**Example:**
\`\`\`language
const result = functionName('value', 42);
\`\`\`

**Throws:**
- `ErrorType`: When and why error is thrown

Best Practices

Do's

  • Update documentation in the same commit as code changes
  • Include before/after examples for changes to be reviewed
  • Test code examples before committing
  • Use consistent formatting and terminology
  • Document limitations and edge cases
  • Provide migration paths for breaking changes
  • Keep documentation DRY (link instead of duplicating)

Don'ts

  • Commit code changes without updating documentation
  • Leave outdated examples in documentation
  • Document features that don't exist yet
  • Use vague or ambiguous language
  • Forget to update changelog
  • Ignore broken links or failing examples
  • Document implementation details users don't need

Validation Commands

Example scripts for documentation validation:

{
  "scripts": {
    "docs:build": "Build documentation",
    "docs:test": "Test code examples in docs",
    "docs:lint": "Lint documentation files",
    "docs:links": "Check for broken links",
    "docs:spell": "Spell check documentation",
    "docs:validate": "Run all documentation checks"
  }
}

Review Checklist

Before completing documentation updates:

  • [ ] README.md reflects current project state
  • [ ] All new features are documented
  • [ ] Code examples are tested and work
  • [ ] API documentation is complete and accurate
  • [ ] Configuration examples are up to date
  • [ ] Breaking changes are documented with migration guide
  • [ ] CHANGELOG.md is updated
  • [ ] Links are valid and not broken
  • [ ] Installation instructions are current
  • [ ] Environment variables are documented

Troubleshooting

IssueSolution
Outdated code examplesRe-run examples against current code and update
Missing API documentationReview all public interfaces and document each
Broken linksUse link checker tools to identify and fix
Inconsistent terminologyCreate a glossary and standardize usage
Missing changelog entryAdd entry following the changelog format

平台分布

OpenClaw

84.3%
按下载量换算929

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

接触敏感数据

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

安装前确认

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

继续浏览同类 Skills