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
- 01Creating sites, pages, and blocks
- 02Publishing and preview links
- 03Managing hooks and rights
- 04Working with REST block repositories
- 05Validating links in block content
Use cases
- 01Building pages with custom blocks
- 02Publishing a page and generating previews
- 03Managing page metadata and access rights
- 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-landingAfter installing, type/bitrix-landingin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
rules/pages-blocks.mdpublish-hooks.mdrest-security.mdDetails
From the project READMELanding 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.
| Task | Read |
|---|---|
| Site types, pages, blocks from PHP, custom blocks, URLs in content | rules/pages-blocks.md |
| Publish, preview links, soft delete, hooks (counters, meta), rights | rules/publish-hooks.md |
| Repo blocks via REST, PublicAction batch, Disk files, pictures | rules/rest-security.md |
Invariants
Loader::includeModule('landing'); change data throughSite/Landing/Block, never SQL onb_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/Resultand 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