Blog Locale Audit

agricidaniel/claude-blog/brain/.raw/sources/claude-blog-skill/skills/blog-locale-audit

作者 agricidaniel2500d4c76503MIT2.3K 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫昨天更新

Audit a directory of multilingual blog content for completeness, consistency, hreflang correctness, meta-tag parity, and freshness. Builds a translation coverage matrix, flags stale translations, validates hreflang and schema, and emits a prioritized report with runnable fix commands. Use when user says "locale audit", "blog locale-audit", "check translations", "multilingual audit", "translation check", "hreflang check", "Uebersetzungen pruefen".

AI 產生的概覽

稽核多語系部落格目錄的翻譯覆蓋率、內容一致性、hreflang 正確性、SEO 一致性與新鮮度。

功能
此技能會掃描部落格內容目錄,依語言將文章分組,並建立翻譯覆蓋矩陣,顯示哪些文章存在於哪些語言版本。接著檢查各版本之間的內容一致性、SEO 元素(例如標題標籤、中繼描述、標準連結與 schema)、hreflang 關係以及翻譯新鮮度。它會輸出依優先順序排列的 Markdown 報告,也可在受稽核的專案根目錄內寫入 HTML 檔案,並附上可執行的修正指令。
適用情境
當多語系部落格需要在翻譯缺口或 hreflang 錯誤影響排名之前進行品質檢查時使用。適用於對內容目錄執行 locale audit、translation check、multilingual audit 或 hreflang check 等要求。
執行需求
僅為指示,未附帶指令碼。它會讀取目標目錄中的部落格內容檔案,以及選用的 hreflang-tags.html、hreflang-sitemap.xml 或 hreflang-map.json。若已安裝來自 claude-seo 的外部 seo-hreflang 技能,可建議進行更深入的 hreflang 驗證。

Blog Locale Audit, Multilingual Quality Control

Audits a directory of multilingual blog content to ensure every language version is complete, consistent, correctly tagged, and SEO-optimized. Catches international content issues before they hurt rankings.

Adapted from claude-blog-multilingual by Chris Mueller (Pro Hub Challenge, March 2026). Original: https://github.com/Chriss54/multilingual-int

Workflow

Phase 1: Discovery

  1. Resolve the target directory inside the project root/current working directory. Reject symlinked directories and traversal outside the root, then scan blog content and group posts by language using:
    • Subdirectory names (en/, de/, fr/).
    • Frontmatter lang and translatedFrom fields.
    • hreflang-map.json if present.
  2. Normalize detected language codes with the shared multilingual locale rules used by blog-translate, blog-localize, and blog-multilingual: ISO 639-1 language in lowercase, optional ISO 15924 script in title case, optional ISO 3166-1 Alpha-2 region in uppercase. Flag ambiguous language-only codes such as es, pt, and zh unless the content declares an explicit neutral mode.
  3. Build a content matrix mapping which post exists in which languages. Use a stable translation-group key before comparing slugs: translationGroupId, sourceSlug, schema translationOfWork.url, or the IDs and URLs in hreflang-map.json. Fall back to normalized source slug only when no stable key exists.
  4. Detect the source language (most common translatedFrom target, or the sourceLanguage field in hreflang-map.json if present).

Phase 2: Completeness Audit

Show which translations are missing:

### Translation coverage matrix
| Post (EN) | DE | FR | ES | JA ||-----------|----|----|----|----|| how-to-avoid-ai-slop | ok | ok | missing | missing || content-marketing-2026 | ok | missing | ok | missing |
Coverage: 60% (6 of 10 expected translations present)Missing: 4 translations needed

Phase 3: Content Parity Audit

For every post that exists in multiple languages:

CheckWhatSeverity
Section countSame number of H2 and H3 sectionsCritical
FAQ countSame number of FAQ itemsHigh
Image countSame number of imagesHigh
Chart countSame number of charts (SVG figures)High
Word count ratioWithin expected band for language pair (DE +20% to +30%, JA -20%, ES +10%)Medium
Link countSimilar internal and external link countsMedium
Citation capsule countSame number per H2 across versionsMedium
Frontmatter parityAll required fields present per versionHigh

Flag every significant deviation as an issue.

Phase 4: SEO Parity Audit

For every language version verify:

ElementCheckSeverity
Title tagPresent, correct length for the languageCritical
Meta descriptionPresent, correct length, localized and accurate summary; include a verified stat only when central to the articleCritical
lang attribute or frontmatter langPresent, valid Google-compatible hreflang or BCP 47 language tagCritical
Canonical URLPoints to the same-language page, not the source-language page or x-defaultCritical
Schema inLanguageMatches langHigh
Schema translationOfWorkPoints to the source URLHigh
Alt textTranslated (no English alt in non-EN posts)High
SlugLocalized (no English slug in non-EN posts)Medium
TagsLocalizedMedium
KeywordsLocalizedMedium

Phase 5: Hreflang Audit

If hreflang-tags.html, hreflang-sitemap.xml, or hreflang-map.json exists in the directory:

CheckWhatSeverity
Self-referencingEach page references itselfCritical
Return tagsEvery relationship is bidirectionalCritical
Canonical consistencyEvery hreflang page canonicalizes to its same-language URLCritical
x-defaultPresent, points to the unmatched-language fallback such as a language selector or default market pageCritical
Language codesValid Google-compatible hreflang tags: ISO 639-1 language plus optional ISO 15924 script or ISO 3166-1 Alpha-2 regionHigh
URL consistencySame protocol, same trailing-slash conventionMedium
CompletenessEvery language version representedHigh

