content-linter

Lint content for spelling errors, en-GB compliance, and writing quality. Use when checking markdown files before publication.

allowed_tools: Read, Bash, Grep

$ 安裝

git clone https://github.com/spences10/scottspence.com /tmp/scottspence.com && cp -r /tmp/scottspence.com/.claude/skills/content-linter ~/.claude/skills/scottspence-com

// tip: Run this command in your terminal to install the skill


name: content-linter

prettier-ignore

description: Lint content for spelling errors, en-GB compliance, and writing quality. Use when checking markdown files before publication. allowed-tools: Read, Bash, Grep

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: