seo-supervisor 0.0.0-stage → 1.2.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/marketplace.json +16 -0
- package/.claude-plugin/plugin.json +14 -0
- package/CHANGELOG.md +31 -0
- package/LICENSE +25 -0
- package/README.md +197 -2
- package/bin/agents.mjs +65 -0
- package/bin/prompt.mjs +76 -0
- package/bin/seo-supervisor.mjs +144 -0
- package/commands/seo-audit.md +7 -0
- package/commands/seo-fix.md +13 -0
- package/commands/seo-launch.md +7 -0
- package/commands/seo-review.md +7 -0
- package/commands/seo-setup.md +19 -0
- package/package.json +45 -4
- package/skills/seo-supervisor/SKILL.md +199 -0
- package/skills/seo-supervisor/examples/sample-audit.json +440 -0
- package/skills/seo-supervisor/examples/sample-report.html +654 -0
- package/skills/seo-supervisor/examples/sample-report.md +257 -0
- package/skills/seo-supervisor/examples/security-tools-profile.md +73 -0
- package/skills/seo-supervisor/examples/snippets.md +134 -0
- package/skills/seo-supervisor/frameworks/nextjs.md +98 -0
- package/skills/seo-supervisor/frameworks/rails.md +34 -0
- package/skills/seo-supervisor/frameworks/spa.md +14 -0
- package/skills/seo-supervisor/planning.md +145 -0
- package/skills/seo-supervisor/profile-template.md +55 -0
- package/skills/seo-supervisor/report-format.md +146 -0
- package/skills/seo-supervisor/rules/ai-search.md +40 -0
- package/skills/seo-supervisor/rules/content.md +60 -0
- package/skills/seo-supervisor/rules/crawl-index.md +65 -0
- package/skills/seo-supervisor/rules/internal-linking.md +61 -0
- package/skills/seo-supervisor/rules/launch-monitoring.md +48 -0
- package/skills/seo-supervisor/rules/media.md +30 -0
- package/skills/seo-supervisor/rules/metadata.md +39 -0
- package/skills/seo-supervisor/rules/performance.md +33 -0
- package/skills/seo-supervisor/rules/rendering.md +42 -0
- package/skills/seo-supervisor/rules/sitemaps-robots.md +37 -0
- package/skills/seo-supervisor/rules/structured-data.md +75 -0
- package/skills/seo-supervisor/rules/trust-security.md +25 -0
- package/skills/seo-supervisor/rules/urls.md +46 -0
- package/skills/seo-supervisor/scripts/content-scan.mjs +173 -0
- package/skills/seo-supervisor/scripts/fonts/OFL-BricolageGrotesque.txt +93 -0
- package/skills/seo-supervisor/scripts/fonts/OFL-Geist.txt +93 -0
- package/skills/seo-supervisor/scripts/fonts/OFL-GeistMono.txt +93 -0
- package/skills/seo-supervisor/scripts/fonts/bricolage-grotesque.woff2 +0 -0
- package/skills/seo-supervisor/scripts/fonts/geist-mono.woff2 +0 -0
- package/skills/seo-supervisor/scripts/fonts/geist.woff2 +0 -0
- package/skills/seo-supervisor/scripts/render-report.mjs +706 -0
- package/skills/seo-supervisor/scripts/report-plan.mjs +162 -0
- package/skills/seo-supervisor/scripts/seo-crawl.mjs +703 -0
- package/skills/seo-supervisor/site-types/content.md +22 -0
- package/skills/seo-supervisor/site-types/ecommerce.md +27 -0
- package/skills/seo-supervisor/site-types/local-business.md +28 -0
- package/skills/seo-supervisor/site-types/services.md +22 -0
- package/skills/seo-supervisor/site-types/tools.md +127 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Content sites, blogs and guides (BLOG)
|
|
2
|
+
|
|
3
|
+
### BLOG-01 · Topic clusters with a pillar · high
|
|
4
|
+
Clusters map to the site's services or product areas. The pillar page comes first, and every post links to its pillar, at least one money page (in a sentence, not a CTA box), and about 3 related posts from the same cluster. Pillars link to every post in their cluster.
|
|
5
|
+
|
|
6
|
+
### BLOG-02 · The shape of a post · medium
|
|
7
|
+
A question-led or problem-led title. An answer of 50 words or less right under the H1. Question-form H2s, each opening with a self-contained 40–60 word answer. Tables for comparisons and costs, numbered steps for processes, 3–5 unique FAQs, and cited sources for factual and regulatory claims. Main pieces usually run 1,500–2,500 words, but length follows the topic, never a quota.
|
|
8
|
+
|
|
9
|
+
### BLOG-03 · Research before writing · medium
|
|
10
|
+
Read the top 2–3 ranking pages and cover the sections they all share, then add what they miss. Take questions from "People also ask" and support tickets. Use the buyer's vocabulary. Record the primary keyword, its sources and the FAQ sources per post. One primary keyword per post, and no two posts share one.
|
|
11
|
+
|
|
12
|
+
### BLOG-04 · Authors and dates · high
|
|
13
|
+
Every post has a named author with an author page (ProfilePage + Person). `datePublished` and `dateModified` are real, static ISO dates, never `new Date()`. "Updated" dates change only on meaningful edits.
|
|
14
|
+
|
|
15
|
+
### BLOG-05 · No scaled or templated content · blocker
|
|
16
|
+
Don't mass-publish AI-generated or templated posts without expert review and unique substance. Check for leftover AI traces (`utm_source=chatgpt.com`, `data-start` attributes), placeholders and encoding damage. Business facts (warranty, years, prices) render from shared data so posts can't contradict each other.
|
|
17
|
+
|
|
18
|
+
### BLOG-06 · Categories, tags and pagination · medium
|
|
19
|
+
Flat post URLs with the category in the breadcrumb, or nested; follow the profile. Category pages have intros. A browse page with fewer than 3 posts is noindex, and tag pages appear only once there's volume. Pagination is crawlable and self-canonical. A post slug can't clash with a category slug.
|
|
20
|
+
|
|
21
|
+
### BLOG-07 · Publishing cadence and freshness · low
|
|
22
|
+
A steady cadence (e.g. 2 posts a month) beats bursts. Review evergreen posts every 6–12 months, and update or merge decaying ones instead of publishing near-duplicates.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# E-commerce and catalogues (SHOP)
|
|
2
|
+
|
|
3
|
+
### SHOP-01 · A clear catalogue hierarchy · high
|
|
4
|
+
Type → category → product (master) → variant. Distinct prefixes for listing and product URLs, with a guard against slug clashes. Normalise tokens (`128gb`, `1tb`) and keep a fixed token order per product class, with full brand names. Modifiers like "refurbished" go in the title, not the URL.
|
|
5
|
+
|
|
6
|
+
### SHOP-02 · Variants consolidate to the master · high
|
|
7
|
+
Variant pages are reachable through crawlable `<a href>` links, are `index,follow`, canonicalize to the master, and stay out of the sitemap. Condition or grade is a query parameter, never a path. An unknown suffix 301s to the master. If the picker falls back to another option, the URL follows (302 to the variant actually shown).
|
|
8
|
+
|
|
9
|
+
### SHOP-03 · Faceted navigation doesn't explode the index · blocker
|
|
10
|
+
Only facets that people search (brand, series, sometimes a key attribute) get indexable, self-canonical pages with their own copy. Colour, price, sort and combinations get `noindex,follow` plus a canonical to the clean listing. Pagination stays indexable and self-canonical.
|
|
11
|
+
|
|
12
|
+
### SHOP-04 · Stock and lifecycle · high
|
|
13
|
+
| Situation | What to do |
|
|
14
|
+
| --- | --- |
|
|
15
|
+
| One SKU out of stock | Grey it out; the page stays indexed. |
|
|
16
|
+
| Whole model out of stock | The page stays live with "notify me". |
|
|
17
|
+
| Replaced by a successor | 301 to the successor. |
|
|
18
|
+
| Gone for good | 410, and remove it from the sitemap. |
|
|
19
|
+
|
|
20
|
+
### SHOP-05 · Product schema from live data · high
|
|
21
|
+
Product with an Offer (`price`, `priceCurrency`, `availability`, `itemCondition`) for merchant listings; `AggregateOffer` only qualifies for product snippets. Add `MerchantReturnPolicy` (country, return window, days, method, fees) and shipping details. `ReturnFeesCustomerResponsibility` carries no fee amount. Warranty and return numbers come from one config that feeds the UI, meta, schema, feeds and llms.txt. Generate from live data, never stored or scraped blobs. Remove unknown legal fields instead of showing placeholders.
|
|
22
|
+
|
|
23
|
+
### SHOP-06 · Reviews are real · blocker
|
|
24
|
+
Only genuine buyer reviews, with whole stars per review and decimals only in averages. Never present imported, scraped or AI-rewritten reviews as verified (illegal in some places, e.g. the UK's DMCC Act 2024, with fines up to 10% of global turnover). Send one review request 7–14 days after delivery. Skip product FAQs until there's real per-product content; identical templated FAQs are worthless.
|
|
25
|
+
|
|
26
|
+
### SHOP-07 · International · medium
|
|
27
|
+
`hreflang` for every language or region version (self plus `x-default`), currency per region, and `<html lang>` set.
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Local businesses: trades, clinics, service-area businesses (LOCAL)
|
|
2
|
+
|
|
3
|
+
### LOCAL-01 · Only real service × city combinations · blocker
|
|
4
|
+
Generate only the service × city pairs listed in your data, never the full cross product. Pages are at city level; neighbourhoods go inside the city page. A service gets per-city pages only if people search "service + city"; otherwise it gets one metro page. Launch the highest-intent pairs first and the rest in batches over weeks (release flags; a held page returns 404).
|
|
5
|
+
|
|
6
|
+
### LOCAL-02 · Every city page is genuinely local · blocker
|
|
7
|
+
Each page needs a unique intro of 40 words or more naming its own city, at least one local consideration (climate, permits, housing stock, regulations, with sources), at least 2–3 unique FAQs, and real proof from that city (jobs, photos, reviews) rendered on the server from your own data, not a widget. No city-swapped templates; the crawler's `near-duplicate` check must pass. A town with no proof of its own may show proof from the hub town that serves it, saying so plainly.
|
|
8
|
+
|
|
9
|
+
### LOCAL-03 · Each page names one city · high
|
|
10
|
+
The city in the slug, title, H1 and `areaServed` must match. Other cities appear only in the nearby/sibling link blocks. Mention the city naturally (about 15–30 times per page; 40 or more reads as stuffing).
|
|
11
|
+
|
|
12
|
+
### LOCAL-04 · Local URLs · medium
|
|
13
|
+
At most 3 path segments. The service slug is reused exactly in service × city URLs. In a metro spanning two states, the state goes into the city slug (`moline-il`). County is data, not part of the URL. Dropped geo layers (e.g. county pages) 301 to the service page.
|
|
14
|
+
|
|
15
|
+
### LOCAL-05 · NAP is identical everywhere · high
|
|
16
|
+
Name, address and phone are identical across the site, schema, Google Business Profile and directories. The GBP name is the real brand with no added keywords. With call tracking, the real number stays in the HTML and schema; tracking numbers are swapped in client-side.
|
|
17
|
+
|
|
18
|
+
### LOCAL-06 · Local business schema · high
|
|
19
|
+
One site-wide node of the most specific LocalBusiness subtype (`HVACBusiness`, `Electrician`, `Plumber`, `AutomotiveBusiness` and so on) with a stable `@id`, real address, `geo` (numbers), `openingHoursSpecification`, `telephone`, `image`/`logo` and `sameAs` (the GBP URL). A per-city LocalBusiness only where a real staffed office exists. City pages get a `City` (with `containedInPlace` and a `sameAs` to Wikipedia or the official city site) as `areaServed`. Service nodes use `provider` → the business `@id`. No self-serving business rating.
|
|
20
|
+
|
|
21
|
+
### LOCAL-07 · Claims and facts · blocker
|
|
22
|
+
Publish only owner-confirmed claims (years, licences, guarantees, 24/7, prices, response times). Keep a banned-claims list and grep the rendered HTML for it. Mark services the owner hasn't confirmed as `needs-decision` and leave them unpublished. Unknown hours are a decision, not a guess.
|
|
23
|
+
|
|
24
|
+
### LOCAL-08 · Mobile conversion without hurting UX signals · medium
|
|
25
|
+
A sticky bottom call/quote bar on mobile, the phone number and CTA inside the mobile menu, no popups on load, and no huge quote form inside the hero. Map embeds load on interaction or below the fold, with a `title`.
|
|
26
|
+
|
|
27
|
+
### LOCAL-09 · Google Business Profile practice · medium
|
|
28
|
+
Review requests go to every customer (no gating), every review gets a reply, the GBP website link carries UTM tags, a second GBP exists only for a real staffed location, and there's no engagement manipulation. These are owner actions: report them as decisions or notes.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Services, agencies and SaaS: money pages (SVC)
|
|
2
|
+
|
|
3
|
+
### SVC-01 · One page per service intent · high
|
|
4
|
+
Each service page targets one primary keyword that no other page targets. Merge thin, closely related services into one page. Service slugs are unique across the site. Never change the URL of a page that already gets impressions. Where the home page, a service page and a location page compete for one phrase, give the phrase to one of them and retitle the others.
|
|
5
|
+
|
|
6
|
+
### SVC-02 · Proof on the page · high
|
|
7
|
+
Case studies, sample reports or deliverables, real client logos (with permission), process, pricing or how pricing works, credentials, and FAQs. Sections with no real data are hidden rather than filled with placeholders; carry a cost keyword in an FAQ instead of a fake price table. Sample reports are redacted.
|
|
8
|
+
|
|
9
|
+
### SVC-03 · Service schema · medium
|
|
10
|
+
Service with `serviceType`, `provider` → `#organization`, `areaServed`, `url`, and `hasOfferCatalog` for sub-services. Pricing pages use one Offer per plan with real prices. No ratings unless real reviews are shown on that page.
|
|
11
|
+
|
|
12
|
+
### SVC-04 · Paths into the money pages · high
|
|
13
|
+
Every free resource (guides, tools, templates, comparisons, glossary) has a next step that leads to the matching service, and service pages link back to the resources that prove expertise (LINK-03). Sibling services link both ways.
|
|
14
|
+
|
|
15
|
+
### SVC-05 · Comparison pages are fair · high
|
|
16
|
+
"Best X" and "X vs Y" pages need real criteria, a dated review, a disclosure that you're one of the options, and no invented scores or ratings for anyone (yours included) in copy or schema. Use Article + ItemList.
|
|
17
|
+
|
|
18
|
+
### SVC-06 · Product and feature pages only for what exists · blocker
|
|
19
|
+
Platform or feature pages go live only when the feature works. Until then they return 404 and appear in no nav, sitemap or link (CRAWL-11).
|
|
20
|
+
|
|
21
|
+
### SVC-07 · Navigation · medium
|
|
22
|
+
Mega-menu column headings are real links, panels stay under about 600 px tall, long lists end with an "All … →" link, there's no hidden duplicate mobile menu in the DOM, and programmatic pages (service × city) stay out of the nav.
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
# Interactive tools: checkers, calculators, generators, scanners (TOOL)
|
|
2
|
+
|
|
3
|
+
Public tools rank as pages, so the tool page is the SEO page. These rules add to `rules/`. Copy-ready JSON-LD for tool pages is in `examples/snippets.md`.
|
|
4
|
+
|
|
5
|
+
### TOOL-01 · One tool registry drives everything · high
|
|
6
|
+
One list (a DB table or typed file) is the source for pages, static params, the sitemap, related links, llms.txt and schema.
|
|
7
|
+
```ts
|
|
8
|
+
type Tool = {
|
|
9
|
+
slug: string; // "ssl-checker": the words people search; permanent (URL-01)
|
|
10
|
+
name: string; // "SSL Checker"
|
|
11
|
+
family: string; // "ssl-tls": groups tools on the hub; not part of the URL unless the profile says so
|
|
12
|
+
status: "draft" | "live" | "retired";
|
|
13
|
+
summary: string; // 120–160 chars → meta description
|
|
14
|
+
intro: string; // 40–60 words → answer-first paragraph under the H1
|
|
15
|
+
checks: string[]; // what the tool tests, in plain words
|
|
16
|
+
faqs: { q: string; a: string }[];
|
|
17
|
+
related: string[]; // 3–6 sibling slugs, same family
|
|
18
|
+
next: string[]; // 1–2 "next check" slugs
|
|
19
|
+
guides: string[]; // guide slugs that explain findings
|
|
20
|
+
templates: string[]; // template/checklist slugs that help fix findings
|
|
21
|
+
updatedAt: string; // last real content OR check-logic change (not deploys, dependency bumps, CSS)
|
|
22
|
+
redirectFrom?: string[]; // old slugs → 301s
|
|
23
|
+
successor?: string; // retired tools: where to send visitors
|
|
24
|
+
};
|
|
25
|
+
```
|
|
26
|
+
- Only `live` tools are routable, listed and linked. `retired` with a successor 301s to it; without one, it returns 410 and leaves the sitemap. `draft` returns 404 in production.
|
|
27
|
+
- When tools come from a separate API, serve the registry from a cacheable endpoint (`GET /v1/tools`, `GET /v1/tools/{slug}`, with `ETag` and `Cache-Control`). The site reads it at build or revalidation time, never per visitor.
|
|
28
|
+
- The engineers who build each tool write 4–6 real FAQs while building it. Take the questions from support tickets, Reddit threads and "People also ask". Each answer is 40–60 words, and its first sentence answers the question directly.
|
|
29
|
+
|
|
30
|
+
### TOOL-02 · The tool page follows a fixed order · high
|
|
31
|
+
1. Breadcrumb.
|
|
32
|
+
2. H1 with the tool name people search for ("DMARC Record Checker").
|
|
33
|
+
3. Intro of 40–60 words.
|
|
34
|
+
4. **The tool, visible without scrolling** on desktop and mobile.
|
|
35
|
+
5. How to use it (3–5 steps).
|
|
36
|
+
6. What it checks.
|
|
37
|
+
7. How to read your results.
|
|
38
|
+
8. Common problems and fixes (links to guides).
|
|
39
|
+
9. FAQ: each question is an H3 under the FAQ H2.
|
|
40
|
+
10. Related tools and the next check.
|
|
41
|
+
11. Call to action (API, monitoring, paid plan).
|
|
42
|
+
|
|
43
|
+
Under the H1 or at the end, a line reads "Reviewed by {name}, {credential} · Updated {date}", linked to the author page (CONTENT-07).
|
|
44
|
+
|
|
45
|
+
### TOOL-03 · Input fields are real form markup · high
|
|
46
|
+
- One `<form>` per tool, a visible `<label for>` on every field, and helper text linked with `aria-describedby`. Placeholder text is not a label: it disappears when someone types and many screen readers skip it.
|
|
47
|
+
- A real submit `<button>`, so Enter works. Its text and the labels use the searched words: "Check SSL certificate", "Scan security headers", "Look up DMARC record"; "Domain or URL", "Email address to test". Never "Submit".
|
|
48
|
+
- Input types:
|
|
49
|
+
- **Domain / host:** `type=text inputmode=url autocapitalize=none spellcheck=false`. `type=url` rejects `example.com`. Accept `https://example.com/path` and strip it down yourself.
|
|
50
|
+
- **Email:** `type=email`.
|
|
51
|
+
- **Port:** `inputmode=numeric` with a 1–65535 check.
|
|
52
|
+
- **IP:** `type=text`. IPv6 has letters and colons.
|
|
53
|
+
- **Password checker:** `type=password` with a show button and `autocomplete=off`.
|
|
54
|
+
- Errors are text tied to the field (`aria-describedby`, `role=alert`) that say how to fix it: "Enter a domain without spaces, like example.com."
|
|
55
|
+
- A "Try an example" button fills the field and runs the check. Use a domain you control or a public test domain (e.g. `badssl.com` subdomains for TLS).
|
|
56
|
+
```html
|
|
57
|
+
<form id="dmarc-form" action="/tools/dmarc-checker/" method="get">
|
|
58
|
+
<label for="domain">Domain</label>
|
|
59
|
+
<input id="domain" name="domain" type="text" inputmode="url" autocapitalize="none" spellcheck="false"
|
|
60
|
+
placeholder="example.com" required aria-describedby="domain-help domain-error">
|
|
61
|
+
<p id="domain-help">Enter a domain like example.com. We look up _dmarc.example.com.</p>
|
|
62
|
+
<p id="domain-error" role="alert" hidden></p>
|
|
63
|
+
<button type="submit">Check DMARC record</button>
|
|
64
|
+
</form>
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
### TOOL-04 · Results are real HTML · high
|
|
68
|
+
- **Structure:** a "Results for {domain}" heading, then one sub-heading per group of checks. Tables are real `<table>`s with a `<caption>` and `<th scope>`; key/value data uses `<dl>`. Nothing lives only in a canvas, an image or a tooltip.
|
|
69
|
+
- **Status:** written in words ("Pass", "Warning", "Fail"), with icons marked `aria-hidden`. A–F grades are shown as text, not colour alone.
|
|
70
|
+
- **Layout:** the results area reserves its space, so it doesn't push content down (CLS).
|
|
71
|
+
- **Waiting and failure:** loading text names the step and the usual time ("Checking certificate chain… usually 3–5 seconds"). Errors give the cause and the fix ("We couldn't reach example.com on port 443. Check the domain resolves and the port is open.").
|
|
72
|
+
- **Finding codes:** each finding has a stable code that maps, through the registry, to a fix guide and a related tool:
|
|
73
|
+
```json
|
|
74
|
+
{ "target": "example.com", "grade": "B", "findings": [
|
|
75
|
+
{ "code": "HSTS_MISSING", "severity": "warning", "title": "HSTS header is missing",
|
|
76
|
+
"detail": "Browsers may connect over plain HTTP before redirecting.",
|
|
77
|
+
"guide": "how-to-set-up-hsts", "nextTool": "hsts-checker" } ] }
|
|
78
|
+
```
|
|
79
|
+
- **Sharing:** results can be copied or exported (text, Markdown, JSON) with a link back to the tool.
|
|
80
|
+
|
|
81
|
+
### TOOL-05 · Scan results stay out of the index; prefill links help · high
|
|
82
|
+
- Show results on the tool page itself. Never index `/report/example.com`-style pages: thousands of thin, near-identical pages that also publish data about other people's domains.
|
|
83
|
+
- Shareable report links (`/r/{id}/`) send `X-Robots-Tag: noindex, follow` (header snippet in `frameworks/nextjs.md`), stay out of the sitemap, aren't blocked in robots.txt, and expire.
|
|
84
|
+
- Prefill links (`/tools/ssl-checker/?domain=example.com`) fill the field and run the check, which earns links from docs and forums. The canonical stays the clean URL, and the H1, intro and FAQ render exactly as on the clean URL.
|
|
85
|
+
- Never mark up scanned data in schema.
|
|
86
|
+
|
|
87
|
+
### TOOL-06 · Secrets never leave the browser · blocker
|
|
88
|
+
Password, hash, JWT, key and Base64 tools run client-side and say so under the form: "Runs in your browser. Nothing you enter is sent to our servers." Inputs never go into URLs, logs or analytics events.
|
|
89
|
+
|
|
90
|
+
### TOOL-07 · Abuse protection never blocks crawlers · high
|
|
91
|
+
- Rate-limit the endpoint that runs checks, per IP. Show a captcha (e.g. Cloudflare Turnstile) only on submit, and only after a visitor passes the limit. Never challenge the HTML page.
|
|
92
|
+
- **Passive checks** (DNS records, headers, certificates) are open to anyone. **Active checks** (port scans, crawls) run only against targets the visitor has verified, e.g. with a DNS TXT record.
|
|
93
|
+
- The CDN or WAF lets verified search and AI-search bots through (CRAWL-09, AI-02).
|
|
94
|
+
|
|
95
|
+
### TOOL-08 · Tool schema · medium
|
|
96
|
+
- WebPage, WebApplication (`applicationCategory` from Google's list, e.g. `SecurityApplication`; `operatingSystem: "Any"`; `browserRequirements`; `isAccessibleForFree: true`; Offer `price: "0"`), BreadcrumbList, and FAQPage when the FAQ is visible, all in one `@graph` linked by `@id` (full example in `examples/snippets.md`).
|
|
97
|
+
- **Ratings:** a rating only from real ratings collected and shown on the page. Leaving `aggregateRating` out keeps the markup valid; it just won't show stars. To earn stars, add an on-page "Was this useful?" rating, show the average and count, and build `aggregateRating` from that data. A made-up rating can cost the whole site its rich results.
|
|
98
|
+
|
|
99
|
+
### TOOL-09 · Up, sideways, forward: the loops · medium
|
|
100
|
+
- **Up:** breadcrumb to the tools hub and to `/resources/` (or whatever the profile's parent is).
|
|
101
|
+
- **Sideways:** 3–6 siblings from the registry's `related` list, or from the same family if `related` is empty.
|
|
102
|
+
- **Forward:** 1–2 `next` checks; the last tool in a family points back to the first.
|
|
103
|
+
- **Cross-family bridge:** where a check belongs to two families (SPF and DMARC are email settings stored in DNS), one bridge link per tool.
|
|
104
|
+
- **Guides:** findings link to fix guides, and each guide has a "Test it now" link near the top and again at the end.
|
|
105
|
+
```ts
|
|
106
|
+
export function toolLinks(tool: Tool, liveTools: Map<string, Tool>, liveGuides: Map<string, Guide>) {
|
|
107
|
+
const live = (slugs: string[]) => slugs.map(s => liveTools.get(s)).filter((t): t is Tool => !!t);
|
|
108
|
+
const listed = live(tool.related);
|
|
109
|
+
const siblings = (listed.length ? listed : [...liveTools.values()].filter(t => t.family === tool.family && t.slug !== tool.slug)).slice(0, 6);
|
|
110
|
+
return { up: "/tools/", siblings, next: live(tool.next).slice(0, 2),
|
|
111
|
+
guides: tool.guides.map(g => liveGuides.get(g)).filter((g): g is Guide => !!g) };
|
|
112
|
+
}
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
### TOOL-10 · Acceptable use is published and enforced · medium
|
|
116
|
+
An acceptable-use page says what the tools may be used against, and the code enforces it (TOOL-07). It goes with a vulnerability disclosure policy and `security.txt` (TRUST-02).
|
|
117
|
+
|
|
118
|
+
### TOOL-11 · A methodology page per tool family · medium
|
|
119
|
+
Each family says how its checks work and links from the tool's "What this tool checks" section:
|
|
120
|
+
- **Standards:** e.g. RFC 7489 for DMARC, RFC 6797 for HSTS, Mozilla's TLS recommendations, the OWASP Secure Headers Project.
|
|
121
|
+
- **Data sources:** where the results come from.
|
|
122
|
+
- **Limits:** what the tool can't detect.
|
|
123
|
+
|
|
124
|
+
This builds trust, and other sites cite it.
|
|
125
|
+
|
|
126
|
+
### TOOL-12 · Tool usage is measured · medium
|
|
127
|
+
Analytics events: `tool_view`, `tool_submit`, `tool_result` (with status), `tool_error`, `copy_result`, `next_check_click`, `guide_click`. Never include the scanned domain, typed input or secrets.
|