Yoast configuration

From lightspeedwp/.github · View interactive version

Yoast configuration is an AI agent skill from the GitHub repository lightspeedwp/.github. configure, audit, validate, troubleshoot and document yoast seo setups for wordpress and woocommerce sites, including schema, metadata, sitemaps, canonicals, redirects, breadcrumbs, product schema, ai metadata, multilingual, taxonomy, migration and research-pack workflows. use for planning, reports,

How to use this skill

Skill file

Yoast Configuration

Use this skill to produce agency-ready Yoast SEO configuration plans, audits, QA checklists, troubleshooting notes, research packs, source registers, and developer handoffs for WordPress and WooCommerce sites.

Operating posture

Mandatory output structure

Use this response structure for all normal outputs unless the user explicitly asks for a different template or a specialist template in templates/ is clearly more appropriate:

  1. 3-bullet summary: value, main risk, and next step.
  2. Access and evidence: access level used, source status, confidence, and key limitations.
  3. Findings or decisions: prioritised table or grouped bullets with severity, risk, confidence, owner direction, and smallest next action where useful.
  4. Recommended configuration or remediation: separate confirmed facts, assumptions, recommendation, rationale, risk, approval state, and implementation route.
  5. QA and validation: state the exact rendered-output, sitemap, robots, schema, canonical, redirect, metadata, WooCommerce, multilingual, approval, or post-change checks required.
  6. Open questions and next actions: include only questions that block approval, implementation, or QA.

For very small answers, keep the same order but compress sections rather than dropping evidence, risk, or QA. Do not hide uncertainty in prose; label it directly.

Fast audit mode

Use fast audit mode when the user asks for a quick audit, skim, triage, sanity check, first pass, rough review, or fast opinion, or when the available input is small and the user has not asked for a full report.

Fast audit mode must:

Embedded core models

Use these models immediately without loading reference files. Load the detailed reference only when the case is high-risk, ambiguous, client-facing, implementation-ready, or needs structured artefacts.

Evidence confidence model

Evidence boundaries:

Severity and priority model

Use severity for impact and priority for action order.

Risk model

Owner and route model

Decision record model

Create or recommend a decision record when the recommendation changes indexation, canonicals, sitemaps, schema, redirects, WooCommerce archive strategy, multilingual alternates, bulk metadata approval, AI-assisted metadata approval, or developer customisation. Minimum fields:

Remediation item model

For actionable findings, include:

Non-goals

Source hierarchy

Use this evidence order:

  1. Yoast developer documentation for behaviour, output, APIs, filters, indexables, schema, sitemaps, canonicals, metadata, robots, and technical specifications.
  2. Yoast product pages for product positioning and packaging claims.
  3. WordPress.org plugin listings for plugin availability, high-level capability, version context, and packaging cross-checks.
  4. Google Search Central for canonical, robots, structured data, product, FAQ, HowTo, hreflang, sitemap, and Google Search interpretation.
  5. Schema.org for schema vocabulary validation.
  6. WordPress and WooCommerce official documentation where Yoast behaviour depends on platform behaviour.
  7. Weak or unofficial sources only when clearly labelled as weak supporting evidence.

Evidence handling rules

Required caveats

Always preserve these caveats when relevant:

Related skill routing

Use this skill as the planning, configuration, evidence interpretation, reporting, research-pack, decision, and handoff workflow for Yoast SEO.

Route to yoast-auditor when the user needs live WordPress admin inspection, content-level Yoast review, direct Yoast field edits, batch metadata updates inside WordPress, taxonomy SEO edits, noindex changes, schema setting edits, breadcrumbs setting edits, redirect-manager edits, or any approved production/staging change through a WordPress connector.

Do not duplicate live audit or edit workflows from yoast-auditor. Instead, prepare the safest handoff:

If the request mixes planning and live edits, complete the planning/decision output first, then route the implementation portion to yoast-auditor.

If the installed live-auditor skill uses a different slug, replace yoast-auditor with that exact installed slug throughout the routing layer.

Progressive loading

If the task is ambiguous, consult references/file-routing-index.md first, then load only the files needed for the user's request. For fast audit mode, use the embedded core models first and load references only for blockers, contradictions, or specialist depth:

Intake workflow

  1. Identify the site type: business, local, publisher/blog, ecommerce catalogue, ecommerce transactional, multilingual, migration/rebuild, duplicate-content-heavy, poor-content-structure, or schema-customisation.
  2. Ask only for missing information that materially changes the recommendation. Prefer safe defaults when enough context exists.
  3. For WooCommerce, always load intake/woocommerce-intake.md or ask the equivalent questions before giving product/archive/schema recommendations.
  4. For migrations, always check old/new URL structure, redirects, existing metadata, sitemaps, canonicals, noindex rules, WooCommerce migration state, and schema changes.
  5. For schema customisation, confirm whether the goal is vocabulary validity, Google eligibility, entity modelling, plugin conflict resolution, or custom data mapping.
  6. For developer tasks, confirm the target layer: WordPress theme, custom plugin, block/plugin integration, headless output, third-party plugin conflict, or data migration.
  7. Record source status: user-provided evidence, approved page copy, partial page copy, translated metadata draft, multilingual page set, hreflang crawl, translation-plugin export, redirect map, migration launch checklist, redirect crawl, Yoast redirect export, server/CDN redirect rules, AI-generated draft, taxonomy inventory, content inventory, bulk metadata spreadsheet, approval queue, settings export, rendered output, crawl export, baseline/current comparison, plugin-update regression evidence, portfolio summary evidence, defaults-drift baseline, live scan, source-register research target, or current verified source.
  8. For translated or locale-specific metadata, classify the evidence with references/locale-metadata-governance.md before recommending approval, import, or admin entry. For AI-assisted metadata, classify the draft with references/ai-metadata-review-model.md before recommending approval or admin entry. For bulk metadata changes, use references/bulk-metadata-governance.md and references/approval-queue-workflow.md before recommending implementation.
  9. Create or recommend a decision record when a recommendation changes indexation, canonicals, sitemaps, schema, WooCommerce archive strategy, redirects, product mix, AI-assisted metadata approval, or developer customisation.

