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

docs-update文档更新

Agent Skill

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

总安装

376

周安装

16

GitHub Stars

24

下载量

132
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/colonyops/hive --skill docs-update

简介

docs-update 辅助文档更新流程,识别代码变更对文档的影响并指导同步修改。

  • 适用于新增功能、配置项或用户交互变动后的 README、说明文等内容维护。
  • 它会分析提交历史与差异,提出待更新章节清单,保持文档与实现一致。
  • 使用时应基于真实变更判断必要性,避免过度修改未受影响的部分。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Documentation Update Workflow

Streamline documentation updates when code changes are made. This skill helps identify what documentation needs updating and guides you through the process.

When to Use

Use this skill after:

  • Adding new TUI keybindings
  • Adding new CLI commands or flags
  • Adding new config options
  • Changing default behavior
  • Adding new features or integrations
  • Modifying user-facing functionality

Workflow

Step 1: Identify Changes

Analyze recent commits or current changes to identify documentation-impacting changes:

# Check uncommitted changes
git diff

# Check recent commits
git log -5 --oneline
git show <commit-sha>

# Check specific files
git diff HEAD~1 internal/tui/model.go

Look for:

  • New keybindings in TUI code
  • New commands in CLI code
  • New config fields
  • Changed default values
  • New features or integrations

Step 2: Find Relevant Documentation

Documentation files to check:

FileUpdate When
README.mdKeybindings, features, config options, CLI commands
docs/recipes/*.mdIntegration-specific changes
CLI help textNew commands, flags, or changed behavior

Search commands:

# Find documentation files
find . -name "*.md" -not -path "./agent-deck/*" | head -20

# Search for specific content
grep -r "keybindings" README.md docs/
grep -r "Default keybindings" README.md

Step 3: Update Documentation

README.md Sections to Update

Default Keybindings (around line 311):

**Default keybindings:**

- `:` - Open command palette (when user commands configured)
- `v` - Toggle preview sidebar (shows tmux pane output)
- `r` - Recycle session
- `d` - Delete session
...

TUI Features (around line 303):

**Features:**

- Tree view of sessions grouped by repository
- Real-time terminal status monitoring (with tmux integration)
- Preview sidebar showing live tmux pane output (`v` to toggle)
...

Configuration Options (around line 238): Add new config fields to the table with type, default, and description.

CLI Reference (starting line 288): Add new commands or flags with descriptions and examples.

Recipe Updates

Update docs/recipes/tmux-integration.md when:

  • Adding tmux-specific keybindings
  • Changing tmux integration behavior
  • Adding new status indicators

Step 4: Verify Updates

Check that documentation is accurate and complete:

# Search for old keybinding references
grep -r "old-key" README.md docs/

# Verify all new features are documented
grep -r "new-feature" README.md

# Check for consistency
grep -rn "keybindings" README.md

Step 5: Commit

Commit documentation changes separately from code changes:

git add README.md docs/
git commit -m "docs: describe what was updated

Detailed description of changes."

Examples

Example 1: New TUI Keybinding

Change: Added v key to toggle preview sidebar

Documentation Updates:

  1. README.md line ~315: Add v key to keybindings list
  2. README.md line ~305: Add preview feature to features list
  3. Verify no other mentions of keybindings need updating

Commit:

git add README.md
git commit -m "docs: add preview sidebar to TUI features and keybindings

Document the new 'v' key for toggling the tmux pane preview sidebar
in the default keybindings list and TUI features section."

Example 2: New Config Option

Change: Added tui.preview_enabled config option

Documentation Updates:

  1. README.md Configuration Options table: Add new row with type, default, description
  2. README.md Config example: Add to YAML example if commonly used
  3. Check if any recipes should mention it

Example 3: New CLI Command

Change: Added hive preview command

Documentation Updates:

  1. README.md CLI Reference: Add new section with command description
  2. Add flag table if command has flags
  3. Add usage examples
  4. Update command list in Quick Start if relevant

Checklist

Use this checklist for every documentation update:

  • Identified all code changes that impact users
  • Found all relevant documentation files
  • Updated README.md keybindings (if applicable)
  • Updated README.md features list (if applicable)
  • Updated README.md config options (if applicable)
  • Updated README.md CLI reference (if applicable)
  • Updated recipes (if applicable)
  • Searched for old references to changed behavior
  • Verified accuracy of all updates
  • Committed with clear message

Tips

Be Proactive:

  • Update docs in the same PR as code changes when possible
  • Review documentation as part of code review

Be Thorough:

  • Search for all mentions of changed behavior
  • Update examples to match new behavior
  • Check both inline docs and separate files

Be Clear:

  • Use consistent terminology
  • Provide examples for complex features
  • Document the "why" not just the "what"

Keep Organized:

  • Separate doc commits from code commits when updating after the fact
  • Use descriptive commit messages
  • Link docs commits to related code commits

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.16%
按下载量换算44

Claude

29.48%
按下载量换算39

Cursor

18.9%
按下载量换算25

Gemini CLI

9.56%
按下载量换算13

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/colonyops/hive --skill docs-update 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills