Communitygithub.com

YepAPI/スキル

YepAPI を使用したドメイン間の競合分析を行います。

スキル とは?

このスキルは、YepAPI の SEO エンドポイントを活用して、ユーザーのドメインと競合他社の間で構造化された競合分析を実行します。トラフィック、キーワード、バックリンク、ドメインランクなどの主要指標を取得する「POST /v1/seo/domain/overview」(0.01ドル)から始まり、次に「POST /v1/seo/competitors」(0.04ドル)を使用してキーワードの重複に基づく競合他社を特定し、最後に「POST /v1/seo/keyword-gap」(0.04ドル)で差分分析を実行して、ユーザーがランク付けしていないが競合他社がランク付けしているキーワードを見つけます。Claude Code、Cursor、Codex などの AI エージェント環境向けに設計されており、コストを最小限に抑えるために最大3件の競合他社に絞り込み、最も実用的なインサイトを提供します。スキルには、割り当て超過や API エラーを処理するためのエラーハンドリング手順も含まれています。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/YepAPI/skills/tree/HEAD/skills/competitor-research

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

競合調査ワークフロー

YepAPI エンドポイントを使用したドメイン間の競合分析。

使用するエンドポイント

エンドポイントコスト目的
POST /v1/seo/domain/overview$0.01トラフィック、キーワード、バックリンク、ドメインランク
POST /v1/seo/competitors$0.04キーワードの重複に基づく SEO 競合ドメイン
POST /v1/seo/keyword-gap$0.042つのドメイン間のキーワードギャップ分析

ワークフロー

ステップ 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) — 1回再試行。再び失敗した場合はそのステップをスキップし、その旨を記載する
  • 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.

関連スキル