Token导航 LogoToken导航

Agent Skill · 研究检索

update-docs(更新文档)

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

update-docs 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 48,867。

总安装 674周安装 27GitHub Stars 11,607下载 218核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/pipecat-ai/pipecat --skill update-docs

这个 Skill 是做什么的

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

用于辅助文档、README 和 Markdown 内容整理。适合提炼结构、补齐章节或统一术语。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。使用时应保留项目已有事实,避免写成确定结论。涉及对外文案需控制语气,避免过度营销。

update-docs 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/update-docs

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/pipecat-ai/pipecat --skill update-docs;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

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

常见问题

6 条

update-docs 怎么安装?

在终端执行 npx skills add https://github.com/pipecat-ai/pipecat --skill update-docs。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

update-docs 支持哪些 AI 工具?

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

update-docs 需要什么权限?

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

update-docs 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

update-docs 用的人多吗?

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

update-docs 安全吗?

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

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。
  • 来源仓库有 11,607 星,维护活跃度相对可查。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

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

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 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调用外部服务未明确有提醒
update-docs

更新文档 · 本页

67411,607接触敏感数据未明确通过

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

SKILL.md 原文

Update documentation pages to reflect source code changes on the current branch. Analyzes the diff against main, maps changed source files to their corresponding doc pages, and makes targeted edits.

Arguments

/update-docs [DOCS_PATH]
  • DOCS_PATH (optional): Path to the docs repository root. If not provided, ask the user.

Examples:

  • /update-docs /Users/me/src/docs
  • /update-docs

Instructions

Step 1: Resolve docs path

If DOCS_PATH was provided as an argument, use it. Otherwise, ask the user for the path to their docs repository.

Verify the path exists and contains server/services/ subdirectory.

Step 2: Create docs branch

Get the current pipecat branch name:

git rev-parse --abbrev-ref HEAD

In the docs repo, create a new branch off main with a matching name:

cd DOCS_PATH && git checkout main && git pull && git checkout -b {branch-name}-docs

For example, if the pipecat branch is feat/new-service, the docs branch becomes feat/new-service-docs.

All doc edits in subsequent steps are made on this branch.

Step 3: Detect changed source files

Run:

git diff main..HEAD --name-only

Filter to files that could affect documentation:

  • src/pipecat/services/**/*.py (service implementations)
  • src/pipecat/transports/**/*.py (transport implementations)
  • src/pipecat/serializers/**/*.py (serializer implementations)
  • src/pipecat/processors/**/*.py (processor implementations)
  • src/pipecat/audio/**/*.py (audio utilities)
  • src/pipecat/turns/**/*.py (turn management)
  • src/pipecat/observers/**/*.py (observers)
  • src/pipecat/pipeline/**/*.py (pipeline core)

Ignore __init__.py, __pycache__, test files, and files that only contain type re-exports.

Step 4: Map source files to doc pages

For each changed source file, find the corresponding doc page. Read the mapping file at .claude/skills/update-docs/SOURCE_DOC_MAPPING.md and apply its tiered lookup: tier 1 (known exceptions) → tier 2 (pattern matching) → tier 3 (search fallback). First match wins.

Step 5: Analyze each source-doc pair

For each mapped pair:

  1. Read the full source file to understand current state
  2. Read the diff for that file: git diff main..HEAD -- <source_file>
  3. Read the current doc page in full

Identify what changed by comparing source to docs:

  • Constructor parameters: Compare __init__ signature to the Configuration section's <ParamField> entries
  • InputParams fields: Compare InputParams(BaseModel) class fields to the InputParams table
  • Event handlers: Compare _register_event_handler calls and event handler definitions to Event Handlers section
  • Class names / imports: Check if Usage examples reference correct names
  • Behavioral changes: Check if Notes section needs updating

Step 6: Make targeted edits

For each doc page that needs updates, edit only the sections that need changes. Preserve all other content exactly as-is.

Rules
  • Never remove content unless the corresponding source code was removed
  • Never rewrite sections that are already accurate
  • Match existing formatting — if the page uses <ParamField> tags, use them; if it uses tables, use tables
  • Keep descriptions concise — match the tone and length of surrounding content
  • Preserve CardGroup, links, and examples unless they reference removed functionality
  • Don't touch frontmatter unless the class was renamed
Section-specific guidance

Configuration (constructor params):

  • Use <ParamField path="name" type="type" default="value"> format if the page already uses it
  • Add new params in logical order (required first, then optional)
  • Remove params that no longer exist in source
  • Update types/defaults that changed

InputParams (runtime settings):

  • Use markdown table format: | Parameter | Type | Default | Description |
  • Match the field names and types from the InputParams(BaseModel) class
  • Include the default values from the source

Usage (code examples):

  • Update import paths, class names, and parameter names
  • Only modify examples if they would break or be misleading with the new API
  • Don't rewrite working examples just to add new optional params

Notes:

  • Add notes for new behavioral gotchas or breaking changes
  • Remove notes about limitations that were fixed
  • Keep existing notes that are still accurate

Event Handlers:

  • Update the event table and example code
  • Add new events, remove deleted ones
  • Update handler signatures if they changed

Overview / Key Features / Prerequisites:

  • Only update if the PR fundamentally changes what the service does (new capability, removed capability, renamed class)
  • Most PRs will NOT need changes to these sections

Step 7: Update guides

Guides at DOCS_PATH/guides/ reference specific class names, parameters, imports, and code patterns. After completing reference doc edits, check if any guides need updates too.

For each changed source file, collect the class names, renamed parameters, and changed imports from the diff. Search the guides directory:

grep -rl "ClassName\|old_param_name" DOCS_PATH/guides/

