JasonColapietro/suede-creator-skills / skills/suede-seo-audit
suede-seo-audit
VerifiedAudit technical access, intent, metadata, links, schema, generative search, copy, E-E-A-T, and topic architecture with A-F lanes and exact fixes. Use when asked to "audit this site for SEO", investigate traffic or indexation problems, or produce a scored report. Includes offline source-review tools. NOT FOR: a quick promotion grade (use suede-visibility-grader), AI crawler and citation measurement (use suede-ai-seo), or conversion-path changes (use suede-site-alchemy).
| File | Kind | Size |
|---|---|---|
| CARD.md | markdown | 4.4 KB |
| SKILL.md | skill md | 17.6 KB |
| agents/openai.yaml | config | 723 B |
| references/google-search-guidance.md | markdown | 6.4 KB |
| references/keyword-research.md | markdown | 4.7 KB |
| references/lane-checklists.md | markdown | 24.0 KB |
| references/offline-tools.md | markdown | 4.6 KB |
| references/schema-templates.md | markdown | 10.5 KB |
| references/worked-handoff.md | markdown | 1.7 KB |
| scripts/fixtures/pages.json | config | 1003 B |
| scripts/fixtures/serp.json | config | 828 B |
| scripts/lib/audit.mjs | script | 963 B |
| scripts/lib/merchant-schema.mjs | script | 15.1 KB |
| scripts/lib/metadata-drift.mjs | script | 9.8 KB |
| scripts/lib/offline-reports.mjs | script | 2.5 KB |
| scripts/lib/page-technical.mjs | script | 16.1 KB |
| scripts/lib/serp-overlap.mjs | script | 6.9 KB |
| scripts/seo-review.mjs | script | 4.5 KB |
| scripts/tests/cli.test.mjs | script | 3.4 KB |
| scripts/tests/merchant-schema.test.mjs | script | 12.5 KB |
| scripts/tests/metadata-drift.test.mjs | script | 7.9 KB |
| scripts/tests/offline-reports.test.mjs | script | 2.6 KB |
| scripts/tests/page-technical.test.mjs | script | 9.0 KB |
| scripts/tests/serp-overlap.test.mjs | script | 5.4 KB |
scripts/tests/offline-reports.test.mjs
View on GitHubimport test from "node:test";
import assert from "node:assert/strict";
import { mkdtemp, mkdir, readFile, symlink, rm, readdir, writeFile } from "node:fs/promises";
import path from "node:path";
import { tmpdir } from "node:os";
const api = await import("../lib/offline-reports.mjs").catch(() => ({}));
test("offline reports render source-controlled Markdown as inert text", () => {
assert.equal(typeof api.markdownText, "function", "offline report text formatter is absent");
const text = api.markdownText(' <img> | `x`\\\nnext');
assert.ok(!text.includes(");
assert.ok(!text.includes("<img>"));
assert.ok(!text.includes("|"));
assert.ok(!text.includes("\n"));
});
test("offline report bundle writes a fresh directory and refuses existing output", async () => {
assert.equal(typeof api.writeOfflineReports, "function", "offline report writer is absent");
const root = await mkdtemp(path.join(tmpdir(), "offline-output-"));
try {
const repo = path.join(root, "repo"); await mkdir(repo);
const out = path.join(repo, "reports", "one");
await api.writeOfflineReports(out, { "result.json": '{"ok":true}\n', "result.md": "A report\n" }, repo);
assert.equal(await readFile(path.join(out, "result.md"), "utf8"), "A report\n");
await assert.rejects(api.writeOfflineReports(out, { "result.md": "replacement" }, repo), /exists|existing/i);
assert.equal(await readFile(path.join(out, "result.md"), "utf8"), "A report\n");
} finally { await rm(root, { recursive: true, force: true }); }
});
test("offline reports refuse protected source and symlink ancestors before creating directories", async () => {
assert.equal(typeof api.writeOfflineReports, "function", "offline report writer is absent");
const root = await mkdtemp(path.join(tmpdir(), "offline-protect-"));
try {
const repo = path.join(root, "repo"); const source = path.join(repo, "src");
await mkdir(source, { recursive: true });
await mkdir(path.join(repo, "reports"));
await symlink(source, path.join(repo, "reports", "alias"));
for (const output of [path.join(source, "new"), path.join(repo, "reports", "alias", "new", "out")]) {
await assert.rejects(api.writeOfflineReports(output, { "result.md": "bad" }, repo), /source|reports/i);
}
assert.deepEqual(await readdir(source), []);
await writeFile(path.join(root, "input.json"), "input");
await assert.rejects(api.writeOfflineReports(path.join(root, "input.json"), { "result.md": "bad" }, repo), /exists|existing/i);
} finally { await rm(root, { recursive: true, force: true }); }
});
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |