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
- 01Site and template layout guidance
- 02Page properties, menus, and breadcrumbs
- 03Pagination patterns and safeguards
- 04User field schema and rendering
- 05CSS and asset loading practices
Use cases
- 01Building or adjusting site templates
- 02Adding page navigation to data lists
- 03Defining and displaying user fields
- 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-basicsAfter installing, type/bitrix-cms-basicsin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
rules/page-navigation.mdpages.mdsites-templates.mdstyles.mduser-field-types.mduser-fields.mdDetails
From the project READMECMS basics
Baseline: main 23.0+ · Verified: main 26.800.0
| Task | Read |
|---|---|
Sites, site template layout, #WORK_AREA# | rules/sites-templates.md |
Where CSS goes, Asset::addCss(), CSS merging | rules/styles.md |
Page/directory properties, .section.php, menus, include areas, breadcrumbs, users | rules/pages.md |
Pagination: PageNavigation, reverse/admin variants, bitrix:main.pagenavigation | rules/page-navigation.md |
| User fields: schema, values, public and admin output | rules/user-fields.md |
| Custom UF type, UF render component | rules/user-field-types.md |
| Landing / Sites24 pages | bitrix-landing |
| Mail events and templates | bitrix-mail |
| Files, uploads | bitrix-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(), neverallowAllRecords(true)on large tables. - UF schema only via
CUserTypeEntity;UserFieldTableandUserTableare read-only. - Escape everything a template prints (
htmlspecialcharsbx). - New code:
Asset::addCss()/Extension::load()instead ofSetAdditionalCSS(); D7 tablets (SiteTable,UserTable) for reads.
Comments
Markdown supported