Communitygithub.com

YepAPI/skills

使用 YepAPI 進行網域間的競爭分析。

skills 是什麼?

這項技能利用 YepAPI 的多個 SEO 端點,對網站進行全面的競爭對手分析。工作流程從取得目標網域的流量、關鍵字、反向連結與排名等基本指標開始,接著找出其主要 SEO 競爭對手。透過比較前 2-3 個競爭者的數據,並執行關鍵字差距分析,可以發現競爭對手擁有但目標網域缺少的高價值關鍵字。最終產出包含整體競爭優劣勢、關鍵字缺口,以及按機會優先排序的建議行動清單。這項技能適合在 Claude Code 等支援自訂技能的 AI 代理平台上使用,幫助開發者或 SEO 專業人士快速獲得可執行的競爭洞察。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/YepAPI/skills/tree/HEAD/skills/competitor-research

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

競爭對手研究工作流程

使用 YepAPI 端點進行網域間的競爭分析。

使用的端點

端點費用用途
POST /v1/seo/domain/overview$0.01流量、關鍵字、反向連結、網域排名
POST /v1/seo/competitors$0.04透過關鍵字重疊找出 SEO 競爭對手網域
POST /v1/seo/keyword-gap$0.04兩個網域之間的關鍵字差距分析

工作流程

步驟 1:網域概覽

對使用者的網域執行 POST /v1/seo/domain/overview。

{
  "domain": "example.com"
}

回傳:自然流量、總關鍵字數、反向連結數量、網域排名。

步驟 2:發現競爭對手

對使用者的網域執行 POST /v1/seo/competitors。

{
  "domain": "example.com"
}

回傳:競爭對手網域及其關鍵字重疊百分比與流量估算。

步驟 3:比較頂尖競爭對手

對前 2-3 個競爭對手,分別執行 POST /v1/seo/domain/overview。

{
  "domain": "competitor.com"
}

比較:流量、關鍵字數量、反向連結概況、網域排名。

步驟 4:關鍵字差距分析

在使用者的網域與頂尖競爭對手之間執行 POST /v1/seo/keyword-gap。

{
  "domain": "example.com",
  "competitor": "competitor.com"
}

回傳:競爭對手有排名但使用者沒有的關鍵字——按搜尋量與難度排序。

步驟 5:呈現結果

  • 誰在整體上佔優勢(流量、權威性)
  • 關鍵字缺口在哪裡(使用者缺少的高價值詞彙)
  • 接下來應鎖定哪些目標(按機會優先排序:高搜尋量 + 低難度)

規則

  • 從網域概覽開始——費用最低,僅 $0.01,可取得基礎指標
  • 將競爭對手深入分析限制在前 3 名——以控制成本
  • 關鍵字差距分析是最具可操作性的輸出——務必包含此項

錯誤處理

  • NO_CREDITS (402) — 告知使用者前往 https://yepapi.com/dashboard 添加額度
  • UPSTREAM_ERROR (502) — 重試一次;若再次失敗,跳過該步驟並記錄
  • VALIDATION_ERROR (400) — 檢查網域名稱格式;使用裸網域,不帶協議前綴
  • RATE_LIMITED (429) — 等待並重試;請遵守 Retry-After 標頭

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

YepAPI/skills

WCAG 2.1 AA — semantic HTML, keyboard navigation, screen readers.

YepAPI/skills

Experiment setup, variant splitting, statistical significance, and feature flag integration.

YepAPI/skills

CRUD generators, data tables, user management, role-based access, and bulk operations.

YepAPI/skills

Monitor what ChatGPT and Gemini say about your brand using YepAPI.

YepAPI/skills

Queue workers with BullMQ/Inngest/Trigger.dev, job retries, dead letter queues, concurrency.

YepAPI/skills

Commander.js, interactive prompts with Clack, spinners, colors, config files, exit codes, and npm publishing.

YepAPI/skills

cmdk integration, Cmd+K trigger, fuzzy search, grouped actions, keyboard navigation, and dynamic action registration.

YepAPI/skills

Content planning with trend and sentiment data from YepAPI.

YepAPI/skills

Content calendar, keyword-driven planning, and content briefs.

YepAPI/skills

Theme switching with CSS variables, system preference detection, next-themes, and persistence.

YepAPI/skills

Threaded comments, @mentions, reactions, moderation queue, optimistic UI, and cursor pagination.

YepAPI/skills

Layout grids, KPI cards, data tables with sorting/filtering, sidebar navigation, and responsive breakpoints.

YepAPI/skills

Data encryption — TLS everywhere, AES-256-GCM for PII, bcrypt passwords, encrypted backups.

YepAPI/skills

Chart patterns with Recharts/Nivo/D3, responsive containers, color scales, and accessibility.

YepAPI/skills

Drizzle schema definition, push vs migrate, type-safe queries, relations, transactions, and prepared statements.

YepAPI/skills

Upload handling, resize/compress, CDN delivery, blur placeholders, and next/image patterns.

YepAPI/skills

Local business and Google Maps research using YepAPI.

YepAPI/skills

Cursor-based pagination, IntersectionObserver, virtualized lists with @tanstack/react-virtual, and scroll position restoration.

YepAPI/skills

Tenant isolation (row-level vs schema), subdomain routing, per-tenant config, and data partitioning.

YepAPI/skills

Chat UI components, streaming responses with AI SDK, context window management, and RAG patterns.

相關技能