lynx-api-docs
Installation
SKILL.md
Using Lynx API Docs
MUST read the relevant API docs before writing or editing Lynx code. Lynx elements and CSS differ from the Web; do not fill gaps with HTML or browser assumptions.
For repair tasks, diagnose and route each symptom before reading element documentation. For layout, sizing, wrapping, or stacking symptoms, read the CSS differences index first. Do not infer element-prop defects from visual differences alone.
Route the Task
| Task | Read first |
|---|---|
| Generate or edit Lynx CSS; migrate Web HTML/CSS; debug a Lynx/Web style difference | lynx-vs-web/css-differences.md, then only the linked topic files needed for the diagnosed task |
| Check a CSS property, value, unit, or function | css/supported-properties.md and css/values-and-units.md; also check the CSS differences index when Web compatibility matters |
| Write or debug selectors | css/selectors.md and css/pseudo-classes.md |
| Choose or debug a layout | layout/linear-layout.md (default), layout/flex-layout.md, layout/grid-layout.md, or layout/relative-layout.md |
| Use or debug an element | elements/<element-name>.md |
| Apply theming, responsive design, or animation | patterns/theming.md, patterns/responsive.md, or patterns/animation.md |
| Look for a complete example or performance guidance | examples/, quick-reference.md, or best-practices.md as needed |
For CSS work, the differences index is the generation entry point, not only a migration reference. Follow its exact topic links instead of loading the entire documentation bundle.