Token导航 LogoToken导航TokenDH.com
效率只读clawhub未标认证来源可访问clear审计提醒

doc-spellcheck文档拼写检查

Agent Skill

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

总安装

13,211

周安装

556

GitHub Stars

公开资料未说明

下载量

4,626
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install doc-spellcheck

简介

检测并自动修复 Markdown、纯文本和文档文件中的拼写错误,支持自定义词典和批处理。

SKILL.md

Document Spell Check Skill

Purpose

Automatically detect and fix spelling errors in documentation files across any project. This skill provides comprehensive spell checking for Markdown, plain text, and other documentation formats.

Features

1. Multi-Format Support

  • Markdown files (.md, .mdx)
  • Plain text files (.txt)
  • Documentation directories (recursive scanning)
  • Specific file patterns (glob support)

2. Comprehensive Error Detection

  • Common misspellings (recievereceive, tehthe)
  • Word form errors (formatingformatting, occuredoccurred)
  • Contextual spelling mistakes
  • Custom dictionary support for technical terms

3. Automated Fixing

  • Interactive correction suggestions
  • Batch auto-fix for common patterns
  • Safe dry-run mode to preview changes
  • Git integration for clean commits

4. Integration Capabilities

  • Works with existing project structures
  • Respects .gitignore and excluded paths
  • Configurable severity levels
  • CI/CD compatible output format

Usage

Basic Commands

# Check single file
doc-spellcheck check docs/guide.md

# Check entire directory  
doc-spellcheck check docs/

# Auto-fix common errors
doc-spellcheck fix docs/guide.md

# Dry-run to preview fixes
doc-spellcheck fix --dry-run docs/

Advanced Options

# Custom dictionary
doc-spellcheck check --dict custom-words.txt docs/

# Exclude patterns
doc-spellcheck check --exclude "**/node_modules/**" docs/

# Specific error types
doc-spellcheck check --errors "misspelling,word-form" docs/

# Output format for CI
doc-spellcheck check --format json docs/

Implementation Details

Core Dependencies

  • Aspell: Primary spell checking engine
  • Custom word lists: Project-specific terminology
  • File system walker: Efficient directory traversal
  • Git integration: Safe commit management

Error Categories

  1. Basic Misspellings: Common typos and transpositions
  2. Word Form Errors: Incorrect verb/noun forms
  3. Technical Terms: Domain-specific vocabulary validation
  4. Contextual Errors: Words that are spelled correctly but used incorrectly

Safety Measures

  • Backup creation: Automatic file backups before fixing
  • Atomic operations: Changes applied as single git commits
  • Rollback support: Easy revert of applied fixes
  • Permission checks: Respects file system permissions

Workflow Integration

Local Development

  1. Run spell check before committing changes
  2. Use interactive mode for manual review
  3. Add custom dictionaries for project terminology

CI/CD Pipeline

  1. Integrate as pre-commit hook
  2. Fail builds on critical spelling errors
  3. Generate reports for documentation quality metrics

Team Collaboration

  1. Shared custom dictionaries across team members
  2. Consistent terminology enforcement
  3. Automated documentation quality gates

Configuration

Default Settings

  • File extensions: .md, .mdx, .txt, .rst
  • Excluded paths: node_modules/, .git/, dist/
  • Severity level: warning (non-blocking)
  • Auto-fix: disabled by default

Customization Options

  • Language selection (en-US, en-GB, etc.)
  • Custom ignore lists
  • Severity thresholds
  • Output verbosity levels

Best Practices

For Maintainers

  • Run comprehensive checks before major releases
  • Maintain project-specific dictionaries
  • Document accepted terminology variations
  • Set up automated CI checks

For Contributors

  • Check spelling before submitting PRs
  • Use consistent terminology
  • Respect project style guides
  • Include new terms in dictionaries when appropriate

Examples

Fixing Common Errors

# Before: "The recieve function handles incoming data"
# After:  "The receive function handles incoming data"

# Before: "This occured during the formating process"  
# After:  "This occurred during the formatting process"

Batch Processing

# Process entire documentation directory
doc-spellcheck fix --batch docs/

# Review changes interactively
doc-spellcheck fix --interactive docs/guide.md

Limitations

Known Constraints

  • Cannot detect contextually incorrect but correctly spelled words without AI
  • May flag technical terms as errors without custom dictionaries
  • Performance impact on very large documentation sets
  • Requires proper language pack installation

Workarounds

  • Use custom dictionaries for technical terminology
  • Combine with grammar checking tools for comprehensive validation
  • Run incrementally on large projects
  • Pre-install required language packs in CI environments

Maintenance

Updates

  • Regular dictionary updates for new terminology
  • Engine version upgrades for improved accuracy
  • Pattern library expansion based on common errors
  • Performance optimizations for large-scale usage

Monitoring

  • Track false positive rates
  • Monitor performance metrics
  • Collect user feedback on suggestions
  • Maintain compatibility with documentation standards

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

97.89%
按下载量换算4,528

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

未展示

权限和风险

只读

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

安装前确认

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

来源信息

继续浏览同类 Skills