skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
bxmaximum/bitrix-framework-skills107 installs

bitrix-controllers

Engine\Controller actions for AJAX and routes — naming, autowired params, filter attributes, #[ActionAccess], JSON envelope, render helpers. Use when writing or debugging BX.ajax.runAction endpoints or routed controllers.

How do I install this agent skill?

npx skills add https://github.com/bxmaximum/bitrix-framework-skills --skill bitrix-controllers
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    This skill provides secure coding guidelines and templates for Bitrix Controllers, emphasizing best practices like authentication, CSRF protection, and access control.

  • Socketpass

    No alerts

  • Snykpass

    Risk: LOW · No issues

What does this agent skill do?

Bitrix Controllers

Baseline: main 23.0+ · Verified: main 26.800.0

TaskRead
Files, action names, minimal controller, autowired params, PageNavigationrules/basics.md
Default prefilters, filter attributes, configureActions(), #[ActionAccess], custom filterrules/filters.md
Errors, JSON envelope, response classes, renderView(), scopes, REST v3rules/errors-response.md

Invariants

  • Actions only orchestrate: input → service → Result → data or addErrors(). Services come in as action params (DI canon: bitrix-framework).
  • Filter attributes are Since main 26.250*; on older kernels use configureActions(). Never both for one action (ActionConfigurationException).
  • METHOD_* constants live on ActionFilter\HttpMethod, not on the attribute Attribute\Rule\HttpMethod. Referencing them on the attribute throws while the controller is built, so every action of that controller fails.
  • Rule attributes append to the defaults (Authentication, HttpMethod([GET, POST]), Csrf). Adding #[Authentication] or #[Csrf] again runs the filter twice.
  • With PascalCase files write the controller segment in class case: vendor:module.Post.create. Lower-case post resolves to lib/infrastructure/controller/post.php and fails on Linux. REST lower-cases method names, so a PascalCase controller is unreachable over classic REST (bitrix-rest).
  • HTML (renderView/renderComponent) only in controllers reached by routes; BX.ajax.runAction() expects JSON.

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/bxmaximum/bitrix-framework-skills/bitrix-controllers">View bitrix-controllers on skillZs</a>