Communitygithub.com

YepAPI/skills:关键词研究工作流

使用YepAPI进行关键词发现、指标分析、创意生成和差距分析。

skills:关键词研究工作流 是什么?

该技能提供了一个完整的关键词研究工作流程,集成了YepAPI的多个SEO端点。用户可以从一个种子关键词开始,生成关键词创意和相关关键词,然后批量获取关键词指标(如搜索量、CPC、难度和意图),并可选地进行关键词差距分析,发现竞争对手拥有而自身缺少的机会。技能支持批量请求以降低成本,并按照机会分数、搜索意图和季节性趋势对关键词进行优先级排序。内置了完整的错误处理机制,包括余额不足、上游错误、验证错误和限流重试。适用于任何需要关键词研究、内容规划和SEO优化的AI代理(如Claude Code、Cursor、Codex等),帮助用户高效地发现和评估高价值关键词,快速制定SEO策略。

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

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

关键词研究工作流

专门的关键词研究工作流,使用YepAPI端点发现、评估和优先排序关键词。

使用的端点

端点费用用途
POST /v1/seo/keywords/ideas$0.03根据种子关键词获取关键词建议
POST /v1/seo/keywords/related$0.03获取与种子关键词相关的关键词
POST /v1/seo/keywords$0.15批量获取关键词指标(搜索量、CPC、难度、意图)
POST /v1/seo/keyword-gap$0.04分析两个域名间的关键词差距

工作流

步骤1:生成关键词创意

从种子关键词开始,调用 POST /v1/seo/keywords/ideas。

{
  "keyword": "项目管理",
  "location": "us"
}

返回:基于种子关键词的建议——内容角度和长尾变体。

步骤2:查找相关关键词

使用 POST /v1/seo/keywords/related 进行扩展。

{
  "keyword": "项目管理",
  "location": "us"
}

返回:语义相关的术语——更宽泛和更具体的变化。

步骤3:评估关键词指标

使用所有候选关键词调用 POST /v1/seo/keywords。

{
  "keywords": ["项目管理软件", "项目管理工具", "最好的项目管理应用"],
  "location": "us"
}

返回:搜索量、CPC、关键词难度、搜索意图(信息型/商业型/交易型)、12个月趋势。

步骤4:关键词差距分析(可选)

如果用户有域名和竞争对手信息,则调用 POST /v1/seo/keyword-gap。

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

返回:竞争对手排名而用户未排名的关键词——潜在的未开发机会。

步骤5:优先排序关键词

呈现按机会分数排序的优先级关键词列表:

  • 高机会 — 高搜索量 + 低难度
  • 按意图分组 — 信息型、导航型、商业型、交易型
  • 标记季节性关键词 — 根据趋势数据记录12个月模式

规则

  • 从宽泛关键词开始,用指标逐步缩小范围
  • 按搜索意图分组:信息型、导航型、商业型、交易型
  • 使用趋势数据(12个月模式)标记季节性关键词
  • 批量调用关键词指标请求 — 每请求最多100个关键词($0.15)比单独查询更便宜

错误处理

  • 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

Competitive analysis between domains using YepAPI.

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

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

相关技能