Token导航 LogoToken导航TokenDH.com
开发只读clawhub未标认证来源可访问clear审计通过

skill-doc-enhancer技能文档增强器

Agent Skill

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

总安装

3,058

周安装

130

GitHub Stars

公开资料未说明

下载量

1,071
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install skill-doc-enhancer

简介

通过分析技能目录结构、添加使用示例、脚本文档、常见用法,自动分析和增强内容短的 SKILL.md 文件。

SKILL.md

name
skill-doc-enhancer
description
Automatically analyze and enhance content-short SKILL.md files by analyzing skill directory structure, adding usage examples, script documentation, common use cases, and best practices. Use when a skill's SKILL.md is too short (less than 3000 characters), lacks sufficient examples, missing script documentation, or needs content enrichment while preserving existing structure.

Skill Doc Enhancer

Automatically analyze and enhance SKILL.md files that are too short or lack sufficient documentation.

When to Use

Use this skill when:

  • A skill's SKILL.md has less than 3000 characters
  • The documentation lacks usage examples
  • Scripts exist but aren't documented in SKILL.md
  • Common use cases and best practices are missing
  • The skill needs content enrichment while preserving structure

Enhancement Process

Step 1: Analyze Current State

Run the analysis script to understand what needs enhancement:

python3 scripts/analyze_skill.py <path/to/skill-directory>

This will output:

  • Current character count
  • Missing sections (examples, scripts, best practices)
  • Directory structure analysis
  • Enhancement recommendations

Step 2: Generate Enhancement Content

Based on the analysis, the script will suggest:

  1. Directory Structure Analysis

- List all files in scripts/, references/, assets/ - Identify undocumented resources

  1. Script Documentation

- For each script in scripts/, extract: - Purpose and functionality - Usage syntax - Example commands - Expected outputs

  1. Usage Examples

- Common task patterns - Input/output examples - Error handling examples

  1. Best Practices

- Recommended workflows - Common pitfalls to avoid - Tips for effective usage

Step 3: Apply Enhancements

The enhancement script can automatically append content:

python3 scripts/enhance_skill.py <path/to/skill-directory> [--dry-run]

Options:

  • --dry-run: Preview changes without modifying files
  • --sections examples,scripts,best-practices: Choose which sections to enhance

Enhancement Categories

1. Script Documentation

For skills with a scripts/ directory, add:

## Scripts Reference

### script-name.py
**Purpose**: Brief description of what the script does

**Usage**:

python3 scripts/script-name.py [arguments]


**Examples**:

Example 1: Basic usage

python3 scripts/script-name.py input.txt

Example 2: With options

python3 scripts/script-name.py input.txt --output result.txt

2. Usage Examples

Add concrete examples showing real-world usage:

## Usage Examples

### Example 1: [Task Name]
**Scenario**: Describe when this example applies

**Input**: 
- File: `example.txt`
- Content: ...

**Command**:

Command to execute


**Output**:

Expected output


### Example 2: [Another Task]
...

3. Best Practices

Document recommendations and pitfalls:

## Best Practices

### Do's
- Recommendation 1
- Recommendation 2

### Don'ts
- Pitfall 1 and why to avoid it
- Pitfall 2 and why to avoid it

### Tips
- Pro tip for advanced usage
- Performance optimization suggestion

4. Common Use Cases

List typical scenarios where the skill applies:

## Common Use Cases

1. **[Use Case 1]**: Brief description
   - When to use: Context
   - Expected outcome: Result

2. **[Use Case 2]**: Brief description
   - When to use: Context
   - Expected outcome: Result

Manual Enhancement Guidelines

When automatic enhancement isn't sufficient:

  1. Preserve Existing Structure: Don't reorganize unless necessary
  2. Append, Don't Replace: Add new content after existing sections
  3. Match Style: Follow the existing tone and formatting
  4. Be Specific: Include concrete file names, paths, and commands
  5. Test Examples: Ensure all code examples work as documented

Quality Checklist

After enhancement, verify:

  • [ ] Character count > 3000 (unless skill is intentionally minimal)
  • [ ] All scripts in scripts/ are documented
  • [ ] At least 2-3 usage examples provided
  • [ ] Best practices section exists
  • [ ] Common use cases listed
  • [ ] Examples are tested and accurate
  • [ ] No TODO or XXX placeholders remain

Scripts

analyze_skill.py

Analyzes a skill directory and reports enhancement opportunities.

Usage:

python3 scripts/analyze_skill.py /path/to/skill-directory

Output: JSON report with:

  • char_count: Current SKILL.md character count
  • has_examples: Whether usage examples exist
  • scripts_documented: Whether scripts are documented
  • has_best_practices: Whether best practices section exists
  • recommendations: List of suggested enhancements

enhance_skill.py

Automatically enhances SKILL.md with missing content.

Usage:

python3 scripts/enhance_skill.py /path/to/skill-directory [options]

Options:

  • --dry-run: Preview changes without writing
  • --sections SECTIONS: Comma-separated list of sections to enhance

- Available: examples, scripts, best-practices, use-cases - Default: all sections

Example:

# Preview enhancements
python3 scripts/enhance_skill.py /path/to/skill --dry-run

# Enhance only examples and scripts
python3 scripts/enhance_skill.py /path/to/skill --sections examples,scripts

Example Enhancement Workflow

# 1. Analyze the skill
python3 scripts/analyze_skill.py skills/nano-pdf

# Output:
# {
#   "skill_name": "nano-pdf",
#   "char_count": 1850,
#   "has_examples": false,
#   "scripts_documented": false,
#   "has_best_practices": false,
#   "recommendations": [
#     "Add usage examples section",
#     "Document scripts/pdf_utils.py",
#     "Add best practices section"
#   ]
# }

# 2. Preview enhancements
python3 scripts/enhance_skill.py skills/nano-pdf --dry-run

# 3. Apply enhancements
python3 scripts/enhance_skill.py skills/nano-pdf

# 4. Review and edit manually if needed
# Edit skills/nano-pdf/SKILL.md

Notes

  • This skill focuses on content enhancement, not restructuring
  • Always review automatic enhancements before committing
  • Some skills may be intentionally minimal - use judgment
  • When in doubt, prefer adding examples over explanations

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

88.55%
按下载量换算948

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

来源信息

继续浏览同类 Skills