fixing-metadata
檢視並修復網頁元資料
確保您的網頁擁有正確、完整的元資料,以提升 SEO 和社群分享效果。識別違規項目、重複項目和缺失的標籤,並提供具體修復建議,以改善搜尋能見度和社群卡片預覽。
Télécharger le ZIP du skill
Importer dans Claude
Allez dans Paramètres → Capacités → Skills → Importer un skill
Activez et commencez à utiliser
Tester
Utilisation de "fixing-metadata". Review metadata in page.tsx
Résultat attendu:
- Violation: Missing meta description on line 15
- Why it matters: Search engines use descriptions for search result snippets
- Fix: Add export const metadata = { description: 'Your page description here' }
- Violation: Duplicate canonical tag at line 23
- Why it matters: Multiple canonicals confuse search engines about preferred URL
- Fix: Remove the manual <link rel="canonical"> and use the metadata API instead
Utilisation de "fixing-metadata". Check Open Graph setup for blog post page
Résultat attendu:
- Found: og:title, og:description, and og:image are configured correctly
- Issue: og:url does not match the canonical URL
- Recommendation: Update og:url to match canonical for consistent social sharing
- Note: Twitter card type is summary_large_image which is appropriate for blog posts
Audit de sécurité
SûrStatic analysis flagged potential external commands and cryptographic patterns, but manual review confirms all findings are false positives. The skill contains only markdown documentation with no executable code. Backticks are used for markdown formatting of command examples, not shell execution. All flagged patterns are SEO terminology in context.
Problèmes à risque moyen (1)
Problèmes à risque faible (2)
Score de qualité
Ce que vous pouvez construire
新行銷頁面的 SEO 審計
在發布前檢視新建立的行銷頁面,確認包含標題、描述、標準網址和社群分享標籤的完整元資料
修復重複的元資料問題
識別並解決競爭的元資料系統或令搜尋引擎和社群平台困惑的重複標籤
正確實作結構化資料
驗證 JSON-LD 結構化資料區塊,確保它們準確呈現頁面內容,而非虛構的評分或評論
Essayez ces prompts
/fixing-metadata src/app/layout.tsx
/fixing-metadata
檢視此元件中的 Open Graph 和 Twitter 卡片元資料,並建議改進方案以獲得更好的社群分享預覽
檢查我們的元資料設定,找出重複的標準網址標籤、錯誤的 robots 指令,以及應該被索引但被設為 noindex 的頁面
Bonnes pratiques
- 使用框架的元資料 API 在每個頁面的一個位置定義元資料,而非混合使用多個系統
- 在正式上線前使用平台除錯工具在實際網址上驗證社群卡片預覽
- 保持元資料簡潔且專注於實際頁面內容,而非針對每個可能的標籤進行優化
Éviter
- 透過多個系統(如 react-helmet 和 Next.js 元資料 API)同時新增重複的標題或描述標籤
- 在每次頁面載入或建置時使用會變化的動態或隨機值作為元資料
- 為實際頁面上不存在的評分、評論或價格虛構結構化資料