返回 Skill 列表
extension
分类: 开发与工程无需 API Key

content-linter

检查拼写错误、英式英语合规性和写作质量。在发布前检查markdown文件时使用。

person作者: jakexiaohubgithub

Content Linter

Comprehensive content checking for spelling, language consistency, and writing quality.

Quick Start

Run the project's spell checker:

npm run cspell

For specific files:

npx cspell 'posts/*.md' --config cspell.json

Key Checks

  1. Spelling - Run cspell on markdown files
  2. en-GB - Verify British spellings (colour, organisation)
  3. Vague language - Flag "very", "really", "quite"
  4. Code blocks - Ensure language identifiers present

Quick Grep Checks

# Find American spellings
grep -rE "\b(color|organization|behavior)\b" posts/

# Find vague language
grep -rE "\b(very|really|quite|basically)\b" posts/

# Find code blocks without language
grep -E "^\`\`\`$" posts/

References

For detailed commands, full spelling tables, and workflows: