Token导航 LogoToken导航

Agent Skill · 开发

improve-doc(改进文档)

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

improve-doc 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描已通过,按安装量在开发类的 21,746 个 Skill 里排第 17,575。

总安装 396周安装 16GitHub Stars 54下载 124核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/existential-birds/beagle --skill improve-doc

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

improve-doc 用于辅助文档、README 和 Markdown 的整理与改写,提升可读性和结构清晰度。适合提炼章节结构、统一术语、检查链接或整合零散材料为规范文档。支持交互式优化每个段落,保留项目原有事实和路径信息。涉及对外文案时应避免过度营销,确保语气克制、信息准确。

适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/improve-doc

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

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

常见问题

6 条

improve-doc 怎么安装?

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

improve-doc 支持哪些 AI 工具?

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

improve-doc 需要什么权限?

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

improve-doc 是免费的吗?

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

improve-doc 用的人多吗?

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

improve-doc 安全吗?

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

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

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

适不适合你

更适合

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

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

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

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
improve-doc

改进文档 · 本页

39654接触敏感数据未明确通过

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

SKILL.md 原文

Improve Doc

Analyze an existing markdown document, classify sections by Diataxis type, identify issues, and interactively refine each section.

Arguments

  • Path: Path to the markdown document to improve (required)

Workflow Overview

/beagle-docs:improve-doc docs/guides/getting-started.md

The command runs in two phases:

  1. Analysis Phase: Parse document, classify sections, identify issues
  2. Refinement Phase: Interactive loop to improve each section

Phase 1: Analysis

Step 1: Read Document

Read the target markdown file and parse into sections based on headings:

  • Each #, ##, ### heading starts a new section
  • Capture heading level, title, and content
  • Preserve hierarchy for context

Step 2: Load Core Skill

Load beagle-docs:docs-style for core writing principles that apply to all documentation types.

Step 3: Classify Each Section

For each section, determine the Diataxis type using these indicators:

TypeIndicators
Tutorial"Let's", "we will", step-by-step learning, builds toward a project, minimal explanation of why
How-To"How to" title, task-focused steps, assumes prior knowledge, goal-oriented
ReferenceParameter tables, type signatures, API specs, factual descriptions, no narrative
Explanation"Why", "because", history, trade-offs, alternatives, conceptual discussion

Classification rules:

  1. Check title first - "How to X" is always How-To, "Why X" is always Explanation
  2. Look for structural patterns - tables with parameters/types suggest Reference
  3. Analyze language - learning-oriented ("Let's learn") vs task-oriented ("To accomplish X")
  4. Consider context - what comes before/after this section
  5. Mark as "Mixed" if section blends types (this is an issue to fix)

Step 4: Identify Issues

For each section, check for issues based on its detected type:

Tutorial issues:

  • Explains "why" instead of just guiding the learner
  • Skips steps assuming prior knowledge
  • No clear learning outcome
  • Missing "you will build/learn" framing

How-To issues:

  • Includes explanatory tangents
  • Missing prerequisites
  • Steps not atomic (multiple actions per step)
  • No verification that goal was achieved

Reference issues:

  • Missing parameter types or return values
  • Narrative text instead of factual description
  • Incomplete coverage of options/parameters
  • No code examples

Explanation issues:

  • Includes procedural steps
  • Missing context for "why"
  • No trade-offs or alternatives discussed
  • Reads like reference material

Cross-type issues (any section):

  • Mixed Diataxis types in single section
  • Unclear who the audience is
  • Missing or vague heading
  • Wall of text without structure

Step 5: Present Analysis

Display analysis summary to user:

## Document Analysis

**File:** `docs/guides/getting-started.md`
**Sections found:** 8
**Estimated time:** ~15 minutes to refine

### Type Breakdown

| Type | Sections | Health |
|------|----------|--------|
| Tutorial | 2 | 1 issue |
| How-To | 3 | 4 issues |
| Reference | 1 | Clean |
| Explanation | 1 | 2 issues |
| Mixed | 1 | Needs split |

### Top Issues

1. **Section "Setting Up"** (How-To): Contains explanatory tangent about architecture
2. **Section "Configuration Options"** (Mixed): Blends reference table with tutorial steps
3. **Section "Authentication"** (How-To): Missing prerequisites, steps not atomic
4. **Section "Why We Built This"** (Explanation): Includes procedural steps

### Ready to Refine?

I'll go through each section with issues. For each one, you can:
- **yes** - Accept the proposed improvement
- **skip** - Keep original, move to next section
- **modify** - Tell me what to change about the proposal

Type "start" to begin refinement, or "abort" to exit without changes.

Phase 2: Interactive Refinement

Step 1: Load Type-Specific Skills

As you encounter each section type, load the relevant skill if not already loaded:

  • Tutorial sections: beagle-docs:tutorial-docs
  • How-To sections: beagle-docs:howto-docs
  • Reference sections: beagle-docs:reference-docs
  • Explanation sections: beagle-docs:explanation-docs

Step 2: Refinement Loop

For each section with issues, in document order:

2a: Show Current State
---

## Section 3 of 5: "Setting Up" (How-To)

