Universal SEO skill for Claude Code. 26 sub-skills + 19 sub-agents covering technical SEO, E-E-A-T, schema, GEO/AEO, agent readiness (Lighthouse Agentic Browsing, WebMCP, llms.txt), backlinks, local SEO, e-commerce, international SEO, Google APIs, and PDF/Excel reporting. 9 optional extensions for live SEO data.
test(seo-cockpit): kit suite runs and passes (74/74)
Agrici Daniel2a2f73183f8d
diff --git a/plugins/seo-cockpit/README.md b/plugins/seo-cockpit/README.mdindex dbaa841..44d4dbc 100644--- a/plugins/seo-cockpit/README.md+++ b/plugins/seo-cockpit/README.md@@ -104,15 +104,16 @@ Auto-update is off by default for third-party marketplaces. Run `claude plugin u## Status-The kit tests in `tests/` are written against the Claude Code 2.1.288 typings but have not yet been executed: mods are switched off remotely for the maintainer's account (`claude plugin test` refuses to run). Verified on 2026-10-03:+Verified on Claude Code 2.1.288, 2026-10-03:-- type-check (`tsc`, strict)-- `claude plugin validate --strict`+- `claude plugin test`: 74 of 74 kit tests pass (spend guard, commands, audit band and receipt, economy mode, compaction, cockpit pane and export, and the pure logic)+- type-check (`tsc`, strict) and `claude plugin validate --strict`- the brain's static scan (reach L2, no critical or high flags)-- 79 end-to-end scenarios run through a stand-in for the hook chain against the real claude-seo scripts and an isolated ledger (Search Console, CrUX and drift from fixtures, so no Google account was called)-- the 47 pure-logic tests (`logic`, `audit-logic`, `cockpit-logic`), run with a minimal stand-in for the kit's `describe`, `test` and `expect`+- a real `/seo audit` of claude-seo.md (85/100) with the cockpit run on its live data: CrUX, the audit scorecard, the cost ledger, and the Search Console permission message- the HTML export rendered in Chromium, light and dark+Not yet observed: a live interactive session drawing the pane and band (`claude --plugin-dir`).+## Development```bashdiff --git a/plugins/seo-cockpit/tests/audit.test.ts b/plugins/seo-cockpit/tests/audit.test.tsindex 53b3e9c..bad995b 100644--- a/plugins/seo-cockpit/tests/audit.test.ts+++ b/plugins/seo-cockpit/tests/audit.test.ts@@ -30,7 +30,7 @@ function engine(on: Parameters<typeof worldOf>[0]) {on('session.compact', ($, e) => {seen.instructions.push(e.instructions)- return { messages: [] } as never+ return { messages: e.messages }})on('ui.render', () => ({ type: 'Text', props: {}, children: ['drawn by Claude Code'] }) as never)@@ -102,7 +102,8 @@ describe('audit band and receipt', () => {const seen = engine(on)await $.prompt.submit(prompt('/seo audit example.com'))- await $.session.compact({ trigger: 'auto', messages: [] } as never)+ // A compaction always leaves at least one message; the engine refuses an empty list.+ await $.session.compact({ trigger: 'auto', messages: [{ role: 'user', text: 'Audit example.com', toolUses: [] }] })expect(seen.instructions[0]).toContain('A claude-seo audit of example.com is in progress')})diff --git a/plugins/seo-cockpit/tests/cockpit.test.ts b/plugins/seo-cockpit/tests/cockpit.test.tsindex f8c1138..60c4b95 100644--- a/plugins/seo-cockpit/tests/cockpit.test.ts+++ b/plugins/seo-cockpit/tests/cockpit.test.ts@@ -15,6 +15,7 @@ describe('cockpit', () => {return { value: { isPlaced: true } } as never})on('store.get', () => ({ value: undefined }))+ on('session.cwd', () => ({ value: '/work' }))on('ui.render', () => ({ type: 'Text', props: {}, children: ['engine'] }) as never)const result = await $.command.run(command('seo-cockpit'))