Seo aeo

From jikig-ai/soleur · View interactive version

Seo aeo is an AI agent skill from the GitHub repository jikig-ai/soleur. This skill should be used when auditing, fixing, or validating SEO and AEO (AI Engine Optimization) for Eleventy documentation sites. It provides sub-commands for running audits, applying fixes, and validating build output.

How to use this skill

Skill file

<!-- soleur-cloud-mode:start -->

Cloud Mode (Devin): before pipeline work run bash "${CLAUDE_PLUGIN_ROOT}/scripts/cloud-detect.sh". If CLAUDE_PLUGIN_ROOT is unset (cloud exec shells do not export it), resolve the root by IDENTITY, never by script basename: for d in "$HOME/.local/share/devin/cli/plugins/cache" and /opt/.devin/plugins, skip unless [ -d "$d" ], then MANIFEST="$(find "$d" -path '*/.claude-plugin/plugin.json' -exec grep -l '"name"[[:space:]]*:[[:space:]]*"soleur"' {} + 2>/dev/null | head -1)", ROOT="${MANIFEST%/.claude-plugin/plugin.json}" — one resolution, two consumers: $ROOT/scripts/cloud-detect.sh and $ROOT/scripts/precommit-guard.sh. (Shape check, not authentication: a planted {"name":"soleur"} dir passes — ADR-179 A11.) local or not-local:no-devin-env proceeds normally; any other not-local:<reason> applies <plugin-root>/devin/INSTRUCTIONS.md §Cloud Mode: emit the --banner, fan out sequentially with Reviewed-Coverage: sequential-fallback disclosure (never claim an independent review ran), message_user ack before any secrets read or production mutation, and run precommit-guard.sh before any git commit — hooks do not fire in cloud.

<!-- soleur-cloud-mode:end -->

<!-- grok-harness-invoke:start -->

Grok Build (plugins/soleur/lib/harness.ts invokeSkill()): Read this SKILL.md in this process and run it to completion. A one-segment soleur:<name> in this document names a SKILL — on Grok Build, Read plugins/soleur/skills/<name>/SKILL.md in this process; it is not a nested tool_use. A multi-segment id such as soleur:<domain>:<name> names an AGENT: spawn it, never Read it, and on Grok Build spawn_subagent takes the id with its colons replaced by hyphens (agentIdToGrokSubagentType). Claude Code: Skill tool for a skill (soleur:<name>), Task tool with subagent_type for an agent. Forbidden is executing a subset, not the Read.

<!-- grok-harness-invoke:end -->

SEO & AEO for Eleventy Docs

Audit, fix, and validate SEO and AEO (AI Engine Optimization) for Eleventy documentation sites. This skill routes to sub-commands for analysis, remediation, and CI validation.

Sub-commands

| Command | Description |

|---------|-------------|

| seo-aeo audit | Audit the site for SEO/AEO issues and produce a report |

| seo-aeo fix | Analyze gaps and apply fixes to source files |

| seo-aeo validate | Run the validation script against built output |

If no sub-command is provided, display the table above and ask which sub-command to run.


Phase 0: Prerequisites

<critical_sequence>

Before executing any sub-command, verify the Eleventy site structure exists.

Required: Eleventy config

if [[ ! -f "eleventy.config.js" ]] && [[ ! -f ".eleventy.js" ]]; then
  echo "No Eleventy config found. This skill works with Eleventy documentation sites."
  # Stop execution
fi

Required for validate: Built output

The validate sub-command requires a built _site/ directory. If missing:

No _site/ directory found. Run npx @11ty/eleventy first, then re-run validate.

</critical_sequence>


Sub-command: audit

Run a comprehensive SEO/AEO audit using the soleur:marketing:seo-aeo-analyst agent.

Steps

  1. Launch the soleur:marketing:seo-aeo-analyst agent via the Task tool:

```

Task soleur:marketing:seo-aeo-analyst: "Audit this Eleventy documentation site for SEO and AEO issues.

Read the site configuration, templates, and data files. Produce a structured report

with critical issues, warnings, and passed checks. Do NOT make any changes."

```

  1. Present the agent's report to the user
  2. Offer next steps: "Run seo-aeo fix to apply recommended fixes, or seo-aeo validate to check the built output."

Sub-command: fix

Analyze gaps and apply targeted fixes to source files.

Steps

  1. Launch the soleur:marketing:seo-aeo-analyst agent via the Task tool with fix instructions:

```

Task soleur:marketing:seo-aeo-analyst: "Audit this Eleventy documentation site for SEO and AEO issues.

For each issue found, apply a fix to the source files. Read each file before editing.

After all fixes, build the site with npx @11ty/eleventy and run

bash "${CLAUDE_PLUGIN_ROOT}/skills/seo-aeo/scripts/validate-seo.sh" _site and

bash "${CLAUDE_PLUGIN_ROOT}/skills/seo-aeo/scripts/validate-csp.sh" _site to verify.

Report what was changed and whether validation passed."

```

  1. Present the agent's report showing changes made
  2. If validation failed, show the failing checks and offer to re-run fix

Sub-command: validate

Run the standalone validation script against built output.

Steps

  1. Verify _site/ exists. If not, build first:

```bash

npx @11ty/eleventy

```

  1. Run the validation scripts:

```bash

bash "${CLAUDE_PLUGIN_ROOT}/skills/seo-aeo/scripts/validate-seo.sh" _site

bash "${CLAUDE_PLUGIN_ROOT}/skills/seo-aeo/scripts/validate-csp.sh" _site

```

  1. Report results:

Validation scripts:

Known limitations:

Sharp edges

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.