mcpField
B
bitrix-landing

bitrix-landing

github.com/bxmaximumDevelopment47265 installsUpdated 2w ago
Repository

About bitrix-landing

A development skill for Bitrix block-based sites built with the `landing` module, including pages, blocks, publishing, rights, and REST operations. It covers content-specific constraints and directs complex PHP page logic to classic-page components.

Key features

  1. 01Creating sites, pages, and blocks
  2. 02Publishing and preview links
  3. 03Managing hooks and rights
  4. 04Working with REST block repositories
  5. 05Validating links in block content

Use cases

  1. 01Building pages with custom blocks
  2. 02Publishing a page and generating previews
  3. 03Managing page metadata and access rights
  4. 04Handling block content and file operations

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/bxmaximum/bitrix-framework-skills --skill bitrix-landing

After installing, type/bitrix-landingin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

rules/
pages-blocks.md
publish-hooks.md
rest-security.md

Details

From the project README

Landing sites (landing)

Baseline: main 23.0+ · Verified: landing 26.1200.0, main 26.800.0

Block-based sites: Sites24, stores, knowledge bases, Vibe. Classic site templates, menus and includes: bitrix-cms-basics.

TaskRead
Site types, pages, blocks from PHP, custom blocks, URLs in contentrules/pages-blocks.md
Publish, preview links, soft delete, hooks (counters, meta), rightsrules/publish-hooks.md
Repo blocks via REST, PublicAction batch, Disk files, picturesrules/rest-security.md

Invariants

  • Loader::includeModule('landing'); change data through Site / Landing / Block, never SQL on b_landing_*.
  • Own blocks live in /local/blocks/<namespace>/<code>/; never edit /bitrix/blocks/ or the module.
  • Links in block content need an allow-listed scheme, otherwise they are saved as '' without an error (Since landing 26.1000).
  • Methods that write return false/Result and fill $landing->getError(); check them, they rarely throw.
  • Don't subclass landing classes to override protected methods: their signatures change in minor releases.
  • Deep PHP page logic belongs in a component on a classic page (bitrix-components), not in a landing block.

Comments

Markdown supported