Communitygithub.com

YepAPI/技能

利用 YepAPI 的趋势和情感数据进行内容规划。

技能 是什么?

这是一个内容研究工作流程技能,它利用 YepAPI 的多个 SEO 端点,帮助开发者和 AI Agent 用户基于数据和 AI 洞察来规划内容。该技能支持通过 YepAPI 的 RESTful API 获取 Google Trends 数据、关键词建议、批量关键词指标(如搜索量、竞价、难度)以及 AI 模型(ChatGPT 和 Gemini)对特定查询的回复。其工作流程分为五个步骤:检查趋势、发现内容角度、评估关键词、检查 AI 可见度,并最终编译内容简报。此技能对于内容营销人员、SEO 从业者和 AI 应用开发者特别有用,因为它整合了传统 SEO 和 AI 洞察,以识别高机会关键词和理解 AI 对主题的看法。它还具有清晰的错误处理规则,适用于 Claude Code、Cursor、Codex 等支持 API 调用的 AI 代理平台。

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

在你喜欢的 AI 中提问

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

文档

内容研究工作流程

使用 YepAPI 端点的趋势和情感数据进行内容规划。

使用的端点

端点费用用途
POST /v1/seo/trends$0.02随时间变化的 Google Trends 兴趣(最多 5 个关键词)
POST /v1/seo/keywords/ideas$0.03根据种子关键词生成关键词建议
POST /v1/seo/keywords$0.15批量关键词指标(搜索量、竞价、难度)
POST /v1/seo/ai/chatgpt$0.05ChatGPT 对某个查询的看法
POST /v1/seo/ai/gemini$0.05Gemini 对某个查询的看法

工作流程

第一步:检查趋势

使用主题关键词运行 POST /v1/seo/trends。

{
  "keywords": ["内容营销", "AI 内容", "SEO 策略"]
}

返回:每个关键词随时间变化的兴趣度 —— 发现季节性模式和热门话题。

第二步:发现内容角度

使用种子关键词运行 POST /v1/seo/keywords/ideas。

{
  "keyword": "内容营销",
  "location": "us"
}

返回:您可能未曾考虑过的关键词建议 —— 每个都是潜在的内容角度。

第三步:评估关键词

对发现的关键词运行 POST /v1/seo/keywords。

{
  "keywords": ["内容营销策略", "内容营销案例", "内容营销 ROI"],
  "location": "us"
}

返回:搜索量、竞价、关键词难度、搜索意图、12 个月趋势。

第四步:检查 AI 可见度

运行 POST /v1/seo/ai/chatgpt 和 POST /v1/seo/ai/gemini 查看 AI 对该主题的看法。

{
  "query": "最佳内容营销策略"
}

返回:每个 LLM 当前的说法 —— 有助于了解围绕您主题的 AI 格局。

第五步:编译内容简报

编译成内容简报:

  • 目标关键词 —— 最具机会性(搜索量与难度之比)
  • 辅助关键词 —— 需包含的相关术语
  • 趋势方向 —— 上升、稳定或下降
  • AI 格局 —— LLM 当前的说法及待填补的空白

规则

  • 趋势数据显示季节性模式 —— 检查即将到来的高峰
  • AI 可见度检查揭示 LLM 当前对某个主题的看法(对 AI SEO 很有用)
  • 关键词建议为您提供可能未曾考虑过的内容角度
  • 在确定关键词之前,务必检查难度 —— 新站点避免使用 DR 80+ 的术语

错误处理

  • 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 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

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.

相关技能