mcpField
B
bitrix-cms-basics

bitrix-cms-basics

github.com/bxmaximumDevelopment47291 installsUpdated 2w ago
Repository

About bitrix-cms-basics

A Bitrix CMS development skill covering sites, templates, pages, pagination, user fields, and styles. It provides implementation rules for common CMS tasks and points to related skills for landing pages, mail, and files.

Key features

  1. 01Site and template layout guidance
  2. 02Page properties, menus, and breadcrumbs
  3. 03Pagination patterns and safeguards
  4. 04User field schema and rendering
  5. 05CSS and asset loading practices

Use cases

  1. 01Building or adjusting site templates
  2. 02Adding page navigation to data lists
  3. 03Defining and displaying user fields
  4. 04Organizing styles and page assets

Install

Copy the command and run it in a terminal.

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

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

Bundled files

References and scripts installed along with SKILL.md.

rules/
page-navigation.md
pages.md
sites-templates.md
styles.md
user-field-types.md
user-fields.md

Details

From the project README

CMS basics

Baseline: main 23.0+ · Verified: main 26.800.0

TaskRead
Sites, site template layout, #WORK_AREA#rules/sites-templates.md
Where CSS goes, Asset::addCss(), CSS mergingrules/styles.md
Page/directory properties, .section.php, menus, include areas, breadcrumbs, usersrules/pages.md
Pagination: PageNavigation, reverse/admin variants, bitrix:main.pagenavigationrules/page-navigation.md
User fields: schema, values, public and admin outputrules/user-fields.md
Custom UF type, UF render componentrules/user-field-types.md
Landing / Sites24 pagesbitrix-landing
Mail events and templatesbitrix-mail
Files, uploadsbitrix-files

Invariants

  • Templates, components and include files live in /local/; kernel templates are overridden by copies, never edited.
  • Pagination: count with the same filter as the data query, set it before initFromUri(), never allowAllRecords(true) on large tables.
  • UF schema only via CUserTypeEntity; UserFieldTable and UserTable are read-only.
  • Escape everything a template prints (htmlspecialcharsbx).
  • New code: Asset::addCss() / Extension::load() instead of SetAdditionalCSS(); D7 tablets (SiteTable, UserTable) for reads.

Comments

Markdown supported