bitrix-request-response
Application, Context, HttpRequest (query/post/JSON body), HttpResponse, Json/AjaxJson/Redirect/file responses, cookies, Converter, Uri, UuidGenerator. Use instead of $_GET/$_POST, header(), setcookie() or json_encode().
How do I install this agent skill?
npx skills add https://github.com/bxmaximum/bitrix-framework-skills --skill bitrix-request-responseIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill provides comprehensive guidelines and best practices for using the Bitrix framework's native classes for handling HTTP requests, responses, context, and URIs. It promotes secure coding standards such as avoiding PHP superglobals, implementing secure cookies, and utilizing built-in security filters.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
Application, Context, Request, Response
Baseline: main 23.0+ · Verified: main 26.800.0
| Task | Read |
|---|---|
Application, Context, site, language, session access | rules/application-context.md |
| Reading query, form, headers, cookies, files, JSON body | rules/request.md |
HttpResponse, Json/AjaxJson, redirect, files, cookies, Converter | rules/response.md |
Uri, UuidGenerator | rules/uri-uuid.md |
Invariants
- Request data only via
$this->getRequest()(controllers) orContext::getCurrent()->getRequest(). Never$_GET/$_POST/$_COOKIE/$_SERVER. - Use the getter for the known source (
getQuery/getPost/getHeader/getCookie).get()merges query and form only. - A JSON body is not in
get()/getPost()and is bound to action params only inJsonController:getJsonList()orJsonPayload. - Filtered values (
$request['x']) are not escaped: cast, validate, escape on output. - Output via response objects (
HttpResponse,Engine\Response\*), notheader()/echo json_encode().
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-request-response">View bitrix-request-response on skillZs</a>