lynx-check-css-support — скилл для Claude Code: как установить
Скилл lynx-check-css-support проверяет поддержку CSS-свойств и значений в движке Lynx по встроенной базе @lynx-js/css-defines без вызовов внешних API.
Apache-2.0 201 установок ★ 28 обновлён 2026-10-24
npx skills add lynx-community/skills --skill lynx-check-css-support -a claude-codeЧто делает lynx-check-css-support
Скилл запускает локальный скрипт query-css-compat.mjs и ищет свойство в зашитой таблице совместимости. Он определяет, с какой версии Lynx свойство появилось на конкретном бэкенде (например, Android или Harmony), доступно ли конкретное значение вроде grid или функция circle(), а также показывает флаги экспериментального статуса.
Данные упакованы внутрь репозитория скилла заранее, поэтому при поиске свойств интернет-трафик не расходуется. Для выполнения запросов в системе должен быть установлен Node.js, иначе запуск скрипта завершится ошибкой.
Команда проверки обновлений --check-updates обращается только к реестру npm за номером свежей версии пакета, но сама базу не перезаписывает. Обновление таблицы совместимости происходит только вместе с новыми релизами самого скилла.
Какие задачи решает
- узнать минимальную версию Lynx для поддержки нужного CSS-свойства
- проверить совместимость стилей под бэкенды Android или Harmony
- выяснить статус поддержки сложных значений вроде
filter: brightness() - проверить актуальность зашитой базы
@lynx-js/css-defines
Примеры запросов агенту
- Проверь, поддерживается ли display: grid в Lynx для Android версии 2.0
- С какой версии Lynx и на каких бэкендах работает свойство filter со значением brightness?
- Проверь актуальность встроенной базы CSS через lynx-check-css-support
Как установить lynx-check-css-support
1Через Skills CLI (Vercel)
npx skills add lynx-community/skills --skill lynx-check-css-support -a claude-code2Вручную: положить файлы
~/.claude/skills/lynx-check-css-support/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/lynx-check-css-support/
1Через Skills CLI (Vercel)
npx skills add lynx-community/skills --skill lynx-check-css-support -a codex2Вручную: положить файлы
.agents/skills/lynx-check-css-support/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add lynx-community/skills --skill lynx-check-css-support -a cursor2Вручную: положить файлы
.cursor/skills/lynx-check-css-support/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install lynx-community/skills skills/lynx-check-css-support2Вручную: положить файлы
.github/skills/lynx-check-css-support/SKILL.md1Через Skills CLI (Vercel)
npx skills add lynx-community/skills --skill lynx-check-css-support -a gemini-cli2Командой платформы
gemini skills install https://github.com/lynx-community/skills --path skills/lynx-check-css-supportВручную: положить файлы
.devin/skills/lynx-check-css-support/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add lynx-community/skills --skill lynx-check-css-support -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о lynx-check-css-support
Как установить lynx-check-css-support в Claude Code?
Выполните в терминале команду npx skills add lynx-community/skills --skill lynx-check-css-support -a claude-code. Файл навыка сохранится по пути ~/.claude/skills/lynx-check-css-support/SKILL.md.
Что делает lynx-check-css-support?
Скилл опрашивает зашитый датасет @lynx-js/css-defines и возвращает статус поддержки CSS-свойств по бэкендам и версиям движка Lynx.
Скачивает ли скилл данные из сети при каждом запросе?
Нет, база свойств зафиксирована внутри скилла и работает офлайн. Сеть запрашивается только при ключе --check-updates, чтобы узнать свежую версию пакета в npm.
Исходный текст
SKILL.md · Apache-2.0
--- name: lynx-check-css-support description: Query @lynx-js/css-defines compat_data to check Lynx CSS property and nested feature/value support by rendering backend and Lynx version, or check whether a newer dataset version exists. Use when asked whether CSS is supported in Lynx or ReactLynx, which backends support it, when support was added, whether a style change is compatible, whether the bundled data is current, or when inspecting the raw definition JSON. --- # Check Lynx CSS Support Use the bundled CLI instead of inferring Lynx support from browser CSS behavior, documentation examples, or TypeScript types. Its data is pinned and bundled when the skill is built, so running a query never downloads or executes packages. Treat this skill as the authority for declared backend/version availability. For questions about how a property behaves, layout semantics, syntax, or usage examples, consult the official Lynx documentation. If a request asks both whether a feature is supported and how it behaves, query support here first, then consult the docs. ## Query support Resolve this skill directory, then run: ```bash node <skill-directory>/scripts/query-css-compat.mjs <property> [options] ``` Query the property's base compatibility across every backend: ```bash node <skill-directory>/scripts/query-css-compat.mjs display ``` Pass the user's backend and Lynx version when provided. Omitting `--backend` returns every backend. `--lynx-version` classifies availability for that target; it does not change the published `version_added` value. ```bash node <skill-directory>/scripts/query-css-compat.mjs display \ --feature grid \ --backend android \ --lynx-version 2.0 ``` Pass nested feature keys exactly as published. They are case-sensitive and may contain punctuation, such as `Flex`, `rotateX`, or `circle()`. If the exact key is unknown, inspect the property's `compat_data` with `--json` before querying the feature. ```bash node <skill-directory>/scripts/query-css-compat.mjs filter \ --feature brightness \ --backend harmony \ --lynx-version 3.5 \ --json ``` ## Report findings Give a concise answer containing: - The property and nested feature/value, if any. - The requested backend and Lynx version, or that all backends were compared. - The resulting `availability` and published `version_added` value or condition. - Any relevant notes, `partial_implementation`, deprecated, or experimental status. - The `@lynx-js/css-defines` version shown by the script. If a definition has no `compat_data`, report that compatibility is unspecified by the dataset. Do not interpret missing compatibility data as unsupported. Never claim backend support from the definition's top-level `version` or a value's `version` field when `compat_data.__compat.support` provides backend-specific evidence. Do not treat declared availability as proof of browser parity or complete runtime behavior. ## Interpret results Treat `version_added` as follows: - A numeric version string is the minimum Lynx version for that backend. - A non-numeric string is a conditional requirement such as a `targetSdkVersion` gate; preserve and report it verbatim. - `true` means supported without a numeric minimum in the dataset. - `false` means unsupported. - `null` means unknown. Treat `availability` as follows: - `available`: supported at the requested version, or supported at some version when no target was supplied. - `requires-newer-version`: supported only after the requested version. - `conditional`: support depends on the non-numeric condition shown in `version_added` and cannot be decided from the Lynx version alone. - `unavailable`: explicitly unsupported. - `unknown`: not established by the dataset. ## Keep data current Report the displayed package version with every compatibility answer. When the user asks whether the data is current, or freshness is important to the task, run: ```bash node <skill-directory>/scripts/query-css-compat.mjs --check-updates ``` Use `--json` when structured output is useful. The check reads only the latest numeric version from the public npm registry. It does not download dataset files, modify the bundled copy, or accept cache overrides. If an update is available, report both versions and recommend updating the skill. Compatibility data changes only through reviewed skill releases that bump the pinned dependency.
© lynx-community · Apache-2.0 · lynx-community/skills