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
- 01Information block setup and identifiers
- 02ORM entity and property guidance
- 03Element and section writes
- 04Query, SEO, and performance notes
- 05Rights and API selection guidance
Use cases
- 01Creating or updating information block content
- 02Choosing APIs for property-aware ORM work
- 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-iblocksAfter installing, type/bitrix-iblocksin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
rules/basics.mdorm-entities.mdproperties-sections-elements.mdquery-seo-perf.mdDetails
From the project READMEInformation blocks (iblock)
Baseline: main 23.0+ · Verified: iblock 26.0.100, main 26.800.0
| Task | Read |
|---|---|
| IDs, ORM vs classic API, create iblock, storage version, rights | rules/basics.md |
| Compiled element/section classes, property value model, ORM side effects | rules/orm-entities.md |
| Properties (list, directory, custom types), section and element writes, CODE | rules/properties-sections-elements.md |
| Selections, property filters, SEO values, performance | rules/query-seo-perf.md |
Invariants
Loader::includeModule('iblock'). Property-aware ORM needs the iblockAPI_CODE: useElement{ApiCode}TableandModel\Section::compileEntityByIblock(), neverElementTablewrites (always fail).- Structure (type, iblock, property) via
CIBlockType/CIBlock/CIBlockProperty. Elements/sections via compiled ORM, orCIBlockElement/CIBlockSectionwhen you need search index, SEO recalculation, rights, workflow or autoCODE. - ORM ignores iblock rights: check them yourself, or call
CIBlockElement::GetListwithCHECK_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