seo-platform-detect

Solid

Build the SiteProfile for an audited site — platform, framework, CMS plugins, hosting, environment, capabilities and write targets — by running scripts/detect-platform.mjs over the persisted PageSnapshot, then pick the knowledge cards each subagent needs. Support skill for seo-orchestrator; it merges this output with seo-vertical-detect into <run_dir>/profile.json.

Data & Documents 67 stars 6 forks Updated 2 weeks ago MIT

Install

View on GitHub

Quality Score: 85/100

Stars 20%
61
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# seo-platform-detect The profile decides three things no module can decide on its own: which platform-conditional check ids fire, which findings are `not_applicable` because the platform owns the thing, and which fix adapter `fix` will reach for. Run it once per audit, right after the snapshot, before dispatch. Detection is orthogonal to the vertical: `seo-vertical-detect` answers *what kind of site is this*, this skill answers *what is it built on*. Both feed one `profile.json`. ## When to run In the normal `/audit` and `/geo` flow you do **not** run this yourself: `audit.mjs` already calls the same `detect()` over the run's homepage snapshot and persists the result as `<run_dir>/profile.json`. Read that file first. Run the script directly only when you need a signal the headless pass could not use — `--path <project>` for repo/package signals, `--probe` for the WordPress plugin verdict — or when you are working outside the runner. Either way it is one run per audit, before the dispatch envelopes are built; every subagent reads the same profile. ## How to run ```bash node "${CLAUDE_PLUGIN_ROOT}/scripts/detect-platform.mjs" --snapshot "<run_dir>/pages/<home-slug>.json" ``` Add flags when they apply, and only then: - `--path <project>` when the user gave a local project (`--project`). This is the **only** way repo and package signals are consulted; without it, Payload is undetectable and Next.js router detection falls back to DOM markers. It is also what turns `ca...

Details

Author
Hainrixz
Repository
Hainrixz/claude-seo-ai
Created
3 months ago
Last Updated
2 weeks ago
Language
JavaScript
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category