### Current Content

> ## Setting Up
>
> Before we begin, it's important to understand why the architecture
> works this way. The system uses a microservices pattern because...
> [explanatory content]
>
> To set up the project:
> 1. Clone the repo and install dependencies
> 2. Configure the environment variables
> 3. Start the server

### Issues Found

1. **Explanatory tangent** (lines 1-3): How-To should assume reader knows why; move explanation to dedicated Explanation section
2. **Non-atomic steps** (step 1): "Clone and install" is two actions; split into separate steps
3. **Missing verification**: No way to confirm setup succeeded
2b: Ask Clarifying Question (if needed)

If the type classification is uncertain:

### Quick Question

This section has characteristics of both How-To (task steps) and Explanation (why content). How would you like to handle it?

1. **Split** - Create separate How-To and Explanation sections
2. **How-To** - Remove explanation, keep as pure How-To
3. **Explanation** - Remove steps, keep as pure Explanation
2c: Propose Improvement
### Proposed Improvement

> ## Setting Up
>
> **Prerequisites:** Familiarity with microservices architecture
>
> ### Steps
>
> 1. Clone the repository
>    ```bash
>    git clone https://github.com/example/project.git
>    ```
>
> 2. Install dependencies
>    ```bash
>    cd project && npm install
>    ```
>
> 3. Configure environment variables
>    ```bash
>    cp .env.example .env
>    ```
>
> 4. Start the server
>    ```bash
>    npm start
>    ```
>
> ### Verify
>
> Open http://localhost:3000 - you should see the welcome page.

**Changes made:**
- Removed explanatory content (suggest creating "Architecture Overview" section)
- Split "clone and install" into separate steps
- Added verification step
- Added prerequisites reference

---

**Your choice:** [yes / skip / modify]
2d: Handle User Choice

yes - Apply the proposed changes to the section, continue to next

skip - Keep original content unchanged, continue to next

modify - User provides feedback:

> modify: Keep the explanation but move it to a collapsible "Why?" block

### Revised Proposal

> ## Setting Up
>
> <details>
> <summary>Why this architecture?</summary>
>
> The system uses a microservices pattern because...
>
> </details>
>
> ### Steps
> [same as before]

**Your choice:** [yes / skip / modify]

Step 3: Handle Mixed Sections

For sections classified as "Mixed":

---

## Section 5 of 5: "Configuration Options" (Mixed)

### Current Content

> ## Configuration Options
>
> Let's walk through configuring your application. First, you'll need
> to understand the available options:
>
> | Option | Type | Default | Description |
> |--------|------|---------|-------------|
> | port | number | 3000 | Server port |
> | debug | boolean | false | Enable debug mode |
>
> Now let's configure each one step by step...

### Issues Found

1. **Mixed types**: Tutorial framing ("Let's walk through") with Reference content (options table)

### Recommendation

Split into two sections:

1. **Reference section** - "Configuration Reference" with the options table
2. **Tutorial section** - "Configuring Your First App" with learning-oriented walkthrough

Would you like me to:
1. **Split** - Create both sections
2. **Reference only** - Keep just the table, remove tutorial framing
3. **Tutorial only** - Expand into full tutorial, move table to appendix

Step 4: Write Updated Document

After all sections processed:

  1. Build updated content from accepted changes
  2. Preserve unchanged sections exactly as they were
  3. Overwrite original file with updated content

Step 5: Report Results

## Refinement Complete

**File:** `docs/guides/getting-started.md`

### Changes Summary

| Section | Action | Type |
|---------|--------|------|
| Setting Up | Improved | How-To |
| Configuration Options | Split | Reference + Tutorial |
| Authentication | Improved | How-To |
| Why We Built This | Skipped | Explanation |

### Sections Modified

- **Setting Up**: Removed tangent, split steps, added verification
- **Configuration Options**: Split into "Configuration Reference" and "Configuring Your App"
- **Authentication**: Added prerequisites, made steps atomic

### New Sections Created

- **Configuration Reference** (Reference): Options table from split
- **Configuring Your App** (Tutorial): Learning walkthrough from split

### Recommendations

Consider creating these additional documents:
- `docs/explanation/architecture-overview.md` - For content removed from "Setting Up"

The original file has been updated.

Rules

  • Always load docs-style skill before analysis
  • Load type-specific skills lazily as sections are encountered
  • Never modify the file until refinement phase completes
  • Preserve sections marked "skip" exactly as-is
  • When splitting sections, maintain logical reading order
  • Ask clarifying questions when type classification is ambiguous (confidence < 70%)
  • For "Mixed" sections, always offer split as the first option
  • Include specific line references when identifying issues
  • Show diff-style changes in proposals when helpful
  • Respect user's "modify" feedback - iterate until they say "yes" or "skip"
  • Create backup note in output if major restructuring occurred

平台分布

Codex

34.41%
按下载量换算43

Claude

34.11%
按下载量换算42

Cursor

18.37%
按下载量换算23

Gemini CLI

10.29%
按下载量换算13

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

接触敏感数据

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

安装前确认

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

继续浏览同类 Skills