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-controllersIs 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
| Task | Read |
|---|---|
| Files, action names, minimal controller, autowired params, PageNavigation | rules/basics.md |
Default prefilters, filter attributes, configureActions(), #[ActionAccess], custom filter | rules/filters.md |
Errors, JSON envelope, response classes, renderView(), scopes, REST v3 | rules/errors-response.md |
Invariants
- Actions only orchestrate: input → service →
Result→ data oraddErrors(). 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 onActionFilter\HttpMethod, not on the attributeAttribute\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-casepostresolves tolib/infrastructure/controller/post.phpand 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.
How can the creator link this skill?
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>