splitflucover93-r12-seo-content-marketing-suite

splitflucover93-r12-seo-content-marketing-suite

SEO 與內容行銷指令套件,具備關鍵字研究、內容稽核、技術 SEO、競爭對手分析及 AI 驅動最佳化的自動化工作流程

10星標
1分支
更新於 2026/8/5
SKILL.md
唯讀
名稱
splitflucover93-r12-seo-content-marketing-suite
描述

SEO 與內容行銷指令套件,具備關鍵字研究、內容稽核、技術 SEO、競爭對手分析及 AI 驅動最佳化的自動化工作流程

📈 SEO 與內容行銷技能套件

技能來源:ara.so — 行銷技能集合(Marketing Skills collection)。

這是一套源自 vincenthopf/My-Claude-Code 的 AI 驅動 SEO 與內容行銷工具包。本技能套件提供 10 個專業指令與 5 個多步驟工作流程,可用於關鍵字研究、內容稽核、SERP 分析、技術 SEO 及內容策略,並輸出結構化且具可操作性的結果。

本專案功能

本技能套件能將 Claude Code 轉化為 SEO 與內容行銷專家,具備以下功能:

  • 關鍵字研究 — 分群、機會評分、SERP 意圖對映
  • 內容稽核 — 品質評分、重複內容偵測、關鍵字自相殘殺(Cannibalization)報告
  • 技術 SEO — 檢索預算(Crawl budget)、Core Web Vitals、Schema 標記、索引能力
  • 競爭對手分析 — 反向連結缺口、主題缺口、精選摘要(Featured snippet)機會
  • 內容策略 — AI 生成內容概要(Brief)、編輯日曆、內容更新工作流程
  • 連結建立 — 潛在目標探索、外聯(Outreach)自動化、權重提升活動

所有指令皆遵循一致的 5 步驟互動模式,具備視覺化進度追蹤、優先排序的發現結果以及限時可執行計畫。

安裝步驟

方法 1:手動安裝

# 複製儲存庫
git clone https://github.com/Splitflucover93/r12-vincenthopf-my-claude-code-seo.git

# 複製到 Claude 技能目錄
mkdir -p ~/.claude/skills
cp -r r12-vincenthopf-my-claude-code-seo ~/.claude/skills/seo-content-marketing

# 在 Claude Code 工作階段中註冊
# 在 Claude Code 中執行:
/read ~/.claude/skills/seo-content-marketing/SKILL.md

方法 2:直接複製到技能目錄

cd ~/.claude/skills
git clone https://github.com/Splitflucover93/r12-vincenthopf-my-claude-code-seo.git seo-content-marketing

驗證安裝

安裝完成後,驗證技能是否已可用:

# 在 Claude Code 工作階段中執行:
/skills list
# 應顯示:seo-content-marketing

核心指令

所有指令皆會輸出結構化資料,並附帶進度追蹤、發現結果表格與可執行的建議。

1. 關鍵字研究(Keyword Research)

# 基本關鍵字研究
/keyword-research "project management software"

# 使用篩選條件的高級研究
/keyword-research "saas analytics" --min-volume 500 --max-difficulty 60 --intent commercial

# 匯出結果
/keyword-research "email marketing" --output clusters.json --format json

輸出內容包含:

  • 包含搜尋量的關鍵字分群
  • 難易度評分(0-100)
  • SERP 意圖分類(資訊型/商業型/交易型/導航型)
  • 機會評分(搜尋量 × 相關性 / 難易度)
  • 相關問題與實體(Entities)

2. 內容稽核(Content Audit)

# 全站稽核
/content-audit --scope full --url https://example.com

