seo-supervisor 1.2.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/icon.png +0 -0
- package/.claude-plugin/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +16 -3
- package/CHANGELOG.md +430 -0
- package/NOTICE +7 -0
- package/README.md +230 -25
- package/agents/seo-auditor.md +16 -0
- package/agents/seo-reviewer.md +16 -0
- package/bin/agents.mjs +194 -29
- package/bin/extras.mjs +422 -0
- package/bin/prompt.mjs +34 -14
- package/bin/seo-supervisor.mjs +386 -53
- package/commands/seo-audit.md +29 -3
- package/commands/seo-brief.md +28 -0
- package/commands/seo-connect.md +27 -0
- package/commands/seo-fix.md +24 -3
- package/commands/seo-grow.md +26 -0
- package/commands/seo-launch.md +17 -3
- package/commands/seo-review.md +13 -1
- package/commands/seo-rewrite.md +25 -0
- package/commands/seo-setup.md +17 -1
- package/commands/seo-watch.md +28 -0
- package/hooks/hooks.json +117 -0
- package/package.json +20 -7
- package/skills/seo-supervisor/NOTICE +7 -0
- package/skills/seo-supervisor/SKILL.md +302 -21
- package/skills/seo-supervisor/audience.md +61 -0
- package/skills/seo-supervisor/examples/drafts/security.md +41 -0
- package/skills/seo-supervisor/examples/hooks/README.md +28 -0
- package/skills/seo-supervisor/examples/hooks/claude-code-settings.json +15 -0
- package/skills/seo-supervisor/examples/hooks/codex-hooks.json +17 -0
- package/skills/seo-supervisor/examples/hooks/copilot-hooks.json +15 -0
- package/skills/seo-supervisor/examples/hooks/cursor-hooks.json +11 -0
- package/skills/seo-supervisor/examples/hooks/github-actions.yml +21 -0
- package/skills/seo-supervisor/examples/hooks/pre-commit +17 -0
- package/skills/seo-supervisor/examples/hooks/reading-ease.yml +24 -0
- package/skills/seo-supervisor/examples/sample-audit.json +94 -2
- package/skills/seo-supervisor/examples/sample-report.html +111 -61
- package/skills/seo-supervisor/examples/sample-report.md +147 -44
- package/skills/seo-supervisor/examples/scheduled-runs.md +89 -0
- package/skills/seo-supervisor/examples/snippets.md +648 -1
- package/skills/seo-supervisor/grow.md +342 -0
- package/skills/seo-supervisor/og-images.md +85 -0
- package/skills/seo-supervisor/page-types.md +124 -0
- package/skills/seo-supervisor/planning.md +19 -7
- package/skills/seo-supervisor/profile-template.md +41 -0
- package/skills/seo-supervisor/report-format.md +177 -10
- package/skills/seo-supervisor/rewrite.md +59 -0
- package/skills/seo-supervisor/rules/ai-search.md +65 -12
- package/skills/seo-supervisor/rules/content.md +33 -9
- package/skills/seo-supervisor/rules/crawl-index.md +33 -6
- package/skills/seo-supervisor/rules/internal-linking.md +49 -6
- package/skills/seo-supervisor/rules/launch-monitoring.md +17 -8
- package/skills/seo-supervisor/rules/media.md +13 -1
- package/skills/seo-supervisor/rules/metadata.md +41 -9
- package/skills/seo-supervisor/rules/performance.md +50 -5
- package/skills/seo-supervisor/rules/rendering.md +39 -2
- package/skills/seo-supervisor/rules/search-intent.md +32 -0
- package/skills/seo-supervisor/rules/sitemaps-robots.md +24 -12
- package/skills/seo-supervisor/rules/structured-data.md +37 -14
- package/skills/seo-supervisor/rules/trust-security.md +25 -2
- package/skills/seo-supervisor/rules/urls.md +10 -2
- package/skills/seo-supervisor/scripts/ai-answers.mjs +314 -0
- package/skills/seo-supervisor/scripts/backlinks.mjs +412 -0
- package/skills/seo-supervisor/scripts/change-check.mjs +281 -0
- package/skills/seo-supervisor/scripts/checks/agents.mjs +488 -0
- package/skills/seo-supervisor/scripts/checks/assets.mjs +404 -0
- package/skills/seo-supervisor/scripts/checks/bots.mjs +146 -0
- package/skills/seo-supervisor/scripts/checks/business-type.mjs +193 -0
- package/skills/seo-supervisor/scripts/checks/content.mjs +391 -0
- package/skills/seo-supervisor/scripts/checks/coverage.mjs +184 -0
- package/skills/seo-supervisor/scripts/checks/crawl.mjs +95 -0
- package/skills/seo-supervisor/scripts/checks/hreflang.mjs +396 -0
- package/skills/seo-supervisor/scripts/checks/hygiene.mjs +227 -0
- package/skills/seo-supervisor/scripts/checks/lighthouse.mjs +271 -0
- package/skills/seo-supervisor/scripts/checks/link-strength.mjs +59 -0
- package/skills/seo-supervisor/scripts/checks/links.mjs +360 -0
- package/skills/seo-supervisor/scripts/checks/local.mjs +101 -0
- package/skills/seo-supervisor/scripts/checks/media.mjs +194 -0
- package/skills/seo-supervisor/scripts/checks/outbound.mjs +53 -0
- package/skills/seo-supervisor/scripts/checks/page.mjs +223 -0
- package/skills/seo-supervisor/scripts/checks/probes.mjs +130 -0
- package/skills/seo-supervisor/scripts/checks/render.mjs +552 -0
- package/skills/seo-supervisor/scripts/checks/robots.mjs +144 -0
- package/skills/seo-supervisor/scripts/checks/schema.mjs +206 -0
- package/skills/seo-supervisor/scripts/checks/site-agents.mjs +79 -0
- package/skills/seo-supervisor/scripts/checks/site-content.mjs +135 -0
- package/skills/seo-supervisor/scripts/checks/site-hygiene.mjs +202 -0
- package/skills/seo-supervisor/scripts/checks/site-pages.mjs +474 -0
- package/skills/seo-supervisor/scripts/checks/site-security.mjs +102 -0
- package/skills/seo-supervisor/scripts/checks/sitemap.mjs +473 -0
- package/skills/seo-supervisor/scripts/checks/speed.mjs +267 -0
- package/skills/seo-supervisor/scripts/checks/technical.mjs +368 -0
- package/skills/seo-supervisor/scripts/checks/tls.mjs +297 -0
- package/skills/seo-supervisor/scripts/checks/trust.mjs +421 -0
- package/skills/seo-supervisor/scripts/checks/visual.mjs +1132 -0
- package/skills/seo-supervisor/scripts/checks/writing.mjs +192 -0
- package/skills/seo-supervisor/scripts/commoncrawl.mjs +452 -0
- package/skills/seo-supervisor/scripts/connect-keys.mjs +422 -0
- package/skills/seo-supervisor/scripts/content-scan.mjs +515 -158
- package/skills/seo-supervisor/scripts/crawl/catalog.mjs +1248 -0
- package/skills/seo-supervisor/scripts/crawl/fetch.mjs +362 -0
- package/skills/seo-supervisor/scripts/crawl/page.mjs +741 -0
- package/skills/seo-supervisor/scripts/crawl/queue.mjs +190 -0
- package/skills/seo-supervisor/scripts/dashboard.mjs +140 -0
- package/skills/seo-supervisor/scripts/data/ai-bots.json +38 -0
- package/skills/seo-supervisor/scripts/data/build-schema-vocab.mjs +57 -0
- package/skills/seo-supervisor/scripts/data/business-types.json +338 -0
- package/skills/seo-supervisor/scripts/data/google-rich-results.json +79 -0
- package/skills/seo-supervisor/scripts/data/schema-vocab.json +1 -0
- package/skills/seo-supervisor/scripts/deploy-check.mjs +462 -0
- package/skills/seo-supervisor/scripts/disavow.mjs +176 -0
- package/skills/seo-supervisor/scripts/doctor.mjs +174 -0
- package/skills/seo-supervisor/scripts/geo-grid.mjs +371 -0
- package/skills/seo-supervisor/scripts/google/search-console.mjs +151 -0
- package/skills/seo-supervisor/scripts/google/session.mjs +167 -0
- package/skills/seo-supervisor/scripts/google-updates.mjs +189 -0
- package/skills/seo-supervisor/scripts/google.mjs +1341 -0
- package/skills/seo-supervisor/scripts/gsc-import.mjs +298 -0
- package/skills/seo-supervisor/scripts/guard/adapters/claude-code.mjs +149 -0
- package/skills/seo-supervisor/scripts/guard/adapters/cline.mjs +28 -0
- package/skills/seo-supervisor/scripts/guard/adapters/codex.mjs +26 -0
- package/skills/seo-supervisor/scripts/guard/adapters/copilot.mjs +36 -0
- package/skills/seo-supervisor/scripts/guard/adapters/cursor.mjs +33 -0
- package/skills/seo-supervisor/scripts/guard/adapters/devin.mjs +25 -0
- package/skills/seo-supervisor/scripts/guard/adapters/edits.mjs +124 -0
- package/skills/seo-supervisor/scripts/guard/mode.mjs +37 -0
- package/skills/seo-supervisor/scripts/guard/rules.mjs +931 -0
- package/skills/seo-supervisor/scripts/guard.mjs +74 -0
- package/skills/seo-supervisor/scripts/images.mjs +408 -0
- package/skills/seo-supervisor/scripts/indexnow.mjs +300 -0
- package/skills/seo-supervisor/scripts/issues.mjs +217 -0
- package/skills/seo-supervisor/scripts/keys/authority.mjs +135 -0
- package/skills/seo-supervisor/scripts/keys/bing.mjs +239 -0
- package/skills/seo-supervisor/scripts/keys/clarity.mjs +137 -0
- package/skills/seo-supervisor/scripts/keys/dataforseo.mjs +57 -0
- package/skills/seo-supervisor/scripts/keys/googleplaces.mjs +26 -0
- package/skills/seo-supervisor/scripts/keys/http.mjs +212 -0
- package/skills/seo-supervisor/scripts/keys/matomo.mjs +138 -0
- package/skills/seo-supervisor/scripts/keys/openai.mjs +26 -0
- package/skills/seo-supervisor/scripts/keys/perplexity.mjs +26 -0
- package/skills/seo-supervisor/scripts/keys/posthog.mjs +165 -0
- package/skills/seo-supervisor/scripts/keys/semrush.mjs +25 -0
- package/skills/seo-supervisor/scripts/keys/services.mjs +41 -0
- package/skills/seo-supervisor/scripts/keys/store.mjs +140 -0
- package/skills/seo-supervisor/scripts/keys/visits.mjs +58 -0
- package/skills/seo-supervisor/scripts/keys/youtube.mjs +84 -0
- package/skills/seo-supervisor/scripts/keyword-data.mjs +316 -0
- package/skills/seo-supervisor/scripts/keyword-ideas.mjs +503 -0
- package/skills/seo-supervisor/scripts/lib/args.mjs +56 -0
- package/skills/seo-supervisor/scripts/lib/business.mjs +27 -0
- package/skills/seo-supervisor/scripts/lib/cdp.mjs +242 -0
- package/skills/seo-supervisor/scripts/lib/cli.mjs +56 -0
- package/skills/seo-supervisor/scripts/lib/csv.mjs +38 -0
- package/skills/seo-supervisor/scripts/lib/findings.mjs +100 -0
- package/skills/seo-supervisor/scripts/lib/google-client.mjs +9 -0
- package/skills/seo-supervisor/scripts/lib/html.mjs +146 -0
- package/skills/seo-supervisor/scripts/lib/http.mjs +28 -0
- package/skills/seo-supervisor/scripts/lib/image-size.mjs +78 -0
- package/skills/seo-supervisor/scripts/lib/is-main.mjs +13 -0
- package/skills/seo-supervisor/scripts/lib/net.mjs +116 -0
- package/skills/seo-supervisor/scripts/lib/proxy.mjs +47 -0
- package/skills/seo-supervisor/scripts/lib/recheck.mjs +106 -0
- package/skills/seo-supervisor/scripts/lib/redact.mjs +78 -0
- package/skills/seo-supervisor/scripts/lib/robots.mjs +73 -0
- package/skills/seo-supervisor/scripts/lib/score.mjs +266 -0
- package/skills/seo-supervisor/scripts/lib/settings-dir.mjs +81 -0
- package/skills/seo-supervisor/scripts/links-import.mjs +603 -0
- package/skills/seo-supervisor/scripts/log-scan.mjs +597 -0
- package/skills/seo-supervisor/scripts/og-card.mjs +273 -0
- package/skills/seo-supervisor/scripts/osm.mjs +359 -0
- package/skills/seo-supervisor/scripts/rdap.mjs +164 -0
- package/skills/seo-supervisor/scripts/render-report.mjs +324 -690
- package/skills/seo-supervisor/scripts/report/client.js +37 -0
- package/skills/seo-supervisor/scripts/report/diff.mjs +264 -0
- package/skills/seo-supervisor/scripts/report/findings.mjs +165 -0
- package/skills/seo-supervisor/scripts/report/format.mjs +111 -0
- package/skills/seo-supervisor/scripts/report/markdown.mjs +250 -0
- package/skills/seo-supervisor/scripts/report/model.mjs +171 -0
- package/skills/seo-supervisor/scripts/report/overview-lines.mjs +158 -0
- package/skills/seo-supervisor/scripts/report/overview.mjs +224 -0
- package/skills/seo-supervisor/scripts/report/page.mjs +127 -0
- package/skills/seo-supervisor/scripts/report/panel.mjs +172 -0
- package/skills/seo-supervisor/scripts/report/panels/ai.mjs +211 -0
- package/skills/seo-supervisor/scripts/report/panels/connections.mjs +139 -0
- package/skills/seo-supervisor/scripts/report/panels/content.mjs +204 -0
- package/skills/seo-supervisor/scripts/report/panels/data-search.mjs +379 -0
- package/skills/seo-supervisor/scripts/report/panels/data-site.mjs +44 -0
- package/skills/seo-supervisor/scripts/report/panels/links.mjs +380 -0
- package/skills/seo-supervisor/scripts/report/panels/local.mjs +221 -0
- package/skills/seo-supervisor/scripts/report/panels/site.mjs +359 -0
- package/skills/seo-supervisor/scripts/report/panels/speed-media.mjs +267 -0
- package/skills/seo-supervisor/scripts/report/sources.mjs +163 -0
- package/skills/seo-supervisor/scripts/report/styles.css +223 -0
- package/skills/seo-supervisor/scripts/report/traffic.mjs +264 -0
- package/skills/seo-supervisor/scripts/report-plan.mjs +112 -33
- package/skills/seo-supervisor/scripts/schema-check.mjs +717 -0
- package/skills/seo-supervisor/scripts/seo-crawl.mjs +1086 -638
- package/skills/seo-supervisor/scripts/seo-diff.mjs +584 -0
- package/skills/seo-supervisor/scripts/update-check.mjs +82 -0
- package/skills/seo-supervisor/site-types/content.md +34 -1
- package/skills/seo-supervisor/site-types/ecommerce.md +38 -1
- package/skills/seo-supervisor/site-types/local-business.md +96 -6
- package/skills/seo-supervisor/site-types/services.md +46 -0
- package/skills/seo-supervisor/site-types/tools.md +3 -3
- package/skills/seo-supervisor/strategy.md +232 -0
- package/skills/seo-supervisor/troubleshooting.md +56 -0
package/commands/seo-fix.md
CHANGED
|
@@ -1,13 +1,34 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: Fix SEO findings from the last audit (all open ones, or the IDs you give)
|
|
2
|
+
description: "Fix SEO findings from the last audit (all open ones, or the IDs you give). Answers: can you fix these SEO problems?, fix F-012 for me? For building SEO a site doesn't have yet, use /seo-setup; for page wording, use /seo-rewrite."
|
|
3
3
|
argument-hint: "[finding IDs, e.g. F-001 F-004]"
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- Bash(node ${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/update-check.mjs)
|
|
7
|
+
- Bash(node ${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/doctor.mjs *)
|
|
8
|
+
- Bash(node ${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/seo-crawl.mjs *)
|
|
9
|
+
- Bash(node ${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/seo-diff.mjs *)
|
|
10
|
+
- Bash(node ${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/content-scan.mjs *)
|
|
11
|
+
- Bash(node ${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/schema-check.mjs *)
|
|
12
|
+
- Bash(node ${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/render-report.mjs *)
|
|
4
13
|
---
|
|
14
|
+
**Script paths:** here `<skill-dir>` is `${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor`. Run each script by that path exactly as written, with no `cd` first, for example `node ${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/update-check.mjs`: that's the form this command's pre-approved scripts match, so they run without a prompt. Any other form, or a path with a space in it (quote it), still works and asks first. If that path starts with `$` (installed with npx, not as the plugin), `<skill-dir>` is the folder that holds the skill's SKILL.md, and each script asks first.
|
|
15
|
+
|
|
5
16
|
Use the **seo-supervisor** skill in **fix** mode for this project.
|
|
6
17
|
|
|
7
18
|
- If `seo-audit/seo-audit.json` doesn't exist yet, run the audit first, show the results, and ask which findings to fix before changing anything.
|
|
8
19
|
- Otherwise fix these findings: $ARGUMENTS. If none are named, fix all open findings, most serious first.
|
|
9
20
|
- Follow the skill's fix rules:
|
|
10
21
|
- Fix the cause in the shared place.
|
|
11
|
-
-
|
|
12
|
-
|
|
22
|
+
- **Ask first, and wait for the owner's go-ahead in this conversation, before:**
|
|
23
|
+
- editing or publishing content in a CMS or content database
|
|
24
|
+
- removing, merging, holding, unpublishing or noindexing pages
|
|
25
|
+
- changing a live URL (it needs a redirect plan)
|
|
26
|
+
- touching robots or noindex in production
|
|
27
|
+
- setting AI crawler policy (which AI bots robots.txt lets in)
|
|
28
|
+
- anything under "Decisions needed"
|
|
29
|
+
|
|
30
|
+
Without an answer, leave the finding open as **Needs you**, and say what fixing it unlocks. Never get around it with a code change that has the same effect.
|
|
13
31
|
- Re-check every fix, then update and re-render the same report.
|
|
32
|
+
- At the end, offer GitHub issues for what's still open (`issues.mjs`, a dry run first).
|
|
33
|
+
|
|
34
|
+
For building SEO the site doesn't have yet, use `/seo-setup`. For rewriting a page's wording, use `/seo-rewrite`. For finding new problems, use `/seo-audit`.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Plan how to get more visitors from search, from the site's own data. Answers: how do I get more visitors?, what should I work on next?, which searches am I almost winning? For whether a past change helped, use /seo-watch; for one page's brief, use /seo-brief."
|
|
3
|
+
argument-hint: "[goal, page or audience]"
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- Bash(node ${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/update-check.mjs)
|
|
6
|
+
- Bash(node ${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/gsc-import.mjs *)
|
|
7
|
+
- Bash(node ${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/google.mjs fetch *)
|
|
8
|
+
- Bash(node ${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/keyword-ideas.mjs *)
|
|
9
|
+
- Bash(node ${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/change-check.mjs *)
|
|
10
|
+
---
|
|
11
|
+
**Script paths:** here `<skill-dir>` is `${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor`. Run each script by that path exactly as written, with no `cd` first, for example `node ${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/update-check.mjs`: that's the form this command's pre-approved scripts match, so they run without a prompt. Any other form, or a path with a space in it (quote it), still works and asks first. If that path starts with `$` (installed with npx, not as the plugin), `<skill-dir>` is the folder that holds the skill's SKILL.md, and each script asks first.
|
|
12
|
+
|
|
13
|
+
Use the **seo-supervisor** skill in **grow** mode for this project. Follow `grow.md` exactly, stage by stage.
|
|
14
|
+
|
|
15
|
+
- **Read-only.** Grow mode's own output is `seo-audit/grow-plan.md`. The steps it runs with the owner's OK, such as `keyword-ideas.mjs`, `change-check.mjs` and the audience check, write their usual files in `seo-audit/`. Never edit the project's code, content or config.
|
|
16
|
+
- **Real data only.** Every item gives its evidence: the file, the numbers and their period. When a stage's data is missing, say what's missing and how to get it, and carry on without it. Never guess.
|
|
17
|
+
- **The owner decides.** Only phrases the owner picks become targets. Nothing is built in grow mode: each item names who does it and the mode that does it (brief, rewrite or fix), and starts only with the owner's yes.
|
|
18
|
+
- **Considered, not recommended:** the plan lists the ideas you looked at and left out, each with what you found and the reason, so they aren't suggested again.
|
|
19
|
+
- **Never** invent search volumes, rankings, audiences or traffic forecasts, and never suggest buying or disavowing links as a way to grow.
|
|
20
|
+
- **An earlier plan:** if `seo-audit/grow-plan.md` exists, continue from it. Once its "check again after" date has passed, start with the check (Stage 6): with Google connected, `change-check.mjs` compares the changed pages with similar unchanged ones.
|
|
21
|
+
|
|
22
|
+
Finish with the plan's path, the top three items and who does each, the data still missing, and the check-again date.
|
|
23
|
+
|
|
24
|
+
For whether one change helped, use `/seo-watch`. For a brief for one page, use `/seo-brief`.
|
|
25
|
+
|
|
26
|
+
Focus from the user (may be empty): $ARGUMENTS
|
package/commands/seo-launch.md
CHANGED
|
@@ -1,7 +1,21 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: Pre-launch SEO gate: pass or fail, plus the launch-day steps
|
|
3
|
-
argument-hint: "[staging or production URL]"
|
|
2
|
+
description: "Pre-launch SEO gate: pass or fail, plus the launch-day steps. Answers: is it safe to switch indexing on?, are we ready to go live?, will our site move or URL change lose traffic? For checking each deploy after launch, use /seo-watch."
|
|
3
|
+
argument-hint: "[staging or production URL, or the old site's URL list]"
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- Bash(node ${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/update-check.mjs)
|
|
6
|
+
- Bash(node ${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/seo-crawl.mjs *)
|
|
7
|
+
- Bash(node ${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/seo-diff.mjs *)
|
|
8
|
+
- Bash(node ${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/render-report.mjs *)
|
|
9
|
+
- Bash(node ${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/deploy-check.mjs *)
|
|
4
10
|
---
|
|
11
|
+
**Script paths:** here `<skill-dir>` is `${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor`. Run each script by that path exactly as written, with no `cd` first, for example `node ${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/update-check.mjs`: that's the form this command's pre-approved scripts match, so they run without a prompt. Any other form, or a path with a space in it (quote it), still works and asks first. If that path starts with `$` (installed with npx, not as the plugin), `<skill-dir>` is the folder that holds the skill's SKILL.md, and each script asks first.
|
|
12
|
+
|
|
5
13
|
Use the **seo-supervisor** skill in **launch** mode for this project (site or URL, may be empty: $ARGUMENTS).
|
|
6
14
|
|
|
7
|
-
Run the audit, then give a clear **PASS** or **FAIL**. It passes only with zero open blockers and zero open high findings in the CRAWL, URL, REND and
|
|
15
|
+
Run the audit, with `--check-live` once the production origin answers, then give a clear **PASS** or **FAIL**. It passes only with zero open blockers and zero open high findings in the CRAWL, URL, REND, MAP and TRUST-07 rules; a certificate blocker always fails. List what blocks launch, then the launch-day steps from `rules/launch-monitoring.md`. Don't edit anything.
|
|
16
|
+
|
|
17
|
+
- **A site move or URL change** (new domain, new URL scheme, a redesign): ask for the old site's URLs, one per line, and crawl with `--urls old-urls.txt` (or `--next-manifest .next/routes-manifest.json`). Each old URL must 301 in one hop to its closest new page: list the dead ends, the chains, and the old URLs that all land on one page (often the home page), which lose what they ranked for. For a new domain, add Change of Address in Search Console to the launch-day steps (LAUNCH-01). After the move, offer the known-backlinks check (`backlinks.mjs`, a dry run first).
|
|
18
|
+
- **IndexNow** goes in the launch-day steps: once the site is live, fix mode (`/seo-fix`) writes the key file with the owner's yes, the owner deploys, and `indexnow.mjs submit --site <origin> --key <key> --from-sitemap <origin>/sitemap.xml` (a dry run; `--yes` sends) tells Bing and the others about every page.
|
|
19
|
+
- **After launch:** suggest `deploy-check.mjs --site <origin>` (or `npx seo-supervisor deploy-check --site <origin>`) as a CI step after each deploy. It takes about ten seconds and fails on a blocker.
|
|
20
|
+
|
|
21
|
+
For checking each deploy or what changed after launch, use `/seo-watch`. For fixing what blocks launch, use `/seo-fix`.
|
package/commands/seo-review.md
CHANGED
|
@@ -1,7 +1,19 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: Review current changes or a PR for SEO problems
|
|
2
|
+
description: "Review current changes or a PR for SEO problems. Answers: will this change hurt my SEO?, did this PR break a canonical, noindex, title or schema? For the whole site, use /seo-audit."
|
|
3
3
|
argument-hint: "[PR number, branch or files]"
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- Bash(node ${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/update-check.mjs)
|
|
6
|
+
- Bash(node ${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/seo-crawl.mjs *)
|
|
7
|
+
- Bash(node ${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/seo-diff.mjs *)
|
|
8
|
+
- Bash(node ${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/schema-check.mjs *)
|
|
4
9
|
---
|
|
10
|
+
**Script paths:** here `<skill-dir>` is `${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor`. Run each script by that path exactly as written, with no `cd` first, for example `node ${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/update-check.mjs`: that's the form this command's pre-approved scripts match, so they run without a prompt. Any other form, or a path with a space in it (quote it), still works and asks first. If that path starts with `$` (installed with npx, not as the plugin), `<skill-dir>` is the folder that holds the skill's SKILL.md, and each script asks first.
|
|
11
|
+
|
|
5
12
|
Use the **seo-supervisor** skill in **review** mode. Review: $ARGUMENTS. If nothing is named, review the uncommitted changes plus the current branch's changes against its base branch.
|
|
6
13
|
|
|
14
|
+
- **Before and after:** if the site runs, crawl the changed pages with `--out seo-audit/review-crawl.json`, so the branch's crawl stays out of the history. When there's an earlier crawl (a committed one, or the newest in `seo-audit/history/`), compare it with the branch's: `seo-diff.mjs <earlier crawl> seo-audit/review-crawl.json --out seo-audit/review-diff.json`, and include its regressions.
|
|
15
|
+
- **Structured data:** when the change touches JSON-LD or a template that builds it, run `schema-check.mjs` on the built page or the running server's URL, and report its errors.
|
|
16
|
+
|
|
7
17
|
Report only SEO regressions and new problems those changes introduce, with file:line evidence and how to fix each. Don't edit anything.
|
|
18
|
+
|
|
19
|
+
For the whole site, use `/seo-audit`. For fixing what this finds, use `/seo-fix`.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Rewrite a page's text in plain words, with your yes before anything changes. Answers: can you make this page easier to read?, fix what the writing notes flagged? For planning a new page, use /seo-brief."
|
|
3
|
+
argument-hint: '[page, file, or "writing notes"]'
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- Bash(node ${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/update-check.mjs)
|
|
7
|
+
- Bash(node ${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/seo-crawl.mjs *)
|
|
8
|
+
---
|
|
9
|
+
**Script paths:** here `<skill-dir>` is `${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor`. Run each script by that path exactly as written, with no `cd` first, for example `node ${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/update-check.mjs`: that's the form this command's pre-approved scripts match, so they run without a prompt. Any other form, or a path with a space in it (quote it), still works and asks first. If that path starts with `$` (installed with npx, not as the plugin), `<skill-dir>` is the folder that holds the skill's SKILL.md, and each script asks first.
|
|
10
|
+
|
|
11
|
+
Use the **seo-supervisor** skill in **rewrite** mode for: $ARGUMENTS
|
|
12
|
+
|
|
13
|
+
Follow `rewrite.md` exactly.
|
|
14
|
+
|
|
15
|
+
- **Which text:** the page or file named, or "writing notes": the pages the last crawl's writing notes list (`writingNotes` in `seo-audit/seo-crawl.json`). If nothing is named, ask which.
|
|
16
|
+
- **You rewrite it yourself.** No API, and no script edits the text.
|
|
17
|
+
- **Change:** long sentences and paragraphs, stock phrases, jargon, filler and needless passive voice.
|
|
18
|
+
- **Never change:** facts, numbers, prices, dates, names, brand or product terms, what a claim means, legal text, quotes, testimonials, code, URLs or links.
|
|
19
|
+
- **Target phrases** (the profile's and the page's top Search Console queries) stay in the title, the H1 and the opening paragraph.
|
|
20
|
+
- **Nothing changes without the owner's yes.** Show before → after for each paragraph first. Content in a CMS follows fix steps 3–4: drafts, and publish only when the owner says so.
|
|
21
|
+
- **Other languages:** only with the owner's yes, as the writing notes are English-only.
|
|
22
|
+
|
|
23
|
+
Finish with a re-crawl: the writing notes should drop. List what changed, and what still waits for the owner.
|
|
24
|
+
|
|
25
|
+
For planning a new page, use `/seo-brief`. For titles and descriptions that code builds, use `/seo-fix`.
|
package/commands/seo-setup.md
CHANGED
|
@@ -1,7 +1,20 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: "Set up SEO from scratch: propose a plan, build it after approval"
|
|
2
|
+
description: "Set up SEO from scratch: propose a plan, build it after approval. Answers: my site has no SEO, where do I start?, can you plan and build the SEO basics? For fixing findings on a site that has SEO, use /seo-fix."
|
|
3
3
|
argument-hint: "[url or notes]"
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- Bash(node ${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/update-check.mjs)
|
|
7
|
+
- Bash(node ${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/doctor.mjs *)
|
|
8
|
+
- Bash(node ${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/seo-crawl.mjs *)
|
|
9
|
+
- Bash(node ${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/seo-diff.mjs *)
|
|
10
|
+
- Bash(node ${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/content-scan.mjs *)
|
|
11
|
+
- Bash(node ${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/gsc-import.mjs *)
|
|
12
|
+
- Bash(node ${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/keyword-ideas.mjs *)
|
|
13
|
+
- Bash(node ${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/schema-check.mjs *)
|
|
14
|
+
- Bash(node ${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/render-report.mjs *)
|
|
4
15
|
---
|
|
16
|
+
**Script paths:** here `<skill-dir>` is `${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor`. Run each script by that path exactly as written, with no `cd` first, for example `node ${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/update-check.mjs`: that's the form this command's pre-approved scripts match, so they run without a prompt. Any other form, or a path with a space in it (quote it), still works and asks first. If that path starts with `$` (installed with npx, not as the plugin), `<skill-dir>` is the folder that holds the skill's SKILL.md, and each script asks first.
|
|
17
|
+
|
|
5
18
|
Use the **seo-supervisor** skill in **setup** mode for this project. Follow its SKILL.md and `planning.md` exactly.
|
|
6
19
|
|
|
7
20
|
- **No plan in `seo-audit/seo-audit.json` yet:**
|
|
@@ -11,9 +24,12 @@ Use the **seo-supervisor** skill in **setup** mode for this project. Follow its
|
|
|
11
24
|
|
|
12
25
|
Change nothing outside `seo-audit/` before that.
|
|
13
26
|
- **A plan already exists:** continue from its status, as `planning.md` describes. A proposed plan goes to approval. An approved plan gets built, and then setup fixes the audit's other code findings listed in the plan. A built plan gets the pages whose drafts the owner approved.
|
|
27
|
+
- **Setup and fix:** Setup builds what's missing; fix mode fixes findings. The code findings in `plan.alsoFixes` are handed to fix mode (SKILL.md step 5) with its rules; setup doesn't fix them its own way, and doesn't take on findings the plan doesn't list.
|
|
14
28
|
- **Never:**
|
|
15
29
|
- invent facts, prices, reviews or search volumes
|
|
16
30
|
- switch indexing on
|
|
17
31
|
- edit CMS content, or remove, hide or noindex pages, without the owner's go-ahead
|
|
18
32
|
|
|
33
|
+
For fixing findings on a site that already has SEO, use `/seo-fix`. For one page's brief, use `/seo-brief`.
|
|
34
|
+
|
|
19
35
|
Extra details from the user (may be empty): $ARGUMENTS
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "What changed since the last audit, and did it help? Answers: what changed on my pages?, did my change help?, did a Google update hit my site?, how are all my sites doing? Read-only; files go to seo-audit/watch/. For the full report, use /seo-audit; for what to do next, use /seo-grow."
|
|
3
|
+
argument-hint: "[change date YYYY-MM-DD, pages, or folders for several sites]"
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- Bash(node ${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/update-check.mjs)
|
|
6
|
+
- Bash(node ${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/seo-crawl.mjs *)
|
|
7
|
+
- Bash(node ${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/seo-diff.mjs *)
|
|
8
|
+
- Bash(node ${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/change-check.mjs *)
|
|
9
|
+
- Bash(node ${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/dashboard.mjs *)
|
|
10
|
+
- Bash(node ${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/deploy-check.mjs *)
|
|
11
|
+
---
|
|
12
|
+
**Script paths:** here `<skill-dir>` is `${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor`. Run each script by that path exactly as written, with no `cd` first, for example `node ${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/update-check.mjs`: that's the form this command's pre-approved scripts match, so they run without a prompt. Any other form, or a path with a space in it (quote it), still works and asks first. If that path starts with `$` (installed with npx, not as the plugin), `<skill-dir>` is the folder that holds the skill's SKILL.md, and each script asks first.
|
|
13
|
+
|
|
14
|
+
Use the **seo-supervisor** skill in **watch** mode for this project. Follow SKILL.md's Watch mode.
|
|
15
|
+
|
|
16
|
+
- **Read-only.** Change no source, content or config.
|
|
17
|
+
- **Never replace the audit's files.** Everything this command writes goes to `seo-audit/watch/`. Leave `seo-audit/seo-crawl.json`, `seo-audit/seo-diff.json`, `seo-audit/history/` and the report as they are.
|
|
18
|
+
- **What changed:** crawl the site with `seo-crawl.mjs --url <site> --out seo-audit/watch/seo-crawl.json` (the same `--site-origin` and options as the last audit, without `--outside`). Then compare it with the last audit's crawl: `seo-diff.mjs seo-audit/seo-crawl.json seo-audit/watch/seo-crawl.json --out seo-audit/watch/seo-diff.json`. With no earlier audit, say so and offer `/seo-audit` instead.
|
|
19
|
+
- **Did my change help?** With Google connected and a change date: `change-check.mjs --site <live origin> --date <YYYY-MM-DD> --pages <file>` (or `--from-diff seo-audit/watch/seo-diff.json`) `--out seo-audit/watch/change-check.json`. Say "likely up", "likely down" or "inconclusive" with its range, and what changed in the numbers, never why. If the days after the change aren't final yet, give the date to look again and stop. Without Google connected, offer `/seo-connect`.
|
|
20
|
+
- **Did a Google update hit the site?** Only with `updates` in `outsideChecks.approved` (otherwise ask once): `google-updates.mjs --since <the last audit's crawledAt> --out seo-audit/watch/google-updates.json --yes`. List the updates by date. Never say an update caused a change.
|
|
21
|
+
- **Several sites:** `dashboard.mjs <folder> <folder> --out seo-audit/watch/dashboard.html` reads the audits already on this machine and sends nothing.
|
|
22
|
+
- **Every deploy:** offer `deploy-check.mjs --site <origin>` (or `npx seo-supervisor deploy-check --site <origin>`) as a CI step, and regular crawls from `examples/scheduled-runs.md`. Set either up only on the owner's yes.
|
|
23
|
+
|
|
24
|
+
Answer in chat: what changed (regressions first), the change check's verdict, any Google update in the period, and the paths in `seo-audit/watch/`. Then offer a full audit (`/seo-audit`) to refresh the report.
|
|
25
|
+
|
|
26
|
+
For a full audit and report, use `/seo-audit`. For what to do next, use `/seo-grow`. For going live or a site move, use `/seo-launch`.
|
|
27
|
+
|
|
28
|
+
Details from the user (may be empty): $ARGUMENTS
|
package/hooks/hooks.json
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "SEO Supervisor: asks the owner before risky SEO actions, stops API keys pasted in chat, checks structured data after edits, and suggests /seo-review when SEO files changed.",
|
|
3
|
+
"hooks": {
|
|
4
|
+
"UserPromptSubmit": [
|
|
5
|
+
{ "hooks": [
|
|
6
|
+
{ "type": "command", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 }
|
|
7
|
+
] }
|
|
8
|
+
],
|
|
9
|
+
"PreToolUse": [
|
|
10
|
+
{ "matcher": "Bash|PowerShell", "hooks": [
|
|
11
|
+
{ "type": "command", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 }
|
|
12
|
+
] },
|
|
13
|
+
{ "matcher": "Edit|Write|MultiEdit", "hooks": [
|
|
14
|
+
{ "type": "command", "if": "Edit(**/*.html)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
15
|
+
{ "type": "command", "if": "Edit(**/*.htm)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
16
|
+
{ "type": "command", "if": "Edit(**/*.php)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
17
|
+
{ "type": "command", "if": "Edit(**/*.erb)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
18
|
+
{ "type": "command", "if": "Edit(**/*.liquid)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
19
|
+
{ "type": "command", "if": "Edit(**/*.njk)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
20
|
+
{ "type": "command", "if": "Edit(**/*.hbs)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
21
|
+
{ "type": "command", "if": "Edit(**/*.vue)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
22
|
+
{ "type": "command", "if": "Edit(**/*.svelte)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
23
|
+
{ "type": "command", "if": "Edit(**/*.astro)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
24
|
+
{ "type": "command", "if": "Edit(**/*.jsx)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
25
|
+
{ "type": "command", "if": "Edit(**/*.tsx)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
26
|
+
{ "type": "command", "if": "Edit(**/*.js)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
27
|
+
{ "type": "command", "if": "Edit(**/*.mjs)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
28
|
+
{ "type": "command", "if": "Edit(**/*.cjs)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
29
|
+
{ "type": "command", "if": "Edit(**/*.ts)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
30
|
+
{ "type": "command", "if": "Edit(**/*.mts)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
31
|
+
{ "type": "command", "if": "Edit(**/*.md)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
32
|
+
{ "type": "command", "if": "Edit(**/*.mdx)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
33
|
+
{ "type": "command", "if": "Edit(**/*.markdown)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
34
|
+
{ "type": "command", "if": "Edit(**/*.ejs)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
35
|
+
{ "type": "command", "if": "Edit(**/*.twig)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
36
|
+
{ "type": "command", "if": "Edit(**/*.pug)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
37
|
+
{ "type": "command", "if": "Edit(**/*.jinja)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
38
|
+
{ "type": "command", "if": "Edit(**/*.j2)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
39
|
+
{ "type": "command", "if": "Edit(**/*.cshtml)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
40
|
+
{ "type": "command", "if": "Edit(**/*.tmpl)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
41
|
+
{ "type": "command", "if": "Edit(**/robots.txt)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
42
|
+
{ "type": "command", "if": "Edit(**/sitemap*.xml)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
43
|
+
{ "type": "command", "if": "Edit(**/_redirects)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
44
|
+
{ "type": "command", "if": "Edit(**/_headers)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
45
|
+
{ "type": "command", "if": "Edit(**/.htaccess)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
46
|
+
{ "type": "command", "if": "Edit(**/vercel.json)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
47
|
+
{ "type": "command", "if": "Edit(**/netlify.toml)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
48
|
+
{ "type": "command", "if": "Edit(**/firebase.json)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
49
|
+
{ "type": "command", "if": "Edit(**/staticwebapp.config.json)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
50
|
+
{ "type": "command", "if": "Edit(**/web.config)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
51
|
+
{ "type": "command", "if": "Edit(**/Caddyfile)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
52
|
+
{ "type": "command", "if": "Edit(**/*.conf)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
53
|
+
{ "type": "command", "if": "Edit(**/routes.rb)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
54
|
+
{ "type": "command", "if": "Edit(**/urls.py)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
55
|
+
{ "type": "command", "if": "Edit(**/seo-audit/settings.json)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 }
|
|
56
|
+
] }
|
|
57
|
+
],
|
|
58
|
+
"PostToolUse": [
|
|
59
|
+
{ "matcher": "Edit|Write|MultiEdit", "hooks": [
|
|
60
|
+
{ "type": "command", "if": "Edit(**/*.html)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/schema-check.mjs", "--hook"], "timeout": 30 },
|
|
61
|
+
{ "type": "command", "if": "Edit(**/*.htm)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/schema-check.mjs", "--hook"], "timeout": 30 },
|
|
62
|
+
{ "type": "command", "if": "Edit(**/*.jsonld)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/schema-check.mjs", "--hook"], "timeout": 30 },
|
|
63
|
+
{ "type": "command", "if": "Edit(**/*.json)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/schema-check.mjs", "--hook"], "timeout": 30 },
|
|
64
|
+
{ "type": "command", "if": "Edit(**/*.html)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
65
|
+
{ "type": "command", "if": "Edit(**/*.htm)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
66
|
+
{ "type": "command", "if": "Edit(**/*.php)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
67
|
+
{ "type": "command", "if": "Edit(**/*.erb)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
68
|
+
{ "type": "command", "if": "Edit(**/*.liquid)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
69
|
+
{ "type": "command", "if": "Edit(**/*.njk)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
70
|
+
{ "type": "command", "if": "Edit(**/*.hbs)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
71
|
+
{ "type": "command", "if": "Edit(**/*.vue)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
72
|
+
{ "type": "command", "if": "Edit(**/*.svelte)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
73
|
+
{ "type": "command", "if": "Edit(**/*.astro)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
74
|
+
{ "type": "command", "if": "Edit(**/*.jsx)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
75
|
+
{ "type": "command", "if": "Edit(**/*.tsx)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
76
|
+
{ "type": "command", "if": "Edit(**/*.js)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
77
|
+
{ "type": "command", "if": "Edit(**/*.mjs)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
78
|
+
{ "type": "command", "if": "Edit(**/*.cjs)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
79
|
+
{ "type": "command", "if": "Edit(**/*.ts)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
80
|
+
{ "type": "command", "if": "Edit(**/*.mts)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
81
|
+
{ "type": "command", "if": "Edit(**/*.md)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
82
|
+
{ "type": "command", "if": "Edit(**/*.mdx)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
83
|
+
{ "type": "command", "if": "Edit(**/*.markdown)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
84
|
+
{ "type": "command", "if": "Edit(**/*.ejs)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
85
|
+
{ "type": "command", "if": "Edit(**/*.twig)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
86
|
+
{ "type": "command", "if": "Edit(**/*.pug)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
87
|
+
{ "type": "command", "if": "Edit(**/*.jinja)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
88
|
+
{ "type": "command", "if": "Edit(**/*.j2)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
89
|
+
{ "type": "command", "if": "Edit(**/*.cshtml)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
90
|
+
{ "type": "command", "if": "Edit(**/*.tmpl)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
91
|
+
{ "type": "command", "if": "Edit(**/robots.txt)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
92
|
+
{ "type": "command", "if": "Edit(**/sitemap*.xml)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
93
|
+
{ "type": "command", "if": "Edit(**/_redirects)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
94
|
+
{ "type": "command", "if": "Edit(**/_headers)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
95
|
+
{ "type": "command", "if": "Edit(**/.htaccess)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
96
|
+
{ "type": "command", "if": "Edit(**/vercel.json)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
97
|
+
{ "type": "command", "if": "Edit(**/netlify.toml)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
98
|
+
{ "type": "command", "if": "Edit(**/firebase.json)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
99
|
+
{ "type": "command", "if": "Edit(**/staticwebapp.config.json)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
100
|
+
{ "type": "command", "if": "Edit(**/web.config)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
101
|
+
{ "type": "command", "if": "Edit(**/Caddyfile)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
102
|
+
{ "type": "command", "if": "Edit(**/*.conf)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
103
|
+
{ "type": "command", "if": "Edit(**/routes.rb)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
104
|
+
{ "type": "command", "if": "Edit(**/urls.py)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 },
|
|
105
|
+
{ "type": "command", "if": "Edit(**/seo-audit/settings.json)", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 }
|
|
106
|
+
] },
|
|
107
|
+
{ "matcher": "Agent|Skill", "hooks": [
|
|
108
|
+
{ "type": "command", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 }
|
|
109
|
+
] }
|
|
110
|
+
],
|
|
111
|
+
"Stop": [
|
|
112
|
+
{ "hooks": [
|
|
113
|
+
{ "type": "command", "command": "node", "args": ["${CLAUDE_PLUGIN_ROOT}/skills/seo-supervisor/scripts/guard.mjs", "--agent", "claude-code"], "timeout": 10 }
|
|
114
|
+
] }
|
|
115
|
+
]
|
|
116
|
+
}
|
|
117
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "seo-supervisor",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "SEO audit, safe fixes, PR review
|
|
3
|
+
"version": "2.0.0",
|
|
4
|
+
"description": "SEO for AI coding agents: audit, safe fixes, PR review, a launch gate, setup from scratch, content briefs, plain-words rewrites, growth plans, watching what changed, and connecting your data. Crawls any site, scores it 0-100 and writes a polished offline report.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
7
|
"seo-supervisor": "bin/seo-supervisor.mjs"
|
|
@@ -10,15 +10,23 @@
|
|
|
10
10
|
"bin/",
|
|
11
11
|
"skills/",
|
|
12
12
|
"commands/",
|
|
13
|
+
"hooks/",
|
|
14
|
+
"agents/",
|
|
13
15
|
".claude-plugin/",
|
|
14
|
-
"CHANGELOG.md"
|
|
16
|
+
"CHANGELOG.md",
|
|
17
|
+
"NOTICE"
|
|
15
18
|
],
|
|
16
19
|
"scripts": {
|
|
17
|
-
"test": "node --test test/*.test.mjs",
|
|
18
|
-
"
|
|
20
|
+
"test": "node --import ./test/offline.mjs --test --test-timeout=120000 --test-force-exit test/*.test.mjs",
|
|
21
|
+
"test:slow": "node test/run-slow.mjs",
|
|
22
|
+
"test:browser": "node --test --test-concurrency=1 --test-timeout=120000 --test-force-exit test/browser/*.test.mjs",
|
|
23
|
+
"demo": "node skills/seo-supervisor/scripts/render-report.mjs skills/seo-supervisor/examples/sample-audit.json --out docs/index.html --no-md && node skills/seo-supervisor/scripts/render-report.mjs skills/seo-supervisor/examples/sample-audit.json --out skills/seo-supervisor/examples/sample-report.html && node -e \"require('node:fs').cpSync('skills/seo-supervisor/examples/drafts', 'docs/drafts', { recursive: true })\"",
|
|
24
|
+
"typecheck": "tsc -p tsconfig.json",
|
|
25
|
+
"format": "prettier --write \"{bin,skills,test,assets}/**/*.{mjs,js}\"",
|
|
26
|
+
"format:check": "prettier --check \"{bin,skills,test,assets}/**/*.{mjs,js}\""
|
|
19
27
|
},
|
|
20
28
|
"engines": {
|
|
21
|
-
"node": ">=
|
|
29
|
+
"node": ">=22"
|
|
22
30
|
},
|
|
23
31
|
"keywords": [
|
|
24
32
|
"seo",
|
|
@@ -43,5 +51,10 @@
|
|
|
43
51
|
"url": "https://github.com/m-zaman-khan/seo-supervisor/issues"
|
|
44
52
|
},
|
|
45
53
|
"author": "Zaman Khan",
|
|
46
|
-
"license": "MIT"
|
|
54
|
+
"license": "MIT",
|
|
55
|
+
"devDependencies": {
|
|
56
|
+
"@types/node": "22.20.5",
|
|
57
|
+
"prettier": "3.10.1",
|
|
58
|
+
"typescript": "6.0.3"
|
|
59
|
+
}
|
|
47
60
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
SEO Supervisor
|
|
2
|
+
Copyright (c) 2026 Zaman Khan. MIT License (see LICENSE).
|
|
3
|
+
|
|
4
|
+
The structured data checker's vocabulary (skills/seo-supervisor/scripts/data/schema-vocab.json) is derived
|
|
5
|
+
from the Schema.org vocabulary, version 30.1 (https://schema.org), reduced to type, parent, domain and range
|
|
6
|
+
names. Schema.org is licensed under the Creative Commons Attribution-ShareAlike 3.0 licence
|
|
7
|
+
(CC BY-SA 3.0, https://creativecommons.org/licenses/by-sa/3.0/). schema-vocab.json is shared under the same licence.
|