mirror of
https://github.com/adobe/skills.git
synced 2026-09-19 08:06:09 +08:00
08a232495f
Detects all languages used on a webpage by combining declared structural signals (html@lang, hreflang alternates, nested lang= attributes, meta content-language) with content-based detection via Google CLD3 (cld3-asm WASM). Reconciles the two signal sets to surface mismatches such as undeclared languages in the body or stale hreflang declarations. Two-script design following the direct playwright-cli pattern used by page-tree and page-reduce: collect.js is a run-code script that extracts signals from the live page, detect.mjs strips the envelope, runs CLD3, and writes langs.json with detected languages, declared signals, and a reconciliation report. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
18 lines
973 B
JSON
18 lines
973 B
JSON
{
|
|
"name": "adobe/web",
|
|
"version": "1.0.0",
|
|
"summary": "Browser automation and web page analysis skills for working with arbitrary sites — probe bot protection, dismiss overlays, capture DOM trees, reduce pages to structural skeletons, and extract page resources. Uses playwright-cli as the single browser layer.",
|
|
"private": false,
|
|
"skills": {
|
|
"cdp-connect": { "path": "skills/cdp-connect/SKILL.md" },
|
|
"cdp-ext-pilot": { "path": "skills/cdp-ext-pilot/SKILL.md" },
|
|
"browser-probe": { "path": "skills/browser-probe/SKILL.md" },
|
|
"page-prep": { "path": "skills/page-prep/SKILL.md" },
|
|
"page-tree": { "path": "skills/page-tree/SKILL.md" },
|
|
"page-reduce": { "path": "skills/page-reduce/SKILL.md" },
|
|
"page-collect": { "path": "skills/page-collect/SKILL.md" },
|
|
"domain-mask": { "path": "skills/domain-mask/SKILL.md" },
|
|
"page-langs": { "path": "skills/page-langs/SKILL.md" }
|
|
}
|
|
}
|