Communitygithub.com

YepAPI/skills

利用 YepAPI 进行本地商家与 Google 地图研究。

skills 是什么?

此技能通过 YepAPI 的多个端点,为本地 SEO 提供完整的工作流支持。它首先使用 Google Maps 搜索发现本地竞争对手,随后爬取竞争对手网站提取 NAP(名称、地址、电话)数据以检查一致性,再进行本地关键词研究获取搜索量、竞争度和 CPC 指标,最后对用户网站进行页面审计以检查本地 SEO 信号(如结构化数据、NAP 一致性、位置关键词)。该技能适用于需要提升本地搜索排名的商家和 SEO 专业人员,支持通过 API 调用的方式进行自动化分析,并包含错误处理机制(如积分不足、上游错误、格式验证和速率限制)。

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

在你喜欢的 AI 中提问

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

文档

本地 SEO 工作流

利用 YepAPI 端点,通过 Google Maps 和本地 SERP 数据进行本地商家研究。

使用的端点

端点费用用途
POST /v1/serp/google/maps$0.01Google Maps / 本地商家结果
POST /v1/scrape$0.01爬取竞争对手网站的 NAP 数据
POST /v1/seo/keywords$0.15本地关键词指标(搜索量、难度)
POST /v1/seo/page-audit$0.03检查用户网站的本地 SEO 信号

工作流

步骤 1:本地竞争对手发现

运行 POST /v1/serp/google/maps,传入商家类别和位置。

{
  "query": "plumber in austin tx",
  "location": "us"
}

返回:包含评分、评论数、类别和地址的本地商家列表。

步骤 2:提取 NAP 数据

针对每个竞争对手,在其网站上运行 POST /v1/scrape。

{
  "url": "https://competitor-plumber.com",
  "format": "markdown"
}

提取 NAP(名称、地址、电话)数据,以比较各列表之间的一致性。

步骤 3:本地关键词研究

运行 POST /v1/seo/keywords,传入本地关键词。

{
  "keywords": ["plumber in austin", "emergency plumber austin tx", "austin plumbing service"],
  "location": "us"
}

返回:本地搜索量、CPC、难度——本地关键词搜索量较低但用户意图更强。

步骤 4:页面审计

在用户网站上运行 POST /v1/seo/page-audit。

{
  "url": "https://example-plumber.com"
}

检查本地 SEO 信号:结构化数据(LocalBusiness schema)、NAP 一致性、元标签中的位置关键词。

步骤 5:呈现发现结果

  • 本地竞争对手格局(评分、评论数、排名)
  • 关键词机会(具有搜索量和难度的本地术语)
  • 页面修复(缺少结构化数据、NAP 不一致、元标签缺口)

规则

  • 始终在 Maps 查询中包含位置——结果依赖于位置
  • NAP 一致性对本地 SEO 至关重要——标记出不一致的情况
  • Google Maps 结果包含评分、评论数和类别——用于竞争对手基准测试
  • 本地关键词搜索量较低但用户意图更强——优先考虑转化潜力

错误处理

  • 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

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.

相关技能