Output workflow

Start every normal response from the mandatory output structure above, then apply the relevant template or specialist workflow. For settings-export, rendered-output, comparison, regression, portfolio and defaults-drift reviews, separate observed values from inferred Yoast behaviour and expected SEO impact. Do not treat a settings export as proof of live output, a baseline comparison as proof of current behaviour without current evidence, or cross-site drift as a defect without site-type and approval context. For AI-assisted metadata, separate generated draft copy from approved source evidence, human approval and rendered-output QA; never treat AI-generated copy as approved source evidence. For bulk metadata edits, separate candidate rows, approval status, implementation route, and post-change verification; never treat a spreadsheet as production approval or rendered output evidence. For content-structure and taxonomy decisions, separate taxonomy inventory, content quality, rendered archive output, sitemap inclusion, canonical state and approval status; never treat a global noindex/sitemap exclusion as low risk without site-type and business-value context. For redirect maps and migration controls, separate proposed mapping, implementation route, approval state, live status-code evidence, canonical/sitemap state, rollback plan and post-launch monitoring; never treat a redirect map as proof of live redirects. For audits and troubleshooting, classify findings with references/audit-triage-model.md when severity, priority, owner, confidence, or smallest next action is not obvious. Use references/conflict-resolution-playbook.md when settings, output, sources, client preference, or developer behaviour disagree. Use references/decision-register-model.md when the recommendation needs approval or future traceability.

  1. State confirmed facts and evidence confidence.
  2. State assumptions and missing evidence.
  3. Recommend configuration decisions with risk level and rationale.
  4. Include QA actions for every metadata, canonical, robots, sitemap, schema, breadcrumb, redirect, WooCommerce, AI-assisted, or developer change.
  5. Provide open questions only where they affect implementation or approval.
  6. End with practical next steps for agency delivery.

Research-pack workflow

When asked to build or update Yoast reference data:

  1. Load docs/research-workflow.md and references/research-pack-output-spec.md.
  2. Start from references/source-register.md; scan official Yoast URLs first, then secondary authoritative sources only for verification gaps.
  3. Capture evidence in the source register before writing capability, configuration, feature, schema, WooCommerce, or developer conclusions.
  4. Populate matrices and reference entries only with sourced facts; mark unknowns as unclear from available sources or needs verification.
  5. Keep product packaging claims separate from developer behaviour and Google Search interpretation.
  6. Preserve duplicate URLs in the source register and mark their duplicate relationship.
  7. Update docs/changelog.md, docs/maintenance-guide.md, and any relevant tests after reference data changes.

Developer customisation rules

WooCommerce-specific rules

QA expectations

Recommend QA after every Yoast configuration change, plugin upgrade, migration, canonical/noindex decision, schema change, WooCommerce product-data change, redirect change, sitemap exclusion, robots rule, llms.txt change, AI-generated metadata approval, translated metadata approval, hreflang or multilingual sitemap change, redirect-map approval, Yoast redirect import, migration launch control, bulk metadata edit, approval queue decision, taxonomy indexation decision, content-structure remediation, or developer customisation.

Package maintenance workflow

When asked to refine or package this skill:

  1. Preserve the progressive-loading architecture.
  2. Keep SKILL.md as the compact router and move detailed material into references, intake, profiles, templates, docs, tests, or scripts.
  3. Do not add binary assets unless they are genuinely needed and small.
  4. Run scripts/validate_source_register.py, scripts/validate_reference_data.py, scripts/validate_skill_structure.py, scripts/validate_evidence_states.py, scripts/validate_decision_records.py, scripts/validate_artefact_review.py, scripts/validate_regression_pack.py, scripts/validate_portfolio_pack.py, scripts/validate_health_review_pack.py, scripts/validate_ai_metadata_pack.py, scripts/validate_bulk_metadata_pack.py, scripts/validate_taxonomy_pack.py, scripts/validate_redirect_migration_pack.py, scripts/validate_related_skill_routing.py, and a skill packaging validation before returning skill.zip.
  5. Return the full repackaged skill, not a patch.

Output formats

Use the templates in templates/ unless the user asks for a different format. Keep outputs practical, evidence-led, UK English, and agency-ready.

_Built by 🧱 LightSpeedWP with ☕, 🚀, and open-source spirit!_

Contributors

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.