edu-designlisted
Install: claude install-skill Severnbli/edu-by-agent
# Site design
Everything here is **site-wide**: a saved template, module, style set or string changes every page that uses it at once. There is no draft. Details: `knowledge/endpoints/design.md`.
## Rules
- **Back up first**: `./edu design export .session/design/export-<date>/design.zip` (read-only, asks the server for the full design archive). The server's export fails now and then (`server error 500`, cause unknown) – retry later or export by hand in the constructor (Утилиты → Экспорт в архив); don't hammer it.
- **Work on copies**, never on live items: copy with a «Редизайн <year>. …» name, change the copy, test it on a hidden section, switch last.
- Show every preview to the user and apply only after their OK (`--yes`; deletes need `--token`).
- Deletes are immediate, no trash. The tool deletes only «Редизайн…» / «Тест…» items unless `--force`; use `--force` only for an item the user named.
- New CSS must not apply in the low-vision mode: scope it under `html:not(.special)` (the mode adds class `special` to `<html>` and its own `!important` colours). A `<style>` in an HTML block is page-wide – scope it under a wrapper class.
- Web fonts can't be uploaded: use an external host (`@import` in a style set) or system fonts.
- A module copy must keep «Язык: Русский» (`CheckBoxListAccess$0=on`) – without it the module renders nothing. `design copy` carries it over; check with `design show`.
- When a copy gets new markup, look at its `Text_Before` / `Text_After` too: leftovers