# 特定區塊稽核
/content-audit --scope /blog/* --url https://example.com

# 附帶匯出功能
/content-audit --scope full --url https://example.com --output audit-report.md

分析內容包含:

  • 單頁內容品質評分
  • 重複/單薄內容偵測
  • 關鍵字自相殘殺矩陣
  • 缺失 Meta 標籤清單
  • 內部連結最佳化機會

3. 技術 SEO 稽核(Technical SEO Audit)

# 完整技術稽核
/technical-seo https://example.com

# 特定項目檢查
/technical-seo https://example.com --checks crawl,vitals,schema

# 輸出詳細報告
/technical-seo https://example.com --verbose --output tech-audit.json

執行的檢查項目:

  • 檢索預算使用效率
  • Core Web Vitals(LCP、FID、CLS)
  • Schema 標記驗證
  • Robots.txt 與 Sitemap 分析
  • 可索引性(Indexability)問題
  • 行動裝置親和性(Mobile-friendliness)

4. 競爭對手缺口分析(Competitor Gap Analysis)

# 反向連結缺口
/competitor-gap backlinks --primary https://mysite.com --competitors https://competitor1.com,https://competitor2.com

# 主題缺口
/competitor-gap topics --primary https://mysite.com --competitors https://competitor1.com --min-traffic 1000

# 精選摘要機會
/competitor-gap snippets --primary https://mysite.com --competitors https://competitor1.com,https://competitor2.com

傳回結果:

  • 有連結至競爭對手但未連結至貴站的網域
  • 競爭對手有排名但貴站未涵蓋的主題
  • 可爭取的精選摘要位置
  • 內容形式(Format)缺口

5. 內容概要生成(Content Brief Generation)

# 生成 SEO 內容概要
/content-brief "how to improve email deliverability"

# 指定目標字數與競爭對手
/content-brief "b2b lead generation strategies" --words 2500 --competitors https://hubspot.com/blog/lead-generation,https://salesforce.com/blog/b2b-leads

# 匯出為範本
/content-brief "conversion rate optimization guide" --output brief.md --template detailed

概要內容包含:

  • 目標關鍵字 + LSI 關鍵字
  • 建議標題結構(H2-H4)
  • 應包含的 NLP 實體
  • 建議字數範圍
  • 競爭對手內容分析
  • 需解答的問題
  • 內部連結建議

6. SERP 監測(SERP Monitoring)

# 追蹤關鍵字排名
/serp-monitor --keywords "seo tools,keyword research,backlink checker" --url https://example.com

# 設定每日警示
/serp-monitor --keywords keywords.txt --url https://example.com --alert-threshold 3 --frequency daily

# 歷史數據比較
/serp-monitor --keywords keywords.txt --url https://example.com --compare 2026-04-01

追蹤項目:

  • 每日排名位置
  • 波動警示(±3 個位置以上)
  • CTR 最佳化機會
  • SERP 特性曝光(摘要、PAA 相關問題、影片)

7. 連結目標探索(Link Prospecting)

# 尋找連結目標
/link-prospecting "marketing automation" --da-min 30 --dr-min 25 --limit 100

# 帶入外聯情境
/link-prospecting "content marketing" --context "We published a study on B2B content performance" --output prospects.csv

# 依類型篩選
/link-prospecting "seo" --types guest-post,resource-page,broken-link --da-min 40

傳回結果:

  • 依網域權重(DA/DR)篩選的清單
  • 聯絡電子郵件挖掘
  • 依類型區分的溝通/外聯範本
  • 相關性評分

8. 頁面速度與 SEO 影響(Page Speed & SEO Impact)

# 分析頁面速度影響
/page-speed-seo https://example.com/landing-page

# 著重行動裝置分析
/page-speed-seo https://example.com --device mobile --output speed-report.json

# 批次分析多個頁面
/page-speed-seo --urls sitemap.xml --threshold 3.0

分析項目:

  • 阻礙轉譯的資源(Render-blocking resources)
  • 最大內容繪製(LCP)
  • 累積版面配置轉移(CLS)
  • 首次輸入延遲(FID)
  • SEO 排名影響預估
  • 最佳化優先順序

9. 在地 SEO 稽核(Local SEO Audit)

# 完整在地稽核
/local-seo "My Business Name" --location "New York, NY"

# NAP 一致性檢查
/local-seo "My Business Name" --checks nap-consistency --citations 50

# GBP(Google 商家檔案)最佳化
/local-seo "My Business Name" --checks gbp --output local-audit.md

檢查項目:

  • NAP(名稱、地址、電話)一致性
  • Google 商家檔案完整度
  • 在地引用(Citation)品質與數量
  • 評論訊號
  • 在地 Schema 標記
  • 在地關鍵字排名

10. 內容日曆生成(Content Calendar Generation)

# 生成數據驅動的內容日曆
/content-calendar --topics "seo,content marketing,link building" --months 3

# 考量搜尋季節性 trend
/content-calendar --topics topics.txt --months 6 --include-seasonality --output calendar.csv

# 依機會評分排序
/content-calendar --topics keywords.json --months 3 --sort opportunity --min-volume 500

生成內容:

  • 基於搜尋需求的排程規劃
  • 季節性內容機會
  • 每篇文章的目標關鍵字
  • 建議的內容類型
  • 發布頻率最佳化

多步驟工作流程

工作流程可將多個指令串聯為端到端的完整處理程序。

1. 完整 SEO 衝刺(Full SEO Sprint)

包含 12 個步驟的全面性 SEO 專案:

/workflows:full-seo-sprint https://example.com --output sprint-report/

執行步驟:

  1. 技術稽核
  2. 內容稽核
  3. 關鍵字研究
  4. 競爭對手缺口分析
  5. 內容概要生成
  6. 內部連結規劃圖
  7. Schema 標記建議
  8. 頁面速度最佳化
  9. 連結目標探索
  10. 內容日曆規劃
  11. 追蹤機制設定
  12. 執行檢核表

2. 上線前 SEO 驗證(Pre-Launch SEO)

/workflows:launch-seo https://staging.example.com --checklist detailed

驗證項目:

  • 標準標籤(Canonical tags)
  • Hreflang 多國語言標籤設定
  • Sitemap 相關設定
  • Robots.txt 規則
  • Meta 標籤完整性
  • Schema 標記
  • 頁面速度基準
  • Analytics / Search Console 設定

3. 內容刷新工作流程(Content Refresh Workflow)

/workflows:content-refresh https://example.com --pages underperforming --threshold -20

處理流程:

  1. 識別排名下滑的頁面(>20%)
  2. 分析當前內容缺口
  3. 生成內容刷新概要
  4. 輸出更新建議
  5. 尋找內部連結插入機會
  6. 觸發重新檢索

4. 權重建立活動(Authority Building Campaign)

/workflows:authority-building --domain example.com --target-da 50 --timeline 6-months

活動步驟:

  1. 當前權重基準分析
  2. 競爭對手反向連結分析
  3. 連結目標發現
  4. 外聯活動建立
  5. 內容資產創作
  6. 數位公關(Digital PR)機會
  7. 進度追蹤

5. AI 內容流水線(AI Content Pipeline)

自動化內容生產工作流程:

/workflows:ai-content-pipeline --keywords keywords.csv --output-dir content-pipeline/

流水線步驟:

  1. 關鍵字分群
  2. 概要生成
  3. 內容大綱創作
  4. 草稿生成(AI 輔助)
  5. SEO 最佳化審查
  6. 內部連結植入
  7. 發布前檢核表

設定與配置

環境變數

# 必要的 API 金鑰(請使用您自己的服務)
export AHREFS_API_KEY="your-key-here"
export SEMRUSH_API_KEY="your-key-here"
export GOOGLE_SEARCH_CONSOLE_CREDENTIALS="/path/to/credentials.json"
export SCREAMING_FROG_LICENSE="your-license-key"

# 選用整合項目
export OPENAI_API_KEY="your-key-here"  # 用於 AI 內容生成
export SLACK_WEBHOOK_URL="https://hooks.slack.com/services/YOUR/WEBHOOK"  # 用於接收通知警示

設定檔

建立配置文件 ~/.claude/skills/seo-content-marketing/config.yaml:

# 預設設定
defaults:
  output_format: markdown
  progress_display: true
  auto_export: false

# 指令專屬設定
keyword_research:
  default_volume_min: 100
  default_difficulty_max: 70
  cluster_algorithm: semantic
  serp_depth: 10

content_audit:
  quality_threshold: 70
  thin_content_words: 300
  duplicate_similarity: 0.85

technical_seo:
  cwv_thresholds:
    lcp: 2.5
    fid: 100
    cls: 0.1
  crawl_depth: 5

# API 呼叫速率限制
rate_limits:
  ahrefs: 500  # 每日請求數
  semrush: 10000  # 每月請求數

# 匯出設定
export:
  default_dir: ./seo-reports
  timestamp_files: true
  formats: [markdown, json, csv]

自訂工作流程

在 ~/.claude/skills/seo-content-marketing/workflows/custom.yaml 中定義自訂工作流程:

my_saas_audit:
  name: "SaaS Product SEO Audit"
  steps:
    - command: technical-seo
      args: ["--checks", "all"]
    - command: keyword-research
      args: ["--intent", "commercial,transactional"]
    - command: competitor-gap
      args: ["--focus", "features"]
    - command: content-brief
      args: ["--template", "product-comparison"]
  output: saas-audit-report.md

執行自訂工作流程:

/workflows:my_saas_audit https://my-saas-product.com

常見使用模式

模式 1:新網站上線 SEO 設定

# 步驟 1:上線前驗證
/workflows:launch-seo https://staging.newsite.com --output launch-checklist.md

# 步驟 2:初期關鍵字研究
/keyword-research "primary product category" --min-volume 500 --output keywords.json

# 步驟 3:生成內容日曆
/content-calendar --topics keywords.json --months 6 --output calendar.csv

# 步驟 4:建立首批內容概要
/content-brief "top keyword from research" --output briefs/article-1.md

模式 2:每月 SEO 審查

# 步驟 1:技術健康度檢查
/technical-seo https://example.com --output monthly-reports/$(date +%Y-%m)-tech.json

# 步驟 2:排名變動分析
/serp-monitor --keywords tracked-keywords.txt --url https://example.com --compare 30-days

# 步驟 3:內容表現評估
/content-audit --scope full --url https://example.com --output monthly-reports/$(date +%Y-%m)-content.md

# 步驟 4:發掘新機會
/keyword-research "core topic" --discover-new --min-volume 300 --output new-opportunities.json

模式 3:超越競爭對手專案

# 步驟 1:指定競爭對手
export COMPETITOR_URL="https://topcompetitor.com"

# 步驟 2:缺口分析
/competitor-gap topics --primary https://mysite.com --competitors $COMPETITOR_URL --output gaps.json

# 步驟 3:反向連結機會
/competitor-gap backlinks --primary https://mysite.com --competitors $COMPETITOR_URL --da-min 30

# 步驟 4:內容策略規劃
/content-calendar --topics gaps.json --months 3 --sort opportunity

# 步驟 5:內容生產
/workflows:ai-content-pipeline --keywords gaps.json --output-dir competitor-content/

模式 4:挽救下滑排名

# 步驟 1:找出排名下滑的頁面
/serp-monitor --keywords all-keywords.txt --url https://example.com --alert-threshold -5 --output declining.json

# 步驟 2:執行內容刷新工作流程
/workflows:content-refresh https://example.com --pages declining.json

# 步驟 3:技術問題排查
/technical-seo https://example.com --focus declining-urls.txt

# 步驟 4:反向連結健康度檢查
/link-prospecting "core topics" --context "We're updating our content" --output refresh-links.csv

模式 5:在地商家 SEO

# 步驟 1:在地稽核
/local-seo "Business Name" --location "City, State" --output local-audit.md

# 步驟 2:引用建立
/link-prospecting "industry + location" --types local-directory --output local-citations.csv

# 步驟 3:在地內容日曆
/content-calendar --topics "local keywords" --include-seasonality --local "City, State" --months 12

# 步驟 4:GBP 最佳化
/local-seo "Business Name" --checks gbp --recommendations detailed

整合範例

匯出至 Google 試算表

# 生成報告
/keyword-research "topic" --output report.json

# 使用 Google 試算表整合(若已設定)
/export report.json --to google-sheets --sheet "SEO Research 2026"

Slack 訊息通知

在 config.yaml 中設定 Webhook 後執行:

# 開啟排名變動通知
/serp-monitor --keywords keywords.txt --url https://example.com --alert slack --threshold 3

CI/CD 自動化整合

新增至 .github/workflows/seo-monitor.yml:

name: Daily SEO Monitor
on:
  schedule:
    - cron: '0 9 * * *'  # 每日 UTC 時間上午 9 點執行

jobs:
  seo-check:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - name: Run SEO Monitor
        env:
          AHREFS_API_KEY: ${{ secrets.AHREFS_API_KEY }}
        run: |
          /serp-monitor --keywords keywords.txt --url https://example.com --output reports/$(date +%Y-%m-%d).json
      - name: Commit Report
        run: |
          git config user.name "SEO Bot"
          git add reports/
          git commit -m "Daily SEO report $(date +%Y-%m-%d)"
          git push

疑難排解

找不到指令(Command Not Found)

# 確認技能安裝路徑
ls ~/.claude/skills/seo-content-marketing/

# 重新註冊技能
/read ~/.claude/skills/seo-content-marketing/SKILL.md

# 檢查技能清單
/skills list

超出 API 呼叫限制

# 檢查目前用量
/status api-usage

# 在 config.yaml 中調整限制額度
rate_limits:
  ahrefs: 400  # 若頻繁觸及上限請調低此數值
  
# 開啟快取以減少 API 呼叫次數
cache:
  enabled: true
  ttl: 3600  # 1 小時

效能過慢

# 降低檢索深度
/technical-seo https://example.com --max-depth 3

# 縮小關鍵字研究範圍
/keyword-research "topic" --max-keywords 500 --serp-depth 5

# 使用平行處理
/content-audit --scope full --url https://example.com --parallel 4

缺少依賴套件

# 安裝所需的 Python 套件
pip install beautifulsoup4 requests pandas numpy

# 安裝 Node.js 套件(若使用 JS 整合)
npm install cheerio axios

# 驗證整合狀態
/diagnose --check-dependencies

輸出格式無效

# 檢查輸出目錄權限
mkdir -p ./seo-reports
chmod 755 ./seo-reports

# 使用絕對路徑
/keyword-research "topic" --output /full/path/to/report.json

# 驗證 JSON 輸出格式
cat report.json | python -m json.tool

身份驗證錯誤

# 確認 API 金鑰已正確設定
env | grep API_KEY

# 測試連線
/test-connection ahrefs
/test-connection semrush

# 重新驗證 Google Search Console 權限
gcloud auth application-default login

輸出數據解讀

關鍵字機會評分(Opportunity Score)

機會分數 = (搜尋量 × 相關性分數) / (難易度 × 10)

高機會:> 100
中機會:50-100
低機會:< 50

內容品質評分(Content Quality Score)

品質分數 = (字數 × 0.2) + (可讀性 × 0.3) + (原創性 × 0.3) + (最佳化程度 × 0.2)

優良:90-100
良好:70-89
普通:50-69
較差:< 50

技術 SEO 嚴重程度

  • 🔴 嚴重(Critical):阻礙索引或嚴重影響使用者體驗
  • 🟠 高(High):對排名有顯著影響,建議 1 週內修復
  • 🟡 中(Medium):最佳化機會,建議 1 個月內完成修復
  • 🟢 低(Low):輕微改進項目,可在方便時處理

最佳實踐建議

  1. 每月執行技術稽核 — 及早發現並修復問題
  2. 每季更新關鍵字研究 — 掌握搜尋需求的變化
  3. 每 6 個月刷新重點內容 — 維持穩定的搜尋排名
  4. 每周監控競爭對手 — 迅速捕捉新發布的機會
  5. 持續建立高品質連結 — 累積長期網域權重
  6. 每日追蹤 Core Web Vitals — 防止效能下滑影響排名
  7. 變更後驗證 Schema 標記 — 避免失去複合式搜尋結果(Rich snippets)
  8. 定期匯出報告給利益相關者 — 清楚展示 SEO 的投資報酬率(ROI)

進階用法

批次處理

# 批次處理多個網域
for domain in site1.com site2.com site3.com; do
  /technical-seo https://$domain --output reports/$domain-audit.json
done

# 批次處理檔案中的關鍵字
while read keyword; do
  /keyword-research "$keyword" --output keywords/$keyword.json
done < keyword-list.txt

自訂評分函數

編輯 ~/.claude/skills/seo-content-marketing/scoring.py:

def custom_opportunity_score(volume, difficulty, relevance):
    """針對利基市場的自訂機會計算公式"""
    if volume < 100:
        return 0  # 忽略極低搜尋量的關鍵字
    
    base_score = (volume * relevance) / (difficulty * 10)
    
    # 加分條件:在特定利基領域中難易度低於 30 且相關性大於 0.7
    if difficulty < 30 and relevance > 0.7:
        base_score *= 1.5
    
    return round(base_score, 2)

API 整合範例

import requests
import os

def export_to_dashboard(report_path):
    """將 SEO 報告傳送至自訂儀表板"""
    with open(report_path) as f:
        report_data = json.load(f)
    
    response = requests.post(
        'https://dashboard.example.com/api/seo-reports',
        headers={'Authorization': f'Bearer {os.getenv("DASHBOARD_API_KEY")}'},
        json=report_data
    )
    
    return response.json()

相關資源


授權條款:MIT
維護者:Splitflucover93
技能版本:1.0.0