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
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "Report a Vulnerability | Example Security"
|
|
3
|
+
description: "Found a security problem in an Example Security service? How to report it safely, what we do with your report, and what's in scope."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Report a vulnerability
|
|
7
|
+
|
|
8
|
+
> **Draft** (sample data): approve the policy and add the security contact before this page goes live.
|
|
9
|
+
|
|
10
|
+
If you think you've found a security problem in one of our services, please tell us privately first. We'll work with you to understand it and fix it.
|
|
11
|
+
|
|
12
|
+
## How to report it
|
|
13
|
+
|
|
14
|
+
Email **[security contact — the owner adds this]** with:
|
|
15
|
+
|
|
16
|
+
- the service and the address where you found the problem;
|
|
17
|
+
- the steps to reproduce it;
|
|
18
|
+
- what you think an attacker could do with it.
|
|
19
|
+
|
|
20
|
+
Please don't open a public issue or post about it until we've fixed it.
|
|
21
|
+
|
|
22
|
+
## What we do with your report
|
|
23
|
+
|
|
24
|
+
- We confirm we've received it within 3 working days.
|
|
25
|
+
- We tell you whether we can reproduce it, and keep you updated until it's fixed.
|
|
26
|
+
- With your permission, we thank you by name once the fix is live.
|
|
27
|
+
|
|
28
|
+
## In scope
|
|
29
|
+
|
|
30
|
+
- example-security.example and its subdomains
|
|
31
|
+
- the Example Security API
|
|
32
|
+
|
|
33
|
+
## Out of scope
|
|
34
|
+
|
|
35
|
+
- reports from automated scanners without a working example;
|
|
36
|
+
- missing security headers that have no practical impact;
|
|
37
|
+
- denial of service and social engineering.
|
|
38
|
+
|
|
39
|
+
## Safe harbour
|
|
40
|
+
|
|
41
|
+
We won't take legal action against you for research done in good faith within this policy: don't access more data than you need to show the problem, don't change or delete data, and give us reasonable time to fix it before you share details.
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Structured data triggers (opt-in)
|
|
2
|
+
|
|
3
|
+
These run `scripts/schema-check.mjs` for you: after an agent edits a page, before a commit, or in CI. Nothing is installed by default. Copy the ones you want.
|
|
4
|
+
|
|
5
|
+
The Claude Code plugin already runs this check after each edit (its `hooks/hooks.json`), next to the guard, so plugin users need none of these for Claude Code. `claude-code-settings.json` is for a Claude Code install without the plugin.
|
|
6
|
+
|
|
7
|
+
Each one stays silent when the JSON-LD passes and only looks at `.html`, `.htm`, `.jsonld` and `.json` files that contain JSON-LD. Errors are unknown types or properties, wrong value shapes and missing Google-required properties. Warnings are never shown here; run the checker by hand to see them.
|
|
8
|
+
|
|
9
|
+
The paths assume a project install (`npx seo-supervisor --scope project`): `.claude/skills/seo-supervisor/` for Claude Code, `.agents/skills/seo-supervisor/` for the other agents. For a user install, point them at the copy in your home folder. The pre-commit hook and CI only see a project install that's committed.
|
|
10
|
+
|
|
11
|
+
Agent hooks only see the files the agent edits. A framework page (`.tsx`, `.vue`, `.astro`, `.erb`) builds its JSON-LD at runtime, so it can't be checked from source. Neither can a template `.html` file (Hugo, Jekyll, Django/Jinja, Eleventy, Liquid, ERB) whose JSON-LD holds template tags (`{{`, `{%`, `{#`, `<%`): the checker reports that block as a note, "templated; check the built output", and never fails on it. Check the built output instead, with the CI step or `node schema-check.mjs out/`, or check the running dev server: `node schema-check.mjs http://localhost:3000/`.
|
|
12
|
+
|
|
13
|
+
Hook formats checked against each vendor's docs on 19 Nov 2026, and Codex's and Copilot's again on 23 Nov 2026.
|
|
14
|
+
|
|
15
|
+
| File | Where it goes | What happens on errors |
|
|
16
|
+
| --- | --- | --- |
|
|
17
|
+
| `claude-code-settings.json` | Merge into `.claude/settings.json` ([hooks](https://code.claude.com/docs/en/hooks)). | `PostToolUse` on Edit, Write and MultiEdit; exit 2 sends the errors to Claude. |
|
|
18
|
+
| `codex-hooks.json` | `.codex/hooks.json` ([hooks](https://learn.chatgpt.com/docs/hooks)), then trust it in `/hooks`. Its `commandWindows` line replaces `command` on Windows, where Codex runs hooks through cmd; it finds the skill from the folder Codex starts in, with no git. | `PostToolUse` on `apply_patch`; exit 2 sends the errors to Codex. |
|
|
19
|
+
| `cursor-hooks.json` | `.cursor/hooks.json` ([hooks](https://cursor.com/docs/hooks)). | `postToolUse` on `Write`; the errors go back to the agent as `additional_context`. |
|
|
20
|
+
| `copilot-hooks.json` | `.github/hooks/schema-check.json` ([CLI hooks reference](https://docs.github.com/en/copilot/reference/copilot-cli-reference/cli-hooks-reference)). Its `"cwd": "."` runs it from the repository root, so the relative path works when Copilot starts in a subfolder. | `postToolUse` on `edit`, `create`, `str_replace_editor` and `apply_patch`; the errors go back to Copilot as `additionalContext`. |
|
|
21
|
+
| `pre-commit` | `.git/hooks/pre-commit`, then `chmod +x` it. POSIX sh. | Lists the errors and stops the commit. It checks the files as they are on disk. |
|
|
22
|
+
| `github-actions.yml` | `.github/workflows/structured-data.yml`. Set your build command and output folder. | Fails the job. |
|
|
23
|
+
|
|
24
|
+
## Reading ease in CI (opt-in)
|
|
25
|
+
|
|
26
|
+
`reading-ease.yml` goes in `.github/workflows/`. It runs `scripts/checks/writing.mjs` on the built site, lists every English page with its Flesch reading ease (0 to 100, higher is easier), and fails the job when a page scores below the pass mark you pick with `--min` (default 60, where Flesch's 1948 table moves from "standard" to "fairly difficult").
|
|
27
|
+
|
|
28
|
+
It's SEO Supervisor's own check, not Google's, and it never changes the audit score. It reads the page's `<main>` (or the body without header, nav, footer and aside), only its paragraphs, and leaves out code and tables. Pages in other languages, and pages under 100 words, are skipped. Run it by hand the same way: `node scripts/checks/writing.mjs dist --min 60`.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"hooks": {
|
|
3
|
+
"PostToolUse": [
|
|
4
|
+
{
|
|
5
|
+
"matcher": "apply_patch",
|
|
6
|
+
"hooks": [
|
|
7
|
+
{
|
|
8
|
+
"type": "command",
|
|
9
|
+
"command": "node \"$(git rev-parse --show-toplevel)/.agents/skills/seo-supervisor/scripts/schema-check.mjs\" --hook",
|
|
10
|
+
"commandWindows": "node -e \"const p=require('path'),f=require('fs');let d=process.cwd(),g;for(;;d=p.dirname(d)){g=p.join(d,'.agents/skills/seo-supervisor/scripts/schema-check.mjs');if(f.existsSync(g)||p.dirname(d)==d)break}process.exitCode=require('child_process').spawnSync(process.execPath,[g,'--hook'],{stdio:'inherit'}).status??1\"",
|
|
11
|
+
"statusMessage": "Checking structured data"
|
|
12
|
+
}
|
|
13
|
+
]
|
|
14
|
+
}
|
|
15
|
+
]
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"hooks": {
|
|
4
|
+
"postToolUse": [
|
|
5
|
+
{
|
|
6
|
+
"type": "command",
|
|
7
|
+
"matcher": "edit|create|str_replace_editor|apply_patch",
|
|
8
|
+
"bash": "node .agents/skills/seo-supervisor/scripts/schema-check.mjs --hook copilot",
|
|
9
|
+
"powershell": "node .agents/skills/seo-supervisor/scripts/schema-check.mjs --hook copilot",
|
|
10
|
+
"cwd": ".",
|
|
11
|
+
"timeoutSec": 30
|
|
12
|
+
}
|
|
13
|
+
]
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# SEO Supervisor (opt-in): checks the JSON-LD in the built site on every push and pull request.
|
|
2
|
+
# Install: copy to .github/workflows/structured-data.yml, then set your build command and output folder
|
|
3
|
+
# (out/ for a Next.js static export, dist/ for Vite and Astro, build/, _site/ ...). Silent on a pass; fails on errors.
|
|
4
|
+
name: Structured data
|
|
5
|
+
|
|
6
|
+
on:
|
|
7
|
+
push:
|
|
8
|
+
branches: [main]
|
|
9
|
+
pull_request:
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
schema-check:
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
steps:
|
|
15
|
+
- uses: actions/checkout@v4
|
|
16
|
+
- uses: actions/setup-node@v4
|
|
17
|
+
with:
|
|
18
|
+
node-version: 22
|
|
19
|
+
- run: npm ci && npm run build
|
|
20
|
+
- name: Check structured data
|
|
21
|
+
run: node .agents/skills/seo-supervisor/scripts/schema-check.mjs dist --quiet
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
# SEO Supervisor (opt-in): checks the JSON-LD in staged .html, .htm, .json and .jsonld files before each commit.
|
|
3
|
+
# Silent when it passes; lists the errors and stops the commit when it doesn't (git commit --no-verify skips it once).
|
|
4
|
+
# Install: cp pre-commit .git/hooks/pre-commit && chmod +x .git/hooks/pre-commit
|
|
5
|
+
CHECK=.agents/skills/seo-supervisor/scripts/schema-check.mjs
|
|
6
|
+
[ -f "$CHECK" ] || CHECK=.claude/skills/seo-supervisor/scripts/schema-check.mjs
|
|
7
|
+
|
|
8
|
+
# NUL-separated names (-z), so names with spaces or non-ASCII letters arrive unquoted.
|
|
9
|
+
git diff --cached --name-only -z --diff-filter=ACMR -- '*.html' '*.htm' '*.json' '*.jsonld' |
|
|
10
|
+
xargs -0 sh -c 'for f do
|
|
11
|
+
case "$f" in
|
|
12
|
+
*.jsonld) ;;
|
|
13
|
+
*) grep -qs -e "application/ld+json" -e "\"@context\"" -- "$f" || continue ;;
|
|
14
|
+
esac
|
|
15
|
+
printf "%s\0" "$f"
|
|
16
|
+
done' sh |
|
|
17
|
+
xargs -0 sh -c '[ $# -eq 0 ] || exec node "$0" --quiet "$@"' "$CHECK"
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# SEO Supervisor (opt-in): fails the job when an English page in the built site reads harder than your pass mark.
|
|
2
|
+
# Reading ease is Flesch's 1948 formula (0 to 100, higher is easier). This is SEO Supervisor's own check, not Google's,
|
|
3
|
+
# and it never changes the audit score. It lists every page with its score; pages in other languages or under 100 words
|
|
4
|
+
# are skipped. --min sets the pass mark (default 60, where Flesch's table moves from "standard" to "fairly difficult").
|
|
5
|
+
# Install: copy to .github/workflows/reading-ease.yml, then set your build command and output folder
|
|
6
|
+
# (out/ for a Next.js static export, dist/ for Vite and Astro, build/, _site/ ...).
|
|
7
|
+
name: Reading ease
|
|
8
|
+
|
|
9
|
+
on:
|
|
10
|
+
push:
|
|
11
|
+
branches: [main]
|
|
12
|
+
pull_request:
|
|
13
|
+
|
|
14
|
+
jobs:
|
|
15
|
+
reading-ease:
|
|
16
|
+
runs-on: ubuntu-latest
|
|
17
|
+
steps:
|
|
18
|
+
- uses: actions/checkout@v4
|
|
19
|
+
- uses: actions/setup-node@v4
|
|
20
|
+
with:
|
|
21
|
+
node-version: 22
|
|
22
|
+
- run: npm ci && npm run build
|
|
23
|
+
- name: Check reading ease
|
|
24
|
+
run: node .agents/skills/seo-supervisor/scripts/checks/writing.mjs dist --min 60
|
|
@@ -293,7 +293,7 @@
|
|
|
293
293
|
"notChecked": [
|
|
294
294
|
{
|
|
295
295
|
"area": "Core Web Vitals field data",
|
|
296
|
-
"reason": "
|
|
296
|
+
"reason": "The new build isn't live yet, so it has no real-user data. The speed line on the Overview is the current live site's; Lighthouse lab scores for the new build are in notes."
|
|
297
297
|
},
|
|
298
298
|
{
|
|
299
299
|
"area": "CDN/WAF behaviour toward search and AI crawlers",
|
|
@@ -436,5 +436,97 @@
|
|
|
436
436
|
"F-003",
|
|
437
437
|
"F-004"
|
|
438
438
|
]
|
|
439
|
-
}
|
|
439
|
+
},
|
|
440
|
+
"diff": {
|
|
441
|
+
"since": "2026-11-03T09:00:00.000Z",
|
|
442
|
+
"regressions": [
|
|
443
|
+
{
|
|
444
|
+
"path": "/tools/whois-lookup/",
|
|
445
|
+
"kind": "h1-removed",
|
|
446
|
+
"before": 1,
|
|
447
|
+
"after": 0
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"path": "/guides/dns-records/",
|
|
451
|
+
"kind": "status-error",
|
|
452
|
+
"before": 200,
|
|
453
|
+
"after": 500
|
|
454
|
+
}
|
|
455
|
+
],
|
|
456
|
+
"improvements": [
|
|
457
|
+
{
|
|
458
|
+
"path": "/tools/ssl-checker/",
|
|
459
|
+
"kind": "canonical-changed",
|
|
460
|
+
"before": "https://security.example/tools/",
|
|
461
|
+
"after": "https://security.example/tools/ssl-checker/"
|
|
462
|
+
}
|
|
463
|
+
],
|
|
464
|
+
"changed": [],
|
|
465
|
+
"added": [
|
|
466
|
+
"/tools/dmarc-checker/"
|
|
467
|
+
],
|
|
468
|
+
"removed": []
|
|
469
|
+
},
|
|
470
|
+
"speed": {
|
|
471
|
+
"strategy": "mobile",
|
|
472
|
+
"samples": [
|
|
473
|
+
{
|
|
474
|
+
"url": "https://security.example/",
|
|
475
|
+
"field": {
|
|
476
|
+
"lcp": 2300,
|
|
477
|
+
"inp": 170,
|
|
478
|
+
"cls": 0.04
|
|
479
|
+
},
|
|
480
|
+
"origin": {
|
|
481
|
+
"lcp": 2400,
|
|
482
|
+
"inp": 180,
|
|
483
|
+
"cls": 0.05
|
|
484
|
+
},
|
|
485
|
+
"lab": {
|
|
486
|
+
"lcp": 2100,
|
|
487
|
+
"cls": 0.02,
|
|
488
|
+
"tbt": 150
|
|
489
|
+
}
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
"url": "https://security.example/tools/ssl-checker/",
|
|
493
|
+
"field": {
|
|
494
|
+
"lcp": 2450,
|
|
495
|
+
"inp": 190,
|
|
496
|
+
"cls": 0.03
|
|
497
|
+
},
|
|
498
|
+
"origin": {
|
|
499
|
+
"lcp": 2400,
|
|
500
|
+
"inp": 180,
|
|
501
|
+
"cls": 0.05
|
|
502
|
+
},
|
|
503
|
+
"lab": {
|
|
504
|
+
"lcp": 1900,
|
|
505
|
+
"cls": 0.02,
|
|
506
|
+
"tbt": 140
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
]
|
|
510
|
+
},
|
|
511
|
+
"traffic": {
|
|
512
|
+
"/": {
|
|
513
|
+
"clicks": 1840,
|
|
514
|
+
"impressions": 52300,
|
|
515
|
+
"ctr": 0.0352,
|
|
516
|
+
"position": 6.4
|
|
517
|
+
},
|
|
518
|
+
"/tools/ssl-checker/": {
|
|
519
|
+
"clicks": 960,
|
|
520
|
+
"impressions": 31200,
|
|
521
|
+
"ctr": 0.0308,
|
|
522
|
+
"position": 7.9
|
|
523
|
+
},
|
|
524
|
+
"/tools/mx-lookup/": {
|
|
525
|
+
"clicks": 120,
|
|
526
|
+
"impressions": 9800,
|
|
527
|
+
"ctr": 0.0122,
|
|
528
|
+
"position": 14.2
|
|
529
|
+
}
|
|
530
|
+
},
|
|
531
|
+
"trafficPeriod": "Last 3 months"
|
|
440
532
|
}
|