Skip to content

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.

ci(windows): add manual installer smoke

Agrici.Daniele792964635e2
diff --git a/.github/workflows/windows-smoke.yml b/.github/workflows/windows-smoke.yml
new file mode 100644
index 0000000..c417354
--- /dev/null
+++ b/.github/workflows/windows-smoke.yml
@@ -0,0 +1,141 @@
+name: Windows manual installer smoke
+
+on:
+ pull_request:
+ branches: [main]
+ paths:
+ - ".github/workflows/windows-smoke.yml"
+ - "install.ps1"
+ - "uninstall.ps1"
+ - "bin/claude-seo"
+ - "requirements.txt"
+ - "scripts/runtime.py"
+ - "scripts/seo_updates.py"
+ - "data/google-updates.json"
+ - "skills/**"
+ workflow_dispatch:
+ inputs:
+ target_ref:
+ description: "Released tag or main branch to install"
+ required: true
+ default: "v2.2.5"
+ type: string
+
+permissions:
+ contents: read
+
+jobs:
+ validate-ref:
+ name: Validate installer source ref
+ if: >-
+ github.event_name == 'workflow_dispatch' ||
+ github.event.pull_request.head.repo.full_name == github.repository
+ runs-on: ubuntu-latest
+ outputs:
+ ref: ${{ steps.ref.outputs.ref }}
+ steps:
+ - id: ref
+ name: Validate released source ref
+ env:
+ TARGET_REF: ${{ inputs.target_ref || 'v2.2.5' }}
+ shell: bash
+ run: |
+ set -euo pipefail
+ if [[ ! "$TARGET_REF" =~ ^(main|v[0-9]+\.[0-9]+\.[0-9]+)$ ]]; then
+ echo "::error::target_ref must be main or a stable vX.Y.Z tag."
+ exit 1
+ fi
+ git ls-remote --exit-code --refs \
+ https://github.com/AgriciDaniel/claude-seo.git \
+ "refs/heads/$TARGET_REF" "refs/tags/$TARGET_REF" >/dev/null
+ printf 'ref=%s\n' "$TARGET_REF" >> "$GITHUB_OUTPUT"
+
+ smoke:
+ name: Windows install, runtime, uninstall
+ needs: validate-ref
+ if: >-
+ github.event_name == 'workflow_dispatch' ||
+ github.event.pull_request.head.repo.full_name == github.repository
+ runs-on: windows-latest
+ steps:
+ - uses: actions/checkout@v7
+ with:
+ ref: ${{ github.event_name == 'workflow_dispatch' && needs.validate-ref.outputs.ref || github.sha }}
+
+ - name: Set up Python 3.10
+ uses: actions/setup-python@v7
+ with:
+ python-version: "3.10"
+
+ - name: Prepare isolated user profile
+ shell: pwsh
+ run: |
+ $profileRoot = Join-Path $env:RUNNER_TEMP "claude-seo-smoke-profile"
+ $tempRoot = Join-Path $env:RUNNER_TEMP "claude-seo-smoke-temp"
+ Remove-Item -Recurse -Force -ErrorAction SilentlyContinue $profileRoot, $tempRoot
+ New-Item -ItemType Directory -Force -Path $profileRoot, $tempRoot | Out-Null
+ "USERPROFILE=$profileRoot" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8
+ "LOCALAPPDATA=$profileRoot\AppData\Local" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8
+ "TEMP=$tempRoot" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8
+ "TMP=$tempRoot" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8
+
+ - name: Install released manual package
+ shell: pwsh
+ env:
+ CLAUDE_SEO_TAG: ${{ needs.validate-ref.outputs.ref }}
+ run: |
+ $ErrorActionPreference = "Stop"
+ ./install.ps1
+ $skillRoot = Join-Path $env:USERPROFILE ".claude\skills\seo"
+ $required = @(
+ "SKILL.md",
+ "requirements.txt",
+ "data\google-updates.json",
+ "scripts\runtime.py",
+ "scripts\seo_updates.py"
+ )
+ foreach ($relativePath in $required) {
+ $path = Join-Path $skillRoot $relativePath
+ if (-not (Test-Path $path -PathType Leaf)) {
+ throw "Installer did not create required file: $relativePath"
+ }
+ }
+
+ - name: Verify installed runtime and Google updates
+ shell: pwsh
+ run: |
+ $ErrorActionPreference = "Stop"
+ $skillRoot = Join-Path $env:USERPROFILE ".claude\skills\seo"
+ $runtime = Join-Path $skillRoot "scripts\runtime.py"
+ $doctor = & py -3 $runtime doctor --json
+ if ($LASTEXITCODE -ne 0) { throw "runtime doctor failed" }
+ $doctor | ConvertFrom-Json | Out-Null
+ $updates = & py -3 $runtime run seo_updates.py --limit 1 --json
+ if ($LASTEXITCODE -ne 0) { throw "seo_updates failed" }
+ $parsedUpdates = $updates | ConvertFrom-Json
+ if ($parsedUpdates.count -ne 1) { throw "Expected one Google update" }
+
+ - name: Uninstall manual package
+ shell: pwsh
+ run: |
+ $ErrorActionPreference = "Stop"
+ ./uninstall.ps1
+ $skills = Join-Path $env:USERPROFILE ".claude\skills"
+ $agents = Join-Path $env:USERPROFILE ".claude\agents"
+ if (Test-Path (Join-Path $skills "seo")) { throw "Orchestrator skill remains" }
+ if (Get-ChildItem -Path $skills -Directory -Filter "seo-*" -ErrorAction SilentlyContinue) {
+ throw "SEO sub-skill directories remain"
+ }
+ if (Get-ChildItem -Path $agents -File -Filter "seo-*.md" -ErrorAction SilentlyContinue) {
+ throw "SEO agent files remain"
+ }
+
+ - name: Remove isolated user profile
+ if: always()
+ shell: pwsh
+ run: |
+ $paths = @(
+ (Join-Path $env:RUNNER_TEMP "claude-seo-smoke-profile"),
+ (Join-Path $env:RUNNER_TEMP "claude-seo-smoke-temp")
+ )
+ Remove-Item -Recurse -Force -ErrorAction SilentlyContinue -Path $paths