選項
首頁首頁 Skill Git 和版本控制 000-jeremy-content-consistency-validator

000-jeremy-content-consistency-validator

jeremylongshore/claude-code-plugins-plus jeremylongshore/claude-code-plugins-plus

驗證網站、GitHub 儲存庫及本地文件間訊息的一致性,並產生唯讀的差異報告。適用於檢查內容是否一致,或找出訊息混雜的情況。可透過「檢查一致性」、「驗證文件」或「審核訊息」等短語觸發此功能。

...展開全部
69
更新時間 2026-06-29

關於000-jeremy-content-consistency-validator

000-jeremy-content-consistency-validator 技能旨在協助使用者確保內容在多個平台(包括網站、GitHub 儲存庫及本地文件)間的一致性。 它透過自動化比對不同來源間的關鍵訊息、功能及版本,解決了訊息混雜與內容不一致的常見問題。此技能對於希望確保對外發布的內容與內部文件及程式碼庫描述相符的團隊特別有用,既能避免混淆,又能維持所有溝通管道的統一語調。

常見問題

如何觸發內容一致性檢查?

您可以使用「檢查一致性」、「驗證文件」或「審核訊息」等短語來觸發一致性檢查。

此技能適用於哪些平台或系統?

此技能適用於網站(無論是本地端或已部署的)、GitHub 儲存庫,以及本地端文件目錄,例如 {baseDir}/docs/ 和 claudes-docs/。

此技能會產生哪些輸出?

此技能會產生一份詳盡的 Markdown 報告,內容包含各內容來源之間的差異、執行摘要、術語一致性對照表,以及按優先順序排列的待辦事項(附檔案位置與行號)。

使用此技能有哪些先決條件?

您需要具備網站內容、GitHub 儲存庫及本機文件目錄的存取權限,並需擁有 WebFetch 權限以存取遠端內容。

是否有提供任何錯誤處理資源?

是的,錯誤處理的詳細資訊載於「{baseDir}/references/errors.md」檔案中,其中包含完整的疑難排解指南。

在 GitHub 上查看

Content Consistency Validator

Overview

Checks content for tone, terminology, formatting, and structural consistency across multiple documentation sources (websites, GitHub repos, local docs). Generates read-only discrepancy reports with severity-classified findings and actionable fix suggestions including file paths and line numbers.

Examples

  • Pre-release audit: Before tagging a new version, run the validator to catch version mismatches between your README, docs site, and changelog — e.g., the website says v2.1.0 but the GitHub README still references v2.0.0.
  • Post-rebrand check: After renaming a product or updating terminology (e.g., "plugin" to "extension"), validate that all docs, landing pages, and contributing guides use the new term consistently.
  • Onboarding review: When a new contributor flags confusing docs, run a consistency check to surface contradictory feature claims, outdated contact info, or missing sections across your documentation sources.

Prerequisites

  • Access to at least two content sources (website, GitHub repo, or local docs directory)
  • WebFetch permissions configured for remote URLs (deployed sites, GitHub raw content)
  • Local documentation stored in recognizable paths (docs/, claudes-docs/, internal/)

Instructions

  1. Discover sources — scan for build directories (dist/, build/, public/, out/, _site/), GitHub README/CONTRIBUTING files, and local doc folders:

    find . -maxdepth 3 -name "README*" -o -name "CONTRIBUTING*" | head -20ls -d docs/ claudes-docs/ internal/ 2>/dev/null
  2. Extract structured data from each source: version numbers, feature claims, product names, taglines, contact info, URLs, and technical requirements:

    grep -rn 'v[0-9]\+\.[0-9]\+' docs/ README.mdgrep -rn -i 'features\|capabilities' docs/ README.md
  3. Verify extraction — confirm at least 3 data points per source. If a source returns empty, check the Error Handling table before continuing.

  4. Build comparison matrix pairing each source against every other (website vs GitHub, website vs local docs, GitHub vs local docs):

    diff <(grep -i 'version' README.md) <(grep -i 'version' docs/overview.md)
  5. Classify discrepancies by severity:

    • Critical: conflicting version numbers, contradictory feature lists, mismatched contact info, broken cross-references
    • Warning: inconsistent terminology (e.g., "plugin" vs "extension"), missing information in one source, outdated dates
    • Informational: stylistic differences, platform-specific wording, differing detail levels
  6. Apply trust priority: website (most authoritative) > GitHub (developer-facing) > local docs (internal use).

  7. Generate report as Markdown with: executive summary, per-pair comparison tables, terminology consistency matrix, and prioritized action items with file paths and line numbers.

  8. Save to consistency-reports/YYYY-MM-DD-HH-MM-SS.md.

Report Format

# Consistency Report — YYYY-MM-DD## Executive Summary| Severity | Count ||----------|-------|| Critical | 2     || Warning  | 5     || Info     | 3     |## Website vs GitHub| Field        | Website       | GitHub        | Severity ||-------------|---------------|---------------|----------|| Version     | v2.1.0        | v2.0.0        | Critical || Feature X   | listed        | missing       | Warning  |## Action Items1. **Critical** — Update `README.md:14` version from v2.0.0 → v2.1.02. **Warning** — Add "Feature X" to `README.md` feature list

Output

The skill produces a timestamped Markdown report saved to consistency-reports/YYYY-MM-DD-HH-MM-SS.md containing:

  • Executive summary: Severity counts (Critical/Warning/Info) at a glance
  • Pair comparison tables: Field-by-field comparison between each source pair with severity classification
  • Terminology matrix: Cross-source consistency check for product names, versions, and key terms
  • Prioritized action items: Specific fixes with file paths and line numbers, ordered by severity

Error Handling

ErrorCauseSolution
Website content unreachableURL returns 4xx/5xx or build dir missingVerify site is deployed or run local build; check WebFetch permissions
GitHub API rate limitToo many fetches in short windowPause and retry after reset window; use authenticated requests
No documentation directoryExpected paths don't existConfirm working directory; specify doc path explicitly
Empty content extractionClient-side rendering not visible to fetchUse local build output directory instead of live URL
Diff command failureFile paths contain special charactersQuote all file paths passed to diff and grep

Resources

  • Content source discovery logic: ${CLAUDE_SKILL_DIR}/references/how-it-works.md
  • Trust priority and validation timing: ${CLAUDE_SKILL_DIR}/references/best-practices.md
  • Use-case walkthroughs: ${CLAUDE_SKILL_DIR}/references/example-use-cases.md

所有檔案

1 個檔案

安裝 000-jeremy-content-consistency-validator

請下載並將技能檔案解壓縮至您的 .claude/skills/ 目錄中。

下載 ZIP

複製儲存庫並將技能檔案複製到您的專案中。

git clone https://github.com/jeremylongshore/claude-code-plugins-plus-skills/blob/main/plugins/productivity/000-jeremy-content-consistency-validator/skills/000-jeremy-content-consistency-validator/SKILL.md # Copy SKILL.md to your .claude/skills/ directory

複製 複製
快速設定: 將技能資料夾複製到 .claude/skills/,Claude 會自動偵測並使用該技能

相關技能

using-git-worktrees
更新時間 2026-06-29
github-project-management
更新時間 2026-06-29
changelog-generator
更新時間 2026-06-29
readme-blueprint-generator
更新時間 2026-07-05
OR