seo-content-marketing-skill-factory
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese📈 SEO & Content Marketing Skill Factory
📈 SEO与内容营销技能工厂
Skill by ara.so — Marketing Skills collection.
This skill suite provides AI-powered SEO and content marketing capabilities through a structured command interface. Derived from , it delivers 10 specialized commands and 5 multi-step workflows for keyword research, content audits, technical SEO, and content strategy.
alirezarezvani/claude-code-skill-factory由ara.so开发的技能——营销技能合集。
本技能套件通过结构化命令界面提供AI驱动的SEO和内容营销功能。衍生自,它提供10个专业命令和5个多步骤工作流,涵盖关键词研究、内容审核、技术SEO和内容策略。
alirezarezvani/claude-code-skill-factoryWhat This Project Does
项目功能
The SEO & Content Marketing Skill Factory provides:
- Keyword Research — clustering, opportunity scoring, SERP intent mapping
- Content Audits — quality scoring, duplicate detection, cannibalization reports
- Technical SEO — crawl budget, Core Web Vitals, schema, indexability
- Competitor Analysis — backlink gaps, topic gaps, featured snippet opportunities
- Content Strategy — AI briefs, editorial calendars, data-driven planning
- Rank Tracking — SERP monitoring with volatility alerts
- Link Building — prospecting, outreach templates, authority building
- Local SEO — NAP consistency, GBP optimization, citation audits
All commands output structured, actionable reports with visual progress tracking.
SEO与内容营销技能工厂提供以下功能:
- 关键词研究 — 聚类、机会评分、SERP意图映射
- 内容审核 — 质量评分、重复内容检测、关键词 cannibalization(内部竞争)报告
- 技术SEO — 抓取预算、Core Web Vitals、Schema标记、可索引性分析
- 竞品分析 — 反向链接差距、主题差距、特色摘要机会挖掘
- 内容策略 — AI生成brief、编辑日历、数据驱动规划
- 排名追踪 — SERP监控与波动告警
- 外链建设 — 潜在资源挖掘、 outreach(外联)模板、权威度提升
- 本地SEO — NAP一致性检查、GBP优化、引用审核
所有命令都会输出结构化、可执行的报告,并带有可视化进度追踪。
Installation
安装步骤
Clone the Skill Suite
克隆技能套件
bash
undefinedbash
undefinedClone into Claude Code skills directory
克隆到Claude Code技能目录
git clone https://github.com/JaguarPillage/r04-alirezarezvani-claude-code-skill-factory-seo.git
~/.claude/skills/seo-content-marketing
~/.claude/skills/seo-content-marketing
git clone https://github.com/JaguarPillage/r04-alirezarezvani-claude-code-skill-factory-seo.git
~/.claude/skills/seo-content-marketing
~/.claude/skills/seo-content-marketing
Or copy into your preferred skills location
或复制到你偏好的技能位置
cp -r /path/to/r04-alirezarezvani-claude-code-skill-factory-seo
~/.claude/skills/seo-content-marketing
~/.claude/skills/seo-content-marketing
undefinedcp -r /path/to/r04-alirezarezvani-claude-code-skill-factory-seo
~/.claude/skills/seo-content-marketing
~/.claude/skills/seo-content-marketing
undefinedRegister with Claude Code
在Claude Code中注册
In a Claude Code session:
bash
/read ~/.claude/skills/seo-content-marketing/SKILL.md在Claude Code会话中执行:
bash
/read ~/.claude/skills/seo-content-marketing/SKILL.mdVerify Installation
验证安装
bash
undefinedbash
undefinedList available commands
列出可用命令
/help seo
/help seo
Test a basic command
测试基础命令
/keyword-research --help
undefined/keyword-research --help
undefinedCore Commands
核心命令
/keyword-research
/keyword-research/keyword-research
/keyword-researchDeep keyword clustering with opportunity scoring and SERP intent analysis.
bash
undefined深度关键词聚类,包含机会评分和SERP意图分析。
bash
undefinedBasic keyword research
基础关键词研究
/keyword-research "digital marketing tools"
/keyword-research "digital marketing tools"
With advanced options
高级选项
/keyword-research "email marketing"
--volume-min 1000
--difficulty-max 50
--intent commercial
--output json
--volume-min 1000
--difficulty-max 50
--intent commercial
--output json
/keyword-research "email marketing"
--volume-min 1000
--difficulty-max 50
--intent commercial
--output json
--volume-min 1000
--difficulty-max 50
--intent commercial
--output json
Cluster keywords by topic
按主题聚类关键词
/keyword-research --cluster
--input keywords.csv
--format table
--input keywords.csv
--format table
**Output Structure:**
- Keyword clusters with semantic grouping
- Search volume and difficulty scores
- SERP intent classification (informational/commercial/transactional/navigational)
- Opportunity score (volume vs. difficulty)
- Related questions and PAA data/keyword-research --cluster
--input keywords.csv
--format table
--input keywords.csv
--format table
**输出结构:**
- 语义分组的关键词聚类
- 搜索量和难度评分
- SERP意图分类(信息型/商业型/交易型/导航型)
- 机会评分(搜索量vs难度)
- 相关问题和PAA(People Also Ask)数据/content-audit
/content-audit/content-audit
/content-auditFull-site content quality analysis with duplicate detection.
bash
undefined全站点内容质量分析,包含重复内容检测。
bash
undefinedAudit entire domain
审核整个域名
/content-audit https://example.com --scope full
/content-audit https://example.com --scope full
Audit specific section
审核特定板块
Export detailed report
导出详细报告
**Output Structure:**
- Content quality scores (0-100)
- Thin content detection (<300 words)
- Duplicate/near-duplicate pages
- Keyword cannibalization report
- Missing meta tags and title issues
- Internal linking opportunities
**输出结构:**
- 内容质量评分(0-100)
- 低质内容检测(<300词)
- 重复/近似重复页面
- 关键词内部竞争报告
- 缺失元标签和标题问题
- 内链优化机会/technical-seo
/technical-seo/technical-seo
/technical-seoComprehensive technical SEO audit covering crawlability, performance, and indexability.
bash
undefined全面的技术SEO审核,涵盖可抓取性、性能和可索引性。
bash
undefinedFull technical audit
完整技术审核
/technical-seo https://example.com
/technical-seo https://example.com
Focus on Core Web Vitals
聚焦Core Web Vitals
/technical-seo https://example.com --focus cwv
/technical-seo https://example.com --focus cwv
Check indexability issues
检查可索引性问题
**Checks Performed:**
- Crawl budget optimization
- Core Web Vitals (LCP, FID, CLS)
- Schema markup validation
- Robots.txt and sitemap analysis
- Canonical tag implementation
- Mobile-friendliness
- HTTPS and security headers
- Structured data errors
**执行的检查项:**
- 抓取预算优化
- Core Web Vitals(LCP、FID、CLS)
- Schema标记验证
- Robots.txt和站点地图分析
- Canonical标签实现
- 移动端适配
- HTTPS和安全头
- 结构化数据错误/competitor-gap
/competitor-gap/competitor-gap
/competitor-gapIdentify SEO opportunities through competitor analysis.
bash
undefined通过竞品分析识别SEO机会。
bash
undefinedAnalyze competitor gaps
分析竞品差距
/competitor-gap
--your-domain example.com
--competitors competitor1.com,competitor2.com
--your-domain example.com
--competitors competitor1.com,competitor2.com
/competitor-gap
--your-domain example.com
--competitors competitor1.com,competitor2.com
--your-domain example.com
--competitors competitor1.com,competitor2.com
Backlink gap analysis
反向链接差距分析
/competitor-gap
--domain example.com
--competitors competitor.com
--focus backlinks
--min-dr 30
--domain example.com
--competitors competitor.com
--focus backlinks
--min-dr 30
/competitor-gap
--domain example.com
--competitors competitor.com
--focus backlinks
--min-dr 30
--domain example.com
--competitors competitor.com
--focus backlinks
--min-dr 30
Content gap analysis
内容差距分析
/competitor-gap
--domain example.com
--competitors competitor.com
--focus content
--export keywords.csv
--domain example.com
--competitors competitor.com
--focus content
--export keywords.csv
**Output Structure:**
- Keywords competitors rank for (but you don't)
- Backlink opportunities (sites linking to competitors)
- Featured snippet opportunities
- Topic coverage gaps
- DA/DR comparison metrics/competitor-gap
--domain example.com
--competitors competitor.com
--focus content
--export keywords.csv
--domain example.com
--competitors competitor.com
--focus content
--export keywords.csv
**输出结构:**
- 竞品排名但我方未排名的关键词
- 反向链接机会(链接到竞品的站点)
- 特色摘要机会
- 主题覆盖差距
- DA/DR对比指标/content-brief
/content-brief/content-brief
/content-briefGenerate AI-powered SEO content briefs.
bash
undefined生成AI驱动的SEO内容brief。
bash
undefinedCreate content brief
创建内容brief
/content-brief "best project management software 2024"
/content-brief "best project management software 2024"
With custom parameters
自定义参数
/content-brief "email marketing guide"
--target-words 2500
--audience "small business owners"
--tone professional
--include-outline
--target-words 2500
--audience "small business owners"
--tone professional
--include-outline
/content-brief "email marketing guide"
--target-words 2500
--audience "small business owners"
--tone professional
--include-outline
--target-words 2500
--audience "small business owners"
--tone professional
--include-outline
Generate from keyword list
从关键词列表生成
/content-brief
--keywords keywords.csv
--batch
--output briefs/
--keywords keywords.csv
--batch
--output briefs/
**Brief Includes:**
- Target keyword and semantically related terms
- Recommended word count
- Content outline with H2/H3 structure
- NLP terms to include
- Questions to answer (from PAA)
- Competitor content analysis
- Internal linking suggestions/content-brief
--keywords keywords.csv
--batch
--output briefs/
--keywords keywords.csv
--batch
--output briefs/
**Brief包含:**
- 目标关键词和语义相关术语
- 推荐字数
- 带H2/H3结构的内容大纲
- 需包含的NLP术语
- 需解答的问题(来自PAA)
- 竞品内容分析
- 内链建议/serp-monitor
/serp-monitor/serp-monitor
/serp-monitorTrack rankings with volatility alerts and CTR optimization.
bash
undefined追踪排名,提供波动告警和CTR优化建议。
bash
undefinedMonitor keywords
监控关键词
/serp-monitor
--domain example.com
--keywords keywords.csv
--frequency daily
--domain example.com
--keywords keywords.csv
--frequency daily
/serp-monitor
--domain example.com
--keywords keywords.csv
--frequency daily
--domain example.com
--keywords keywords.csv
--frequency daily
Generate ranking report
生成排名报告
/serp-monitor
--domain example.com
--date-range "2024-01-01:2024-01-31"
--export report.pdf
--domain example.com
--date-range "2024-01-01:2024-01-31"
--export report.pdf
/serp-monitor
--domain example.com
--date-range "2024-01-01:2024-01-31"
--export report.pdf
--domain example.com
--date-range "2024-01-01:2024-01-31"
--export report.pdf
Check SERP features
分析SERP特性
/serp-monitor
--keyword "project management"
--analyze-features
--keyword "project management"
--analyze-features
**Tracking Features:**
- Daily rank tracking (positions 1-100)
- Volatility alerts for rank changes >5 positions
- SERP feature tracking (featured snippets, PAA, local pack)
- CTR estimation and optimization tips
- Competitor movement alerts/serp-monitor
--keyword "project management"
--analyze-features
--keyword "project management"
--analyze-features
**追踪功能:**
- 每日排名追踪(1-100位)
- 排名变动>5位的波动告警
- SERP特性追踪(特色摘要、PAA、本地包)
- CTR估算和优化建议
- 竞品排名变动告警/link-prospecting
/link-prospecting/link-prospecting
/link-prospectingFind quality backlink opportunities with outreach templates.
bash
undefined寻找优质反向链接机会,并提供外联模板。
bash
undefinedFind link prospects
寻找外链潜在资源
/link-prospecting
--topic "content marketing"
--min-da 30
--max-results 100
--topic "content marketing"
--min-da 30
--max-results 100
/link-prospecting
--topic "content marketing"
--min-da 30
--max-results 100
--topic "content marketing"
--min-da 30
--max-results 100
Filter by link type
按链接类型筛选
/link-prospecting
--niche "saas"
--link-types "guest-post,resource-page"
--export prospects.csv
--niche "saas"
--link-types "guest-post,resource-page"
--export prospects.csv
/link-prospecting
--niche "saas"
--link-types "guest-post,resource-page"
--export prospects.csv
--niche "saas"
--link-types "guest-post,resource-page"
--export prospects.csv
Include outreach templates
包含外联模板
/link-prospecting
--topic "digital marketing"
--generate-templates
--personalize
--topic "digital marketing"
--generate-templates
--personalize
**Output Structure:**
- Prospect domain with DA/DR scores
- Contact information (email, social)
- Link type classification
- Relevance score
- Personalized outreach templates
- Follow-up sequence/link-prospecting
--topic "digital marketing"
--generate-templates
--personalize
--topic "digital marketing"
--generate-templates
--personalize
**输出结构:**
- 潜在资源域名及DA/DR评分
- 联系信息(邮箱、社交账号)
- 链接类型分类
- 相关性评分
- 个性化外联模板
- 跟进序列/page-speed-seo
/page-speed-seo/page-speed-seo
/page-speed-seoDiagnose page speed issues mapped to ranking impact.
bash
undefined诊断页面速度问题,并映射到排名影响。
bash
undefinedAnalyze page speed
分析页面速度
/page-speed-seo https://example.com
/page-speed-seo https://example.com
Focus on specific metrics
聚焦特定指标
Generate optimization report
生成优化报告
**Analysis Includes:**
- Core Web Vitals scores
- Render-blocking resources
- LCP optimization opportunities
- CLS layout shift sources
- FID/INP interaction delays
- Image optimization recommendations
- JavaScript execution time
- Ranking impact estimation
**分析包含:**
- Core Web Vitals评分
- 阻塞渲染资源
- LCP优化机会
- CLS布局偏移来源
- FID/INP交互延迟
- 图片优化建议
- JavaScript执行时间
- 排名影响估算/local-seo
/local-seo/local-seo
/local-seoLocal SEO audit with NAP consistency and GBP optimization.
bash
undefined本地SEO审核,包含NAP一致性和GBP优化。
bash
undefinedLocal SEO audit
本地SEO审核
/local-seo
--business "Acme Coffee Shop"
--location "Seattle, WA"
--business "Acme Coffee Shop"
--location "Seattle, WA"
/local-seo
--business "Acme Coffee Shop"
--location "Seattle, WA"
--business "Acme Coffee Shop"
--location "Seattle, WA"
NAP consistency check
NAP一致性检查
/local-seo
--check-citations
--business-name "Acme Coffee"
--export inconsistencies.csv
--check-citations
--business-name "Acme Coffee"
--export inconsistencies.csv
/local-seo
--check-citations
--business-name "Acme Coffee"
--export inconsistencies.csv
--check-citations
--business-name "Acme Coffee"
--export inconsistencies.csv
GBP optimization
GBP优化
**Audit Components:**
- NAP consistency across directories
- Google Business Profile optimization
- Local citation audit (Yelp, Facebook, etc.)
- Schema LocalBusiness markup
- Review management analysis
- Local pack ranking factors
**审核组件:**
- 各目录下的NAP一致性
- Google Business Profile优化
- 本地引用审核(Yelp、Facebook等)
- Schema LocalBusiness标记
- 评论管理分析
- 本地包排名因素/content-calendar
/content-calendar/content-calendar
/content-calendarData-driven editorial calendar from search demand and seasonality.
bash
undefined基于搜索需求和季节性的数据驱动编辑日历。
bash
undefinedGenerate content calendar
生成内容日历
/content-calendar
--topics "email marketing,crm,sales automation"
--months 3
--frequency weekly
--topics "email marketing,crm,sales automation"
--months 3
--frequency weekly
/content-calendar
--topics "email marketing,crm,sales automation"
--months 3
--frequency weekly
--topics "email marketing,crm,sales automation"
--months 3
--frequency weekly
Seasonal planning
季节性规划
/content-calendar
--industry ecommerce
--include-seasonality
--start-date 2024-06-01
--export calendar.csv
--industry ecommerce
--include-seasonality
--start-date 2024-06-01
--export calendar.csv
/content-calendar
--industry ecommerce
--include-seasonality
--start-date 2024-06-01
--export calendar.csv
--industry ecommerce
--include-seasonality
--start-date 2024-06-01
--export calendar.csv
From keyword research
从关键词研究生成
/content-calendar
--keywords keywords.csv
--format google-sheets
--assign-to team.json
--keywords keywords.csv
--format google-sheets
--assign-to team.json
**Calendar Features:**
- Search demand-based topic scheduling
- Seasonal trend integration
- Content type recommendations (blog, video, infographic)
- Target keywords per piece
- Publishing frequency optimization
- Team assignment and deadlines/content-calendar
--keywords keywords.csv
--format google-sheets
--assign-to team.json
--keywords keywords.csv
--format google-sheets
--assign-to team.json
**日历特性:**
- 基于搜索需求的主题排期
- 季节性趋势整合
- 内容类型建议(博客、视频、信息图)
- 单篇内容的目标关键词
- 发布频率优化
- 团队分配和截止日期Workflows (Multi-Step Processes)
工作流(多步骤流程)
full-seo-sprint
full-seo-sprintfull-seo-sprint
full-seo-sprintComprehensive 12-step SEO sprint from audit to implementation.
bash
/workflows:full-seo-sprint \
--domain example.com \
--scope full \
--duration 4-weeksSprint Steps:
- Initial technical audit
- Content quality assessment
- Keyword research and mapping
- Competitor gap analysis
- On-page optimization plan
- Content creation roadmap
- Link building strategy
- Technical fixes prioritization
- Implementation tracking
- Performance monitoring
- Iteration planning
- Reporting and recommendations
从审核到实施的12步全面SEO冲刺。
bash
/workflows:full-seo-sprint \
--domain example.com \
--scope full \
--duration 4-weeks冲刺步骤:
- 初始技术审核
- 内容质量评估
- 关键词研究与映射
- 竞品差距分析
- 页面优化方案
- 内容创作路线图
- 外链建设策略
- 技术修复优先级排序
- 实施追踪
- 性能监控
- 迭代规划
- 报告与建议
launch-seo
launch-seolaunch-seo
launch-seoPre-launch SEO checklist and validation.
bash
/workflows:launch-seo \
--domain newsite.com \
--staging-url staging.newsite.com \
--launch-date 2024-06-15Checklist:
- Canonical tag validation
- Hreflang implementation (if international)
- XML sitemap generation and submission
- Robots.txt configuration
- 301 redirect mapping (if migration)
- Meta tags and schema markup
- Mobile-friendliness verification
- Page speed baseline
- Analytics and Search Console setup
上线前SEO检查清单与验证。
bash
/workflows:launch-seo \
--domain newsite.com \
--staging-url staging.newsite.com \
--launch-date 2024-06-15检查清单:
- Canonical标签验证
- Hreflang实现(若面向国际)
- XML站点地图生成与提交
- Robots.txt配置
- 301重定向映射(若迁移)
- 元标签和Schema标记
- 移动端适配验证
- 页面速度基准
- 分析工具与Search Console设置
content-refresh
content-refreshcontent-refresh
content-refreshIdentify and refresh underperforming pages.
bash
/workflows:content-refresh \
--domain example.com \
--min-age 12-months \
--rank-drop 5-positionsProcess:
- Identify pages with ranking declines
- Analyze current content quality
- Research updated keyword intent
- Generate refresh recommendations
- Create updated content briefs
- Track post-refresh performance
识别并刷新表现不佳的页面。
bash
/workflows:content-refresh \
--domain example.com \
--min-age 12-months \
--rank-drop 5-positions流程:
- 识别排名下降的页面
- 分析当前内容质量
- 研究更新后的关键词意图
- 生成刷新建议
- 创建更新后的内容brief
- 追踪刷新后的性能
authority-building
authority-buildingauthority-building
authority-buildingEnd-to-end digital PR and link building campaign.
bash
/workflows:authority-building \
--domain example.com \
--target-da 50 \
--budget $5000 \
--duration 6-monthsCampaign Steps:
- Authority baseline assessment
- Link-worthy asset creation
- Prospect list building
- Outreach campaign execution
- Relationship nurturing
- Link acquisition tracking
- Authority metric monitoring
端到端的数字PR和外链建设活动。
bash
/workflows:authority-building \
--domain example.com \
--target-da 50 \
--budget $5000 \
--duration 6-months活动步骤:
- 权威度基准评估
- 可外链资产创建
- 潜在资源列表构建
- 外联活动执行
- 关系维护
- 外链获取追踪
- 权威度指标监控
ai-content-pipeline
ai-content-pipelineai-content-pipeline
ai-content-pipelineAutomated content pipeline from keyword to publish.
bash
/workflows:ai-content-pipeline \
--topics topics.csv \
--output-dir content/ \
--auto-publish false \
--review-required truePipeline Stages:
- Keyword research and selection
- AI content brief generation
- Draft creation (with AI assistance)
- SEO optimization
- Quality review
- Image and media addition
- Internal linking
- Publishing and indexing
- Performance tracking
从关键词到发布的自动化内容流水线。
bash
/workflows:ai-content-pipeline \
--topics topics.csv \
--output-dir content/ \
--auto-publish false \
--review-required true流水线阶段:
- 关键词研究与筛选
- AI内容brief生成
- 草稿创建(AI辅助)
- SEO优化
- 质量审核
- 图片与媒体添加
- 内链设置
- 发布与索引
- 性能追踪
Configuration
配置
Environment Variables
环境变量
bash
undefinedbash
undefinedAPI credentials (store in .env)
API凭证(存储在.env中)
export SEO_SERP_API_KEY="${YOUR_SERP_API_KEY}"
export SEO_BACKLINK_API_KEY="${YOUR_BACKLINK_API_KEY}"
export SEO_KEYWORD_API_KEY="${YOUR_KEYWORD_TOOL_API_KEY}"
export SEO_GSC_CREDENTIALS="${PATH_TO_GSC_JSON}"
export SEO_GA_CREDENTIALS="${PATH_TO_GA_JSON}"
export SEO_SERP_API_KEY="${YOUR_SERP_API_KEY}"
export SEO_BACKLINK_API_KEY="${YOUR_BACKLINK_API_KEY}"
export SEO_KEYWORD_API_KEY="${YOUR_KEYWORD_TOOL_API_KEY}"
export SEO_GSC_CREDENTIALS="${PATH_TO_GSC_JSON}"
export SEO_GA_CREDENTIALS="${PATH_TO_GA_JSON}"
Default settings
默认设置
export SEO_DEFAULT_LOCATION="United States"
export SEO_DEFAULT_LANGUAGE="en"
export SEO_OUTPUT_FORMAT="markdown"
export SEO_PROGRESS_DISPLAY="verbose"
undefinedexport SEO_DEFAULT_LOCATION="United States"
export SEO_DEFAULT_LANGUAGE="en"
export SEO_OUTPUT_FORMAT="markdown"
export SEO_PROGRESS_DISPLAY="verbose"
undefinedConfiguration File
配置文件
Create :
~/.claude/skills/seo-content-marketing/config.yamlyaml
undefined创建:
~/.claude/skills/seo-content-marketing/config.yamlyaml
undefinedAPI Configuration
API配置
apis:
serp:
provider: "serpapi" # or "dataforseo", "semrush"
rate_limit: 100
backlinks:
provider: "ahrefs" # or "moz", "majestic"
rate_limit: 50
keywords:
provider: "google-keyword-planner"
fallback: "ubersuggest"
apis:
serp:
provider: "serpapi" # 或 "dataforseo", "semrush"
rate_limit: 100
backlinks:
provider: "ahrefs" # 或 "moz", "majestic"
rate_limit: 50
keywords:
provider: "google-keyword-planner"
fallback: "ubersuggest"
Default Settings
默认设置
defaults:
location: "United States"
language: "en"
device: "desktop"
search_engine: "google.com"
defaults:
location: "United States"
language: "en"
device: "desktop"
search_engine: "google.com"
Output Preferences
输出偏好
output:
format: "markdown" # or "json", "csv", "pdf"
verbosity: "detailed" # or "summary", "quiet"
progress_bars: true
color_coding: true
output:
format: "markdown" # 或 "json", "csv", "pdf"
verbosity: "detailed" # 或 "summary", "quiet"
progress_bars: true
color_coding: true
Thresholds
阈值
thresholds:
keyword_difficulty_high: 70
keyword_difficulty_medium: 40
content_quality_good: 75
page_speed_good: 90
da_quality_link: 30
thresholds:
keyword_difficulty_high: 70
keyword_difficulty_medium: 40
content_quality_good: 75
page_speed_good: 90
da_quality_link: 30
Workflow Settings
工作流设置
workflows:
auto_export: true
checkpoint_saves: true
notification_webhooks:
- "${SLACK_WEBHOOK_URL}"
undefinedworkflows:
auto_export: true
checkpoint_saves: true
notification_webhooks:
- "${SLACK_WEBHOOK_URL}"
undefinedCommon Patterns
常见使用模式
Pattern 1: New Site SEO Setup
模式1:新站点SEO设置
bash
undefinedbash
undefinedStep 1: Technical foundation
步骤1:技术基础搭建
/technical-seo https://newsite.com
--export technical-audit.md
--export technical-audit.md
/technical-seo https://newsite.com
--export technical-audit.md
--export technical-audit.md
Step 2: Keyword research
步骤2:关键词研究
/keyword-research
--seed-keywords "product category 1, product category 2"
--volume-min 500
--export keywords.csv
--seed-keywords "product category 1, product category 2"
--volume-min 500
--export keywords.csv
/keyword-research
--seed-keywords "product category 1, product category 2"
--volume-min 500
--export keywords.csv
--seed-keywords "product category 1, product category 2"
--volume-min 500
--export keywords.csv
Step 3: Content planning
步骤3:内容规划
/content-calendar
--keywords keywords.csv
--months 6
--export editorial-calendar.csv
--keywords keywords.csv
--months 6
--export editorial-calendar.csv
/content-calendar
--keywords keywords.csv
--months 6
--export editorial-calendar.csv
--keywords keywords.csv
--months 6
--export editorial-calendar.csv
Step 4: Pre-launch checklist
步骤4:上线前检查清单
/workflows:launch-seo
--domain newsite.com
--launch-date 2024-07-01
--domain newsite.com
--launch-date 2024-07-01
undefined/workflows:launch-seo
--domain newsite.com
--launch-date 2024-07-01
--domain newsite.com
--launch-date 2024-07-01
undefinedPattern 2: Recover Lost Rankings
模式2:恢复丢失的排名
bash
undefinedbash
undefinedStep 1: Identify affected pages
步骤1:识别受影响页面
/serp-monitor
--domain example.com
--date-range "2024-01-01:2024-03-31"
--filter rank-drop
--export declining-pages.csv
--domain example.com
--date-range "2024-01-01:2024-03-31"
--filter rank-drop
--export declining-pages.csv
/serp-monitor
--domain example.com
--date-range "2024-01-01:2024-03-31"
--filter rank-drop
--export declining-pages.csv
--domain example.com
--date-range "2024-01-01:2024-03-31"
--filter rank-drop
--export declining-pages.csv
Step 2: Content audit
步骤2:内容审核
Step 3: Refresh workflow
步骤3:刷新工作流
/workflows:content-refresh
--pages declining-pages.csv
--priority high
--pages declining-pages.csv
--priority high
undefined/workflows:content-refresh
--pages declining-pages.csv
--priority high
--pages declining-pages.csv
--priority high
undefinedPattern 3: Competitor Overtake Strategy
模式3:竞品超越策略
bash
undefinedbash
undefinedStep 1: Gap analysis
步骤1:差距分析
/competitor-gap
--your-domain example.com
--competitors top-competitor.com
--export gaps.json
--your-domain example.com
--competitors top-competitor.com
--export gaps.json
/competitor-gap
--your-domain example.com
--competitors top-competitor.com
--export gaps.json
--your-domain example.com
--competitors top-competitor.com
--export gaps.json
Step 2: Keyword targeting
步骤2:关键词定位
/keyword-research
--import gaps.json
--filter opportunity-score
--sort desc
--import gaps.json
--filter opportunity-score
--sort desc
/keyword-research
--import gaps.json
--filter opportunity-score
--sort desc
--import gaps.json
--filter opportunity-score
--sort desc
Step 3: Content briefs
步骤3:内容brief
/content-brief
--keywords opportunity-keywords.csv
--batch
--competitor-analysis
--keywords opportunity-keywords.csv
--batch
--competitor-analysis
/content-brief
--keywords opportunity-keywords.csv
--batch
--competitor-analysis
--keywords opportunity-keywords.csv
--batch
--competitor-analysis
Step 4: Link building
步骤4:外链建设
/link-prospecting
--competitor-backlinks top-competitor.com
--min-dr 30
--export prospects.csv
--competitor-backlinks top-competitor.com
--min-dr 30
--export prospects.csv
undefined/link-prospecting
--competitor-backlinks top-competitor.com
--min-dr 30
--export prospects.csv
--competitor-backlinks top-competitor.com
--min-dr 30
--export prospects.csv
undefinedPattern 4: Local Business SEO
模式4:本地商家SEO
bash
undefinedbash
undefinedStep 1: Local audit
步骤1:本地审核
/local-seo
--business "Acme Plumbing"
--location "Austin, TX"
--export local-audit.md
--business "Acme Plumbing"
--location "Austin, TX"
--export local-audit.md
/local-seo
--business "Acme Plumbing"
--location "Austin, TX"
--export local-audit.md
--business "Acme Plumbing"
--location "Austin, TX"
--export local-audit.md
Step 2: Citation building
步骤2:引用建设
/local-seo
--build-citations
--directories yelp,facebook,yellowpages
--nap "Acme Plumbing, 123 Main St, Austin TX 78701, (512) 555-1234"
--build-citations
--directories yelp,facebook,yellowpages
--nap "Acme Plumbing, 123 Main St, Austin TX 78701, (512) 555-1234"
/local-seo
--build-citations
--directories yelp,facebook,yellowpages
--nap "Acme Plumbing, 123 Main St, Austin TX 78701, (512) 555-1234"
--build-citations
--directories yelp,facebook,yellowpages
--nap "Acme Plumbing, 123 Main St, Austin TX 78701, (512) 555-1234"
Step 3: GBP optimization
步骤3:GBP优化
/local-seo
--optimize-gbp
--add-posts
--respond-reviews
--optimize-gbp
--add-posts
--respond-reviews
/local-seo
--optimize-gbp
--add-posts
--respond-reviews
--optimize-gbp
--add-posts
--respond-reviews
Step 4: Local content
步骤4:本地内容
/content-calendar
--local-focus "Austin plumbing"
--include-local-keywords
--months 3
--local-focus "Austin plumbing"
--include-local-keywords
--months 3
undefined/content-calendar
--local-focus "Austin plumbing"
--include-local-keywords
--months 3
--local-focus "Austin plumbing"
--include-local-keywords
--months 3
undefinedPattern 5: Enterprise Content Audit
模式5:企业级内容审核
bash
undefinedbash
undefinedStep 1: Crawl and categorize
步骤1:抓取与分类
Step 2: Identify issues
步骤2:识别问题
/content-audit https://enterprise.com
--find-duplicates
--find-cannibalization
--find-thin-content
--export issues.csv
--find-duplicates
--find-cannibalization
--find-thin-content
--export issues.csv
/content-audit https://enterprise.com
--find-duplicates
--find-cannibalization
--find-thin-content
--export issues.csv
--find-duplicates
--find-cannibalization
--find-thin-content
--export issues.csv
Step 3: Prioritize fixes
步骤3:优先级修复
/content-audit
--import issues.csv
--score-by-traffic
--export prioritized-fixes.csv
--import issues.csv
--score-by-traffic
--export prioritized-fixes.csv
/content-audit
--import issues.csv
--score-by-traffic
--export prioritized-fixes.csv
--import issues.csv
--score-by-traffic
--export prioritized-fixes.csv
Step 4: Track implementation
步骤4:追踪实施
/content-audit
--track-changes
--baseline full-audit.csv
--current-check
--export progress-report.md
--track-changes
--baseline full-audit.csv
--current-check
--export progress-report.md
undefined/content-audit
--track-changes
--baseline full-audit.csv
--current-check
--export progress-report.md
--track-changes
--baseline full-audit.csv
--current-check
--export progress-report.md
undefinedReal Code Examples
真实代码示例
Using Commands Programmatically
程序化调用命令
python
undefinedpython
undefinedPython example: Automate keyword research
Python示例:自动化关键词研究
import subprocess
import json
import pandas as pd
def run_keyword_research(seed_keywords, output_file):
"""Run keyword research command and parse results."""
cmd = [
"/keyword-research",
",".join(seed_keywords),
"--volume-min", "1000",
"--output", "json"
]
result = subprocess.run(
cmd,
capture_output=True,
text=True
)
data = json.loads(result.stdout)
# Convert to DataFrame for analysis
df = pd.DataFrame(data['keywords'])
df.to_csv(output_file, index=False)
return dfimport subprocess
import json
import pandas as pd
def run_keyword_research(seed_keywords, output_file):
"""执行关键词研究命令并解析结果。"""
cmd = [
"/keyword-research",
",".join(seed_keywords),
"--volume-min", "1000",
"--output", "json"
]
result = subprocess.run(
cmd,
capture_output=True,
text=True
)
data = json.loads(result.stdout)
# 转换为DataFrame进行分析
df = pd.DataFrame(data['keywords'])
df.to_csv(output_file, index=False)
return dfUse the function
使用函数
keywords = run_keyword_research(
["content marketing", "seo tools", "link building"],
"keyword-data.csv"
)
keywords = run_keyword_research(
["content marketing", "seo tools", "link building"],
"keyword-data.csv"
)
Filter high-opportunity keywords
筛选高机会关键词
opportunities = keywords[
(keywords['opportunity_score'] > 70) &
(keywords['difficulty'] < 50)
]
print(f"Found {len(opportunities)} high-opportunity keywords")
undefinedopportunities = keywords[
(keywords['opportunity_score'] > 70) &
(keywords['difficulty'] < 50)
]
print(f"找到{len(opportunities)}个高机会关键词")
undefinedWorkflow Integration
工作流集成
javascript
// Node.js example: Content pipeline automation
const { exec } = require('child_process');
const util = require('util');
const execPromise = util.promisify(exec);
async function contentPipeline(topics) {
const results = {
keywords: [],
briefs: [],
calendar: null
};
// Step 1: Keyword research for each topic
for (const topic of topics) {
const { stdout } = await execPromise(
`/keyword-research "${topic}" --output json`
);
results.keywords.push(JSON.parse(stdout));
}
// Step 2: Generate content briefs
const allKeywords = results.keywords.flat();
for (const keyword of allKeywords.slice(0, 10)) {
const { stdout } = await execPromise(
`/content-brief "${keyword.term}" --output json`
);
results.briefs.push(JSON.parse(stdout));
}
// Step 3: Create editorial calendar
const { stdout } = await execPromise(
`/content-calendar --topics ${topics.join(',')} --months 3 --output json`
);
results.calendar = JSON.parse(stdout);
return results;
}
// Run pipeline
contentPipeline(['email marketing', 'crm software', 'sales automation'])
.then(results => {
console.log(`Generated ${results.briefs.length} content briefs`);
console.log(`Calendar has ${results.calendar.items.length} items`);
})
.catch(console.error);javascript
// Node.js示例:内容流水线自动化
const { exec } = require('child_process');
const util = require('util');
const execPromise = util.promisify(exec);
async function contentPipeline(topics) {
const results = {
keywords: [],
briefs: [],
calendar: null
};
// 步骤1:为每个主题进行关键词研究
for (const topic of topics) {
const { stdout } = await execPromise(
`/keyword-research "${topic}" --output json`
);
results.keywords.push(JSON.parse(stdout));
}
// 步骤2:生成内容brief
const allKeywords = results.keywords.flat();
for (const keyword of allKeywords.slice(0, 10)) {
const { stdout } = await execPromise(
`/content-brief "${keyword.term}" --output json`
);
results.briefs.push(JSON.parse(stdout));
}
// 步骤3:创建编辑日历
const { stdout } = await execPromise(
`/content-calendar --topics ${topics.join(',')} --months 3 --output json`
);
results.calendar = JSON.parse(stdout);
return results;
}
// 运行流水线
contentPipeline(['email marketing', 'crm software', 'sales automation'])
.then(results => {
console.log(`生成了${results.briefs.length}个内容brief`);
console.log(`日历包含${results.calendar.items.length}个条目`);
})
.catch(console.error);Batch Processing
批量处理
bash
#!/bin/bashbash
#!/bin/bashBatch audit multiple domains
批量审核多个域名
DOMAINS_FILE="domains.txt"
OUTPUT_DIR="audits"
mkdir -p "$OUTPUT_DIR"
while IFS= read -r domain; do
echo "Auditing $domain..."
# Technical SEO
/technical-seo "$domain" \
--export "$OUTPUT_DIR/${domain}-technical.json"
# Content audit
/content-audit "$domain" \
--scope full \
--export "$OUTPUT_DIR/${domain}-content.csv"
# Page speed
/page-speed-seo "$domain" \
--export "$OUTPUT_DIR/${domain}-speed.json"
echo "Completed $domain"
sleep 5 # Rate limitingdone < "$DOMAINS_FILE"
echo "All audits complete. Results in $OUTPUT_DIR/"
undefinedDOMAINS_FILE="domains.txt"
OUTPUT_DIR="audits"
mkdir -p "$OUTPUT_DIR"
while IFS= read -r domain; do
echo "正在审核$domain..."
# 技术SEO
/technical-seo "$domain" \
--export "$OUTPUT_DIR/${domain}-technical.json"
# 内容审核
/content-audit "$domain" \
--scope full \
--export "$OUTPUT_DIR/${domain}-content.csv"
# 页面速度
/page-speed-seo "$domain" \
--export "$OUTPUT_DIR/${domain}-speed.json"
echo "$domain审核完成"
sleep 5 # 速率限制done < "$DOMAINS_FILE"
echo "所有审核完成。结果位于$OUTPUT_DIR/"
undefinedTroubleshooting
故障排除
API Rate Limits
API速率限制
bash
undefinedbash
undefinedCheck current rate limit status
检查当前速率限制状态
/seo-config --check-limits
/seo-config --check-limits
Adjust rate limiting
调整速率限制
export SEO_RATE_LIMIT_DELAY=2 # seconds between requests
export SEO_RATE_LIMIT_DELAY=2 # 请求间隔秒数
Use batch mode with delays
使用带延迟的批量模式
/keyword-research
--batch keywords.csv
--rate-limit 30 # requests per minute
--batch keywords.csv
--rate-limit 30 # requests per minute
undefined/keyword-research
--batch keywords.csv
--rate-limit 30 # 每分钟请求数
--batch keywords.csv
--rate-limit 30 # 每分钟请求数
undefinedLarge Site Audits
大型站点审核
bash
undefinedbash
undefinedFor sites with 10,000+ pages, use progressive crawl
针对10000+页面的站点,使用渐进式抓取
/content-audit https://largesite.com
--progressive
--max-pages 1000
--checkpoint-every 250
--resume-from checkpoint-750.json
--progressive
--max-pages 1000
--checkpoint-every 250
--resume-from checkpoint-750.json
/content-audit https://largesite.com
--progressive
--max-pages 1000
--checkpoint-every 250
--resume-from checkpoint-750.json
--progressive
--max-pages 1000
--checkpoint-every 250
--resume-from checkpoint-750.json
Or split by section
或按板块拆分
/content-audit https://largesite.com/blog --scope section
/content-audit https://largesite.com/products --scope section
undefined/content-audit https://largesite.com/blog --scope section
/content-audit https://largesite.com/products --scope section
undefinedMissing Data
数据缺失
bash
undefinedbash
undefinedVerify API credentials
验证API凭证
echo $SEO_SERP_API_KEY # should not be empty
echo $SEO_SERP_API_KEY # 不应为空
Test API connectivity
测试API连接
/seo-config --test-apis
/seo-config --test-apis
Use fallback providers
使用备用提供商
/keyword-research "test"
--provider-fallback ubersuggest,wordtracker
--provider-fallback ubersuggest,wordtracker
undefined/keyword-research "test"
--provider-fallback ubersuggest,wordtracker
--provider-fallback ubersuggest,wordtracker
undefinedPerformance Issues
性能问题
bash
undefinedbash
undefinedEnable caching
启用缓存
export SEO_ENABLE_CACHE=true
export SEO_CACHE_TTL=86400 # 24 hours
export SEO_ENABLE_CACHE=true
export SEO_CACHE_TTL=86400 # 24小时
Reduce verbosity
降低详细程度
Use parallel processing
使用并行处理
/content-audit https://example.com
--parallel 4 # concurrent workers
--parallel 4 # concurrent workers
undefined/content-audit https://example.com
--parallel 4 # 并发工作进程数
--parallel 4 # 并发工作进程数
undefinedExport Format Issues
导出格式问题
bash
undefinedbash
undefinedForce specific format
强制指定格式
/keyword-research "topic"
--output json
--pretty
--output json
--pretty
/keyword-research "topic"
--output json
--pretty
--output json
--pretty
Convert between formats
格式转换
/seo-convert
--input report.json
--output report.csv
--format csv
--input report.json
--output report.csv
--format csv
/seo-convert
--input report.json
--output report.csv
--format csv
--input report.json
--output report.csv
--format csv
Validate output
验证输出
/seo-validate report.json
undefined/seo-validate report.json
undefinedAdvanced Usage
高级用法
Custom Scoring Models
自定义评分模型
yaml
undefinedyaml
undefinedAdd to config.yaml
添加到config.yaml
scoring:
keyword_opportunity:
formula: "(volume / 100) * (100 - difficulty) * intent_multiplier"
intent_multipliers:
commercial: 1.2
transactional: 1.5
informational: 0.8
navigational: 0.5
content_quality:
weights:
word_count: 0.2
readability: 0.15
keyword_usage: 0.25
internal_links: 0.15
external_links: 0.1
multimedia: 0.15
undefinedscoring:
keyword_opportunity:
formula: "(volume / 100) * (100 - difficulty) * intent_multiplier"
intent_multipliers:
commercial: 1.2
transactional: 1.5
informational: 0.8
navigational: 0.5
content_quality:
weights:
word_count: 0.2
readability: 0.15
keyword_usage: 0.25
internal_links: 0.15
external_links: 0.1
multimedia: 0.15
undefinedWebhook Notifications
Webhook通知
yaml
undefinedyaml
undefinedAdd to config.yaml
添加到config.yaml
webhooks:
on_audit_complete:
url: "${SLACK_WEBHOOK_URL}"
payload:
text: "SEO audit complete for {{domain}}"
attachments:
- title: "Results Summary"
fields:
- title: "Pages Crawled"
value: "{{pages_crawled}}"
- title: "Issues Found"
value: "{{issues_count}}"
on_rank_change:
url: "${DISCORD_WEBHOOK_URL}"
threshold: 5 # positions
payload:
content: "Ranking alert: {{keyword}} moved {{change}} positions"
undefinedwebhooks:
on_audit_complete:
url: "${SLACK_WEBHOOK_URL}"
payload:
text: "{{domain}}的SEO审核已完成"
attachments:
- title: "结果摘要"
fields:
- title: "抓取页面数"
value: "{{pages_crawled}}"
- title: "发现问题数"
value: "{{issues_count}}"
on_rank_change:
url: "${DISCORD_WEBHOOK_URL}"
threshold: 5 # 排名变动位数
payload:
content: "排名告警:{{keyword}}变动了{{change}}位"
undefinedIntegration with Analytics
与分析工具集成
bash
undefinedbash
undefinedImport Google Search Console data
导入Google Search Console数据
/serp-monitor
--import-gsc
--date-range "last-90-days"
--export gsc-data.csv
--import-gsc
--date-range "last-90-days"
--export gsc-data.csv
/serp-monitor
--import-gsc
--date-range "last-90-days"
--export gsc-data.csv
--import-gsc
--date-range "last-90-days"
--export gsc-data.csv
Combine with Analytics
结合Analytics数据
/content-audit https://example.com
--include-ga-metrics
--metrics "sessions,bounce_rate,avg_time_on_page"
--include-ga-metrics
--metrics "sessions,bounce_rate,avg_time_on_page"
/content-audit https://example.com
--include-ga-metrics
--metrics "sessions,bounce_rate,avg_time_on_page"
--include-ga-metrics
--metrics "sessions,bounce_rate,avg_time_on_page"
Cross-reference
交叉引用
/keyword-research
--augment-with-gsc
--min-clicks 100
--augment-with-gsc
--min-clicks 100
This skill provides comprehensive SEO and content marketing capabilities optimized for AI coding agents to help developers implement effective search optimization and content strategies./keyword-research
--augment-with-gsc
--min-clicks 100
--augment-with-gsc
--min-clicks 100
本技能提供全面的SEO和内容营销功能,专为AI编码代理优化,帮助开发者实施有效的搜索优化和内容策略。