seo-wordpress
БесплатноБез исполняемых скриптовНе проверенWordPress SEO specialist skill for the Travel Insurance Center-Kenya plugin. Use when asked to improve SEO, add meta tags, schema markup, Open Graph…
от FDU-INS★ 84 звезды на GitHubОб этом скилле
SEO Skill — Travel Insurance Center-Kenya (WordPress)
Context
This skill targets a WordPress plugin that renders insurance policy pages, quote wizards, and agency dashboards on the frontend. SEO improvements focus on:
- Technical on-page SEO output from PHP templates
- Structured data / JSON-LD for insurance products
- Social sharing (Open Graph, Twitter Cards)
- Core Web Vitals & page speed
- Keyword targeting for Kenyan travel insurance searches
- WordPress-specific integration (Yoast/RankMath compatibility)
Execution Workflow
- Audit — Identify the page/template/shortcode the user is targeting.
- Classify intent — Which SEO domain applies? (See table below)
- Implement — Apply changes directly to the relevant PHP/HTML files.
- Validate — Check output renders valid HTML and no PHP errors.
- Document — Note any new options/constants added to
key_facts.md.
Intent → Action Map
| User Request | Action |
|---|---|
| "Add meta tags" | Inject <meta> via wp_head hook in the relevant class |
| "Add schema / structured data" | Output JSON-LD <script> block via wp_head or inline |
| "Open Graph / social sharing" | Add og:* and twitter:* meta tags |
| "Add canonical URL" | Output <link rel="canonical"> via wp_head |
| "Sitemap" | Register CPT/pages with WordPress sitemap or Yoast |
| "Page speed / Core Web Vitals" | Audit asset loading, defer JS, lazy-load images |
| "Keyword optimisation" | Review heading hierarchy, title tags, content density |
| "Rich snippets / FAQ schema" | Add FAQPage or Product JSON-LD |
WordPress SEO Implementation Patterns
1. Adding Meta Tags via wp_head
Hook into wp_head inside the relevant class constructor. Always escape output.
add_action( 'wp_head', [ $this, 'output_seo_meta' ] );
public function output_seo_meta(): void {
if ( ! is_singular( 'policy' ) ) {
return;
}
$post = get_queried_object();
$title = esc_attr( get_the_title( $post ) );
$desc = esc_attr( wp_strip_all_tags( get_the_excerpt( $post ) ) );
$url = esc_url( get_permalink( $post ) );
$img = esc_url( get_the_post_thumbnail_url( $post, 'large' ) );
?>
<meta name="description" content="<?php echo $desc; ?>">
<meta property="og:title" content="<?php echo $title; ?>">
<meta property="og:description" content="<?php echo $desc; ?>">
<meta property="og:url" content="<?php echo $url; ?>">
<meta property="og:type" content="product">
<?php if ( $img ) : ?>
<meta property="og:image" content="<?php echo $img; ?>">
<?php endif; ?>
<meta name="twitter:card" content="summary_large_image">
<link rel="canonical" href="<?php echo $url; ?>">
<?php
}
2. JSON-LD Structured Data — Insurance Product
Use InsuranceProduct mapped to the closest Schema.org type (Product + FinancialProduct).
public function output_schema_jsonld(): void {
if ( ! is_singular( 'policy' ) ) {
return;
}
$post = get_queried_object();
$name = get_the_title( $post );
$desc = wp_strip_all_tags( get_the_excerpt( $post ) );
$url = get_permalink( $post );
$logo_url = get_option( 'maljani_company_logo_url', '' );
$schema = [
'@context' => 'https://schema.org',
'@type' => 'Product',
'name' => $name,
'description' => $desc,
'url' => $url,
'brand' => [
'@type' => 'Organization',
'name' => 'Travel Insurance Center-Kenya',
'url' => home_url(),
],
];
if ( $logo_url ) {
$schema['brand']['logo'] = $logo_url;
}
echo '<script type="application/ld+json">'
. wp_json_encode( $schema, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE )
. '</script>' . "\n";
}
3. Organization / LocalBusiness Schema (Site-wide)
Add once on all pages to establish the brand entity in Google's Knowledge Graph.
$org_schema = [
'@context' => 'https://schema.org',
'@type' => 'InsuranceAgency',
'name' => 'Travel Insurance Center-Kenya',
'url' => home_url(),
'areaServed' => 'KE',
'currenciesAccepted' => 'KES',
'address' => [
'@type' => 'PostalAddress',
'addressCountry' => 'KE',
],
];
4. FAQ Schema
For policy detail pages that include an FAQ section:
$faq_schema = [
'@context' => 'https://schema.org',
'@type' => 'FAQPage',
'mainEntity' => [
[
'@type' => 'Question',
'name' => 'What does this travel insurance cover?',
'acceptedAnswer' => [
'@type' => 'Answer',
'text' => esc_html( get_post_meta( $post->ID, '_policy_coverage_summary', true ) ),
],
],
],
];
5. Yoast / RankMath Compatibility
Befor
Установить seo-wordpress в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteEditGlobGrepFAQ
Что делает скилл seo-wordpress?
WordPress SEO specialist skill for the Travel Insurance Center-Kenya plugin. Use when asked to improve SEO, add meta tags, schema markup, Open Graph, structured data, sitemap integration, keyword optimisation, canonical URLs, or page speed for the plugin's frontend pages and templates. Covers both on-page technical SEO (PHP/HTML output) and content-level recommendations. Trigger words: "SEO", "meta tags", "schema", "structured data", "Open Graph", "sitemap", "canonical", "page speed", "rich snippets", "search ranking", "keyword", "seo skill".
Как установить скилл seo-wordpress?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл seo-wordpress запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic