mcpField
B
bitrix-iblocks

bitrix-iblocks

github.com/bxmaximumDevelopment47298 installsUpdated 2w ago
Repository

About bitrix-iblocks

A Bitrix development skill for working with information blocks, covering their structure, ORM entities, properties, queries, and permissions. It helps developers choose safe APIs and account for platform-specific behavior.

Key features

  1. 01Information block setup and identifiers
  2. 02ORM entity and property guidance
  3. 03Element and section writes
  4. 04Query, SEO, and performance notes
  5. 05Rights and API selection guidance

Use cases

  1. 01Creating or updating information block content
  2. 02Choosing APIs for property-aware ORM work
  3. 03Querying elements with SEO or performance needs

Install

Copy the command and run it in a terminal.

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

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

Bundled files

References and scripts installed along with SKILL.md.

rules/
basics.md
orm-entities.md
properties-sections-elements.md
query-seo-perf.md

Details

From the project README

Information blocks (iblock)

Baseline: main 23.0+ · Verified: iblock 26.0.100, main 26.800.0

TaskRead
IDs, ORM vs classic API, create iblock, storage version, rightsrules/basics.md
Compiled element/section classes, property value model, ORM side effectsrules/orm-entities.md
Properties (list, directory, custom types), section and element writes, CODErules/properties-sections-elements.md
Selections, property filters, SEO values, performancerules/query-seo-perf.md

Invariants

  • Loader::includeModule('iblock'). Property-aware ORM needs the iblock API_CODE: use Element{ApiCode}Table and Model\Section::compileEntityByIblock(), never ElementTable writes (always fail).
  • Structure (type, iblock, property) via CIBlockType/CIBlock/CIBlockProperty. Elements/sections via compiled ORM, or CIBlockElement/CIBlockSection when you need search index, SEO recalculation, rights, workflow or auto CODE.
  • ORM ignores iblock rights: check them yourself, or call CIBlockElement::GetList with CHECK_PERMISSIONS = 'Y' set server-side.
  • Iblock, property and enum IDs differ per environment: resolve by CODE/API_CODE/XML_ID.
  • Directory (HL) properties → bitrix-highloadblock; prices, SKU, stock → bitrix-catalog.

Comments

Markdown supported