agentleFS
bxmaximumbxmaximum/bitrix-framework-skills/skills/bitrix-landing/SKILL.md

bitrix-landing

Skill73 starsChanged 25 days agoMITView on GitHub

Модуль landing (Сайты24): Site, Landing, Block, публикация и предпросмотр. Используй для /local/blocks, счётчиков, метаданных и блоков landing.repo REST.

The file

Files
SKILL.md

Сайты Landing (landing)

Baseline: main 23.0+ · Verified: landing 26.1600.0, main 26.1000.0

Перед PHP-кодом прочитай bitrix-framework, если ещё не читал его в этой задаче. По таблице открой только нужный файл правил.

Блочные сайты: Сайты24, магазины, базы знаний, Вайб. Классические шаблоны, меню и включаемые области: bitrix-cms-basics.

ЗадачаЧитать
Типы сайтов, страницы и блоки из PHP, собственные блоки, URL в содержимомrules/pages-blocks.md
Публикация, ссылки предпросмотра, корзина, события счётчиков / метаданных, праваrules/publish-hooks.md
Репозиторные блоки REST, пакет PublicAction, файлы Диска, изображенияrules/rest-security.md

Общие правила

  • Loader::includeModule('landing'); меняй данные через Site / Landing / Block, без SQL в b_landing_*.
  • Свои блоки — в /local/blocks/<namespace>/<code>/; не меняй /bitrix/blocks/ и модуль.
  • Ссылки блока должны иметь разрешённую схему, иначе сохраняются как '' без ошибки (Since landing 26.1000).
  • Методы записи возвращают false/Result, заполняют $landing->getError(): проверяй; исключения редки.
  • Не наследуй классы landing ради переопределения защищённых методов: сигнатуры меняются в минорных версиях.
  • Сложную PHP-логику страницы вынеси в компонент классической страницы (bitrix-components).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.