fix
Skill81 starsChanged 2 months agoMITView on GitHub
Opt-in fixer (the /claude-seo-ai:fix command). Applies the safe, deterministic SEO/AI-search fixes from a persisted audit to the user's site — meta viewport/charset/lang, JSON-LD, robots.txt AI directives, hreflang, sitemaps, OG/Twitter cards, image dimensions, canonical, AI discovery files — through the adapter that matches the platform (local files, Shopify theme/Admin, WordPress REST/WP-CLI, page APIs, or step-by-step instructions). Dry-run preview by default; writes only after explicit per-change confirmation. Runs only when the user invokes it — never auto-triggered.
- Reads credentials
82 other projects use a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- tyrantpiper/travel-pwatheir own version, first seen Nov 8, 2026
- Eclipter/agentstheir own version, first seen Nov 8, 2026
- Bhenderlong/vallorix-mcp-plugintheir own version, first seen Nov 8, 2026
- KadirHarmanc/nazar-skilltheir own version, first seen Nov 8, 2026
- zedarvates/frugal-skillstheir own version, first seen Nov 8, 2026
- ribato22/vibechecktheir own version, first seen Nov 8, 2026
Used with
Projects with it also use feature, frontend-code-review and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
bradtraversySkillfeature
Manage current feature workflow - start, review, explain or complete
Also in 10 projects that use this
chendongqiSkillfrontend-code-review
Trigger when the user requests a review of frontend files (e.g., `.tsx`, `.ts`, `.js`). Support both pending-change reviews and focused file reviews while applying the checklist rules.
Also in 4 projects that use this
GoogleSkillpr-creator
Also in 4 projects that use this
PJuniszewskiSkillcook
Feature development with guardrails. Plan → Review → Code → Ship.
Also in 3 projects that use this
vbrevikSkillwork
Use when the user says 'plan', 'todo', 'copy plan', 'append plan', 'resume plan', 'priorities', or 'what's next'.
Also in 4 projects that use this
Microsoft AzureSkilltest
Also in 12 projects that use this
Other versions82 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- Hainrixz/claude-db★ 2213% same
Wrote their own version · 81
- react/react★ 252ksame name
- facebook/react★ 252ksame name
- motiondivision/motion★ 35ksame name
- parcadei/Continuous-Claude★ 3.9ksame name
- parcadei/Continuous-Claude-v2★ 3.9ksame name
- parcadei/Continuous-Claude-v3★ 3.9ksame name
- crbnos/carbon★ 2.8ksame name
- Akylas/OSS-DocumentScanner★ 2.6ksame name
- kdlbs/kandev★ 1.1ksame name
- GoogleCloudPlatform/magic-modules★ 975same name
71 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository33 other files it gives its agents.
- auditSkill
- compareSkill
- geoSkill
- scoreSkill
- seo-agent-readinessSkill
- seo-ai-crawlersSkill
- seo-ai-discoverySkill
- seo-core-web-vitalsSkill
- seo-crawlabilitySkill
- seo-crawl-renderSkill
- seo-ecommerceSkill
- seo-eeatSkill
- seo-entity-linkingSkill
- seo-fix-applySkill
- seo-freshnessSkill
- seo-geo-answerblocksSkill
- seo-geo-factdensitySkill
- seo-headings-structureSkill
- seo-images-mediaSkill
- seo-indexabilitySkill
- seo-internal-linkingSkill
- seo-internationalSkill
- seo-localSkill
- seo-meta-onpageSkill
- seo-mobileSkill
- seo-orchestratorSkill
- seo-platform-detectSkill
- seo-renderingSkill
- seo-schema-jsonldSkill
- seo-scoreSkill
- seo-sitemapsSkill
- seo-social-cardsSkill
- seo-vertical-detectSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 0 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 75 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 26
Never fix from memory: Every change comes from a persisted report.json on disk.
- Very specific: line 48
Every command below is node "${CLAUDE_PLUGIN_ROOT}/scripts/<x>.mjs" … with --data "$DATA".
- Very specific: line 65
2. Confirm the platform profile: Read profile.platform, profile.framework, profile.capabilities, profile.write_targets.
- Very specific: line 93
Never invent them, and never let a TODO:<field> placeholder reach a write.
- Very specific: line 105
7. Confirm, then issue tickets: Ask per change, or in one batch the user can accept as a whole — their choice.
- Very specific: line 150
Idempotent: every change carries a marker or an existence check.
- Very specific: line 159
No fabrication: no invented statistics, citations, prices, ratings or identity links, and no backdated dateModified.
“Common” is measured: kept by at least 6 in 10 of the 75 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
<!-- Portions Copyright (c) 2026 Enrique Rocha (@soyenriquerocha) - see LICENSE for original authors · tododeia.com · id er-d03758e1 -->fix (opt-in writer)
disable-model-invocation: true means the model can never trigger this on its own — only the
user running /claude-seo-ai:fix. Writes happen only through the seo-fixer-writer subagent (the
one agent with Write/Edit) and only after explicit confirmation.
--category filters the report's findings and matches on a finding's module id (M5, M7, M17, …),
its axis (search, ai, or both — which matches both of the other two), its fixable class
(auto, proposed, advisory), or its scope (page, site, …), case-insensitively. It is not
a topic vocabulary and it does not split on commas: repeat the flag to widen the filter
(--category M5 --category M17). Translate what the user asks for into those words — "fix my schema"
is --category M5, "just the safe ones" is --category auto — and say which filter you applied.
--target accepts the adapter ids plus the aliases local, shopify, wordpress, manual, and the
provider names webflow/wix/ghost/hubspot/bigcommerce (each expands to page-api).
Two absolutes, before anything else:
- Never fix from memory. Every change comes from a persisted
report.jsonon disk. If there is no report for this target, run the audit first — do not reconstruct findings from the transcript. - You never write. This thread runs read-only ops (
capabilities,plan,preview,verify).apply,publishandrollbackbelong to the writer subagent, and each needs a ticket.
Fixability classes (from each finding's fixable field — see schema/finding.schema.json)
- AUTO — deterministic, additive, machine-verifiable, low-semantic-risk. May be written (with
diff + confirmation): meta
viewport/charset/<html lang>; Tier-1 JSON-LD blocks;sameAs/@id/dateModified(from confirmed inputs only); robots.txt AI-crawler presets +Sitemap:line; self-referential canonical; hreflang link sets; OG/Twitter cards; imagewidth/height; XML sitemap entries;llms.txt(disclosure-gated, scored 0). - PROPOSED — changes prose or meaning; draft the diff and require a per-item accept: generated
<title>and meta description, answer-block/TL;DR rewrites, internal-link insertions, heading restructuring, generated image alt text. - ADVISORY — never written: content/E-E-A-T rewrites, added stats or citations, Core Web Vitals, rendering strategy, redirects/status codes, link-building, Merchant Center/GBP backend data.
Setup for every step
DATA="${CLAUDE_SEO_AI_HOME:-${CLAUDE_PLUGIN_DATA:-$HOME/.claude-seo-ai}}"
SCRIPTS="${CLAUDE_PLUGIN_ROOT}/scripts"Every command below is node "${CLAUDE_PLUGIN_ROOT}/scripts/<x>.mjs" … with --data "$DATA".
Credentials are never passed as flags: adapters read CLAUDE_PLUGIN_OPTION_<KEY> then <KEY>
from the environment. If a key is missing, name the key — never ask the user to paste a value here.
Flow
0. Resolve and short-circuit. Resolve DATA and SCRIPTS. If --rollback <run_id> was given,
skip everything else: read <DATA>/fix/runs/<run_id>/manifest.json, show what would be restored
(files from <DATA>/backups/<run_id>/, before/*.json payloads, previous_live_id for a published
theme), confirm, then have the writer run each adapter's rollback --all. Report and stop.
1. Load the report — never from memory. Take --report <path>, else --run <id>, else the
latest run for this target under <DATA>/runs/<host>/latest. Read report.json (findings, scores,
target) and the profile.json beside it. If the report is missing, or generated_at is more than
24 h old, say so and offer to re-run /claude-seo-ai:audit first. Do not proceed on a stale report
without the user saying to.
2. Confirm the platform profile. Read profile.platform, profile.framework,
profile.capabilities, profile.write_targets. When platform confidence is below high, or
--target auto leaves more than one plausible write path, show what was detected (with the signals)
and ask the user to confirm or override with --target. A wrong profile writes to the wrong surface.
3. Choose adapters and check readiness. Selection rules, in this order:
- a local path target (or
--project <dir>) ⇒local-files, plus a platform adapter for per-resource fields the source tree does not own; - shopify ⇒
shopify-theme+shopify-admin; - wordpress ⇒
wordpress-restwhen its credentials exist and the SEO plugin exposes writes, elsewordpress-wpcliwhen--ssh/WP_SSHis set, elseinstructions; - webflow / wix / ghost / hubspot / bigcommerce ⇒
page-apiwhen the key exists, elseinstructions; - squarespace / framer / unknown ⇒
instructions.
Run node "${CLAUDE_PLUGIN_ROOT}/scripts/adapters/<adapter>.mjs" capabilities --data "$DATA" for
each. List missing keys by name only, with the hint: run /plugin for claude-seo-ai to enter
them, or export them in the shell that starts Claude Code. A missing key downgrades that target to
instructions; it never stops the run.
4. Plan. One call builds the whole plan:
node "${CLAUDE_PLUGIN_ROOT}/scripts/fix-plan.mjs" --report <report.json> --profile <profile.json> \
--targets <a,b> --run <run_id> [--category …] [--include-proposed] [--answers <json>] \
[--project <dir>] [--dev-url <u>] [--lang en|es] --data "$DATA"It writes plan.json + manifest.json into <DATA>/fix/runs/<run_id>/ and returns a grouped
summary. Unresolved real-world inputs — a locale map, sameAs profile URLs, the robots preset, a
redirect's destination, a publication date — are asked in chat and passed back via --answers.
Never invent them, and never let a TODO:<field> placeholder reach a write.
5. Preview. For each change, preview --run <dir> --change <id>. Group the output by target and
badge every change with its live_impact: [none] (a file or a staged theme), [staged] (written
to a draft/unpublished surface, invisible to visitors), [LIVE] (visible immediately). Show the
unified diff for files, the request + variables + before values for API payloads, and the exact
command for CLI ops. Shopify theme changes also carry their theme check result — an error there
blocks apply.
6. Stop on --dry-run. Print the summary, say plainly that nothing was written, and end.
Dry-run is the default posture: if the user did not clearly ask to apply, treat it as a dry run.
7. Confirm, then issue tickets. Ask per change, or in one batch the user can accept as a whole —
their choice. Confirmation must name the live_impact of what they are accepting. For each
confirmed change, in the same turn as the confirmation:
node "${CLAUDE_PLUGIN_ROOT}/scripts/fix-ticket.mjs" issue --command "<the exact apply command>" \
--run <run_id> --change <chg_id> --data "$DATA"A ticket is one-shot and expires in 15 minutes. Record the confirmed ids in
manifest.json.confirmed. Never issue a ticket for a change the user has not just accepted, and
never for a command you have not shown them.
8. Dispatch the writer — once. One Agent(seo-fixer-writer) call with a JSON envelope:
RUN_DIR, SCRIPTS_DIR (the absolute ${CLAUDE_PLUGIN_ROOT}/scripts), DATA, PROJECT_ROOT
(local targets), confirmed_change_ids[], tickets (id per change), publish (default false),
force, lang, and return: "JSON array of findings only". --publish requires a second
confirmation and its own ticket for the publish command — publishing is what makes staged work
visible, so it is never bundled with the apply confirmation.
9. Verify. For each applied change: verify --run <dir> --change <id> [--dev-url <u>], plus the
finding's own verification.reproduce. Read the result honestly — a stale CDN or page cache is
pending_cache, never a pass. A local framework target with no dev server verifies at source level
only: say "source verified; re-audit after deploy" rather than claiming the live page is fixed.
10. Report. A table of change · target · live_impact · status · verification, then: what is
staged and not yet public, cache caveats, the rollback command
(/claude-seo-ai:fix --rollback <run_id>), and the next steps (publish, re-audit, remaining
instructions items the user has to click through).
Target shapes
- URL only (no
--project): never selectslocal-files— there is no source tree to edit. A framework site gets its per-resource fixes through the platform adapter and everything else throughinstructions, plus an offer to re-run with--project <dir>for source edits. - Local framework project: the audit may have run against
http://localhost:3000or built output, while the fix edits source throughroute-map(the route → file mapping), and--dev-urlre-fetches the running dev server to verify. Say which of the three you verified. - Hosted builder with no API key:
instructionsrenders the exact click path in--lang en|es, with the values already filled in. That is a real outcome, not a failure.
Safety (hard rules)
- Dry-run is the default. Writing requires the user to ask for it and confirm the change.
- Git-aware: refuse to write into a dirty working tree unless
--force; check withgit status --porcelainand prefer aseo-fix/<date>branch. - Backups first: local files to
<DATA>/backups/<run_id>/<relpath>, remote resources to<RUN_DIR>/before/<change_id>.json, Shopify to a full theme copy.--rollback <run_id>restores from exactly these. - Idempotent: every change carries a marker or an existence check; re-running produces
skipped_idempotent, never a duplicate block. - Never live by default: Shopify pushes to an unpublished theme, Webflow/HubSpot stay staged,
WordPress never touches
statusor post content, Wix setspublish:falseunless the endpoint requires otherwise. Anything[LIVE]says so before you ask. - Never touch
.git/,.env*, lockfiles, key material,wp-config.php, or a Shopifyconfig/settings_data.json. Theguard-writeandguard-bashhooks enforce this independently. - Credentials: environment only, never in argv, never echoed, never written to a file in the repo. Commands in the log are redacted.
- No fabrication: no invented statistics, citations, prices, ratings or identity links, and no
backdated
dateModified.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