If no hreflang files exist, report it as a critical gap and offer: "Run /blog multilingual <topic> --languages ... to regenerate, or create hreflang-tags.html manually."

If seo-hreflang from claude-seo is installed, suggest running it for deeper validation.

Phase 6: Freshness Audit

For posts with translatedDate in frontmatter:

CheckWhatSeverity
Source updated after translationSource modified after translatedDateCritical
Source content driftStored source hash or source dateModified differs from current sourceCritical
Translation driftStored translation hash differs from current localized fileMedium
Translation older than 90 daysMay need refreshMedium
lastUpdated mismatch across versionsVersions out of syncMedium
Git or file mtime newer than translatedDateContent changed without frontmatter updateWarning

When available, store and compare sourceHash, source dateModified, translationHash, and Git mtime before relying only on translatedDate.

Emit actionable commands per stale file:

3 translations are stale:- de/ki-trends-2026.md (source updated 2 days ago)  -> Run: /blog translate en/ai-trends-2026.md --to de- fr/ki-trends-2026.md (source updated 2 days ago)  -> Run: /blog translate en/ai-trends-2026.md --to fr- es/tendencias-ia-2026.md (translation > 90 days old)  -> Run: /blog translate en/ai-trends-2026.md --to es

Phase 7: Report

Output as markdown by default. If the user passes --html, also write the report to locale-audit-report.html only inside the audited project root. Escape all dynamic filenames, titles, URLs, and issue text with html.escape(value, quote=True) before rendering HTML, and reject symlinked or outside-root report paths.

## Multilingual content audit report
### Summary- Posts audited: [N] across [N] languages- Overall health: [score] / 100- Critical issues: [N]- Warnings: [N]
### Translation coverage[Matrix from Phase 2]
### Issues found#### Critical- [Issue with file references]
#### Warnings- [Issue with file references]
#### Passed- [Checks that passed]
### Prioritized fixes1. [Highest-impact action]2. [...]
### Stale-translation alerts[Runnable commands from Phase 6]
### Quick fixes- Run `/blog translate <file> --to <missing-langs>` for [N] missing translations.- Run `/blog multilingual` to regenerate hreflang assets.- Run `/blog localize <file> --locale <code>` for weak cultural adaptations.

Error Handling

ScenarioAction
Empty directory"No blog posts found in [path]"
Only one language presentReport coverage, suggest target languages
No hreflang filesFlag as critical gap, offer regeneration
Unrecognized file formatSkip with a warning

Cross-References

  • Fill missing translations: /blog translate <file> --to <missing-codes>
  • Deepen weak adaptations: /blog localize <file> --locale <code>
  • Regenerate hreflang assets: /blog multilingual <topic> --languages <codes>

來源與署名

來源:agricidaniel/claude-blog位於brain/.raw/sources/claude-blog-skill/skills/blog-locale-audit提交2500d4c

授權條款: MIT

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架

更多來自 agricidaniel/claude-blog 的技能

Blog Taxonomy

agricidaniel

為 WordPress、Shopify、Ghost、Strapi 與 Sanity 等 CMS 平台擷取、建議、稽核並同步部落格標籤與分類。

Marketing & Sales2.3K昨天更新

Blog Cannibalization

agricidaniel

Detect keyword cannibalization across blog posts by extracting primary keywords from titles and headings, clustering semantically similar targets, and flagging posts competing for the same search intent. Supports local-only mode (grep-based) and DataForSEO API mode (Page Intersection endpoint at ~$0.01/call). Outputs severity-scored report with merge or differentiate recommendations. Use when user says "cannibalization", "keyword overlap", "competing pages", "duplicate keywords", "cannibalize".

待分類2.3K昨天更新

Blog Rewrite

agricidaniel

改寫既有部落格文章,以提升 Google SEO 與 AI 引用能見度,替換無來源數據並補強結構化元素。

Marketing & Sales2.3K昨天更新

Blog Translate

agricidaniel

Translate existing blog posts into one or more target languages with SEO-optimized localization. Produces native-quality translations that preserve markdown structure, frontmatter, schema JSON-LD, image and chart embeds, and citation capsules. Localizes keywords, meta tags, numbers, dates, currencies, and quote styles per locale. Flags machine-translation artifacts for review. Run BEFORE blog-localize: this handles language conversion; localize handles cultural adaptation after translation completes. Use when user says "translate blog", "blog translate", "uebersetzen", "traduire", "traducir", "translate post", "blog auf Deutsch", "blog en espanol".

待分類2.3K昨天更新

Blog Write

agricidaniel

Write new blog articles from scratch optimized for Google rankings and AI citations. Generates full articles with template selection, answer-first formatting, Key Takeaways summary box, information gain markers, citation capsules, sourced statistics, Pixabay/Unsplash images, built-in SVG chart generation, optional FAQ sections, internal linking zones, and proper heading hierarchy. Supports MDX, markdown, and HTML output. Use when user says "write blog", "new blog post", "create article", "write about", "draft blog", "generate blog post".

待分類2.3K昨天更新

Blog Schema

agricidaniel

Generate complete JSON-LD schema markup for blog posts with Article/BlogPosting, Person, Organization, BreadcrumbList, ImageObject, and optional FAQPage. Validates against Google requirements and warns about deprecated types. Use when user says "schema", "blog schema", "json-ld", "structured data", "schema markup", "generate schema".

待分類2.3K昨天更新