选项
首页首页 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