For each guide that references changed code:

  1. Read the full guide
  2. Update class names, parameter names, import paths, and code examples that are now incorrect
  3. Don't rewrite prose — only fix the specific references that changed
  4. Leave guides alone if they reference the service generally but don't use any changed APIs

Guide directories:

  • guides/learn/ — conceptual tutorials (pipeline, LLM, STT, TTS, etc.)
  • guides/fundamentals/ — practical how-tos (metrics, recording, transcripts, etc.)
  • guides/features/ — feature-specific guides (Gemini Live, OpenAI audio, WhatsApp, etc.)
  • guides/telephony/ — telephony integration guides (Twilio, Plivo, Telnyx, etc.)

Step 8: Identify doc gaps

After processing all mapped pairs, check for two kinds of gaps:

Missing pages: Source files that had no doc page mapping (neither tier 1, 2, nor 3) and are not marked as "(skip)". For each, tell the user:

  • The source file path
  • The main class(es) it defines
  • Whether a new doc page should be created

Missing sections: Mapped doc pages that are missing standard sections compared to the source. For example, a transport page with no Configuration section, or a service page with no InputParams table when the source defines InputParams(BaseModel). Flag these and offer to add the missing sections.

If the user wants a new page, do all three of the following:

8a: Create the doc page

Create the new .mdx file using this template structure:

---
title: "Service Name"
description: "Brief description"
---

## Overview

[Description from class docstring or source analysis]

<CardGroup cols={2}>
  [Cards for API reference and examples if available]
</CardGroup>

## Installation

pip install "pipecat-ai[package-name]"


## Prerequisites

[Environment variables and account setup]

## Configuration

[ParamField entries for constructor params]

## InputParams

[Table of InputParams fields, if the service has them]

## Usage

### Basic Setup

[Minimal working example]


## Notes

[Important caveats]

## Event Handlers

[Event table and example code]
8b: Add to docs.json

Add the new page path to DOCS_PATH/docs.json in the correct navigation group. The path format is server/services/{category}/{provider} (without the .mdx extension).

Find the matching group in the navigation structure:

  • STT → "group": "Speech-to-Text" under Services
  • TTS → "group": "Text-to-Speech" under Services
  • LLM → "group": "LLM" under Services
  • S2S → "group": "Speech-to-Speech" under Services
  • Transport → "group": "Transport" under Services
  • Serializer → "group": "Serializers" under Services
  • Image generation → "group": "Image Generation" under Services
  • Video → "group": "Video" under Services
  • Memory → "group": "Memory" under Services
  • Vision → "group": "Vision" under Services
  • Analytics → "group": "Analytics & Monitoring" under Services

Insert the new entry alphabetically within the group's pages array. For example, adding a new STT service "foo":

{
  "group": "Speech-to-Text",
  "pages": [
    "server/services/stt/assemblyai",
    "server/services/stt/aws",
    ...
    "server/services/stt/foo",
    ...
  ]
}
8c: Add to supported-services.mdx

Add a new row to the correct category table in DOCS_PATH/server/services/supported-services.mdx.

Use this format:

| [DisplayName](/server/services/{category}/{provider}) | `pip install "pipecat-ai[package]"` |

To determine the correct values:

  • DisplayName: Use the service's human-readable name (e.g., "ElevenLabs", "AWS Polly", "Google Gemini")
  • package: Look at the service's pyproject.toml extras or the import pattern in the source code. For example, if the service is in src/pipecat/services/foo/, the package is typically foo.
  • If no pip dependencies are required, use No dependencies required instead.

Insert the new row alphabetically within the table. Match the column alignment of the existing rows.

Step 9: Output summary

After all edits are complete, print a summary:

## Documentation Updates

### Updated reference pages
- `server/services/stt/deepgram.mdx` — Updated Configuration (added `new_param`), InputParams (updated `language` default)
- `server/services/tts/elevenlabs.mdx` — Updated Event Handlers (added `on_connected`)

### Updated guides
- `guides/learn/speech-to-text.mdx` — Updated code example (renamed `old_param` → `new_param`)

### New service pages
- `server/services/tts/newprovider.mdx` — Created page, added to docs.json (Text-to-Speech), added to supported-services.mdx

### Unmapped source files
- `src/pipecat/services/newprovider/tts.py` — NewProviderTTSService (no doc page exists)

### Skipped files
- `src/pipecat/services/ai_service.py` — internal base class

Guidelines

  • Be conservative — only change what the diff warrants. Don't "improve" docs beyond what changed in source.
  • Read before editing — always read the full doc page before making changes so you understand the existing structure.
  • Preserve voice — match the writing style of the existing doc page, don't impose a different tone.
  • One PR at a time — this skill operates on the current branch's diff against main. Don't look at other branches.
  • Parallel analysis — when multiple source files map to different doc pages, analyze and edit them in parallel for efficiency.
  • Shared source files — files like services/google/google.py are shared bases. Check which services import from them and update all affected doc pages.

Checklist

Before finishing, verify:

  • All changed source files were checked against the mapping table
  • Each doc page edit matches the actual source code change (not guessed)
  • No content was removed unless the corresponding source was removed
  • New parameters have accurate types and defaults from source
  • Formatting matches the existing page style
  • Guides referencing changed APIs were checked and updated
  • New service pages were added to docs.json in the correct group, alphabetically
  • New service pages were added to supported-services.mdx in the correct table, alphabetically
  • Unmapped files were reported to the user

平台分布

Codex

38.39%
按下载量换算84

Claude

29.29%
按下载量换算64

Cursor

19.32%
按下载量换算42

Gemini CLI

9.82%
按下载量换算21

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

接触敏感数据

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

安装前确认

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

继续浏览同类